The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
The renv lock comparison workflow compares two renv lock files,
identifies package version differences, runs
compare_package_versions for each changed package, and
produces a risk assessment report with dependency and function
changes.
Source the comparison script and run it. Uses defaults when called
with no arguments (lock files from package, output to
tempdir()):
source(system.file("script/compare_renv_lock.R", package = "whatsnew"))
compare_renv_lock_files() # Uses default lock files and tempdir() for output
# Or with explicit paths:
compare_renv_lock_files(
lock_old = system.file("env/renv_Rforsub_old.lock", package = "whatsnew"),
lock_new = system.file("env/renv_Rforsub.lock", package = "whatsnew"),
result_path = tempdir()
)Note: compare_renv_lock_files() downloads package
metadata from CRAN via compare_package_versions(). Run the
above in an interactive session when network access is
available.
Below is an example report generated from the lock files shipped with the package:
Generated: 2026-03-23 15:11:14
name version_old version_new
19 cli 3.6.2 3.6.3 36 dplyr 1.1.3 1.1.4 103 purrr 1.0.1 1.0.2 123 rlang 1.1.3 1.1.4
Dependency risks:
Function risks:
Imports:
Functions (Added) with params:
stop_invalid_namespaced_expression(expr, i, call)
rethrow_error_join_matches_overflow(cnd, call)
Functions (Modified) - params changed:
Actions: - Depends changed: may require environment updates.
Dependency risks:
Depends_modified [low-medium]: R: >= 3.4.0 -> >= 3.5.0 — Cascading update; run compare on those packages.
Imports_modified [low-medium]: cli: >= 3.4.0 -> >= 3.6.1, rlang: >= 0.4.10 -> >= 1.1.1, vctrs: >= 0.5.0 -> >= 0.6.3 — Cascading update; run compare on those packages.
Function risks:
Depends:
Imports:
Functions (Added) with params:
Function risks:
Functions (Added) with params:
dyn_lgl_push_back(x, value)
dyn_int_push_back(x, value)
dyn_dbl_push_back(x, value)
dyn_cpl_push_back(x, value)
dyn_raw_push_back(x, value)
dyn_chr_push_back(x, value)
dyn_list_push_back(x, value)
The comparison writes to
result_path/renv_lock_comparison/:
report.md – full Markdown report (shown above)risk_report.json – structured risk assessmentpackage_reports/*.qmd – QMD file per packagejson/*.json – full diff JSON per packageThese binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.