You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To resolve #1869, I upgraded to the development version of renv (1.0.5.9000). Some GitHub Actions using renv are now failing with an error:
2024-04-08T16:38:43.0699010Z Error in heredoc("\n renv %1$s was loaded from project library, but this project is configured to use renv %2$s.\n - Use `renv::record(\"%3$s\")` to record renv %1$s in the lockfile.\n - Use `renv::restore(packages = \"renv\")` to install renv %2$s into the project library.\n ") :
2024-04-08T16:38:43.0784300Z could not find function "heredoc"
2024-04-08T16:38:43.0788230Z Calls: source ... renv_bootstrap_load -> renv_bootstrap_validate_version
2024-04-08T16:38:43.0789610Z Execution halted
2024-04-08T16:38:43.0813430Z ##[error]Process completed with exit code 1.
This appears to be occurring because renv is not loaded when renv_bootstrap_validate_version() is called from renv/activate.R. I was unable to reproduce the issue locally, but it is reliably failing for my missing-deps.yaml and lint.yaml actions.
The text was updated successfully, but these errors were encountered:
Looking through the logs, it seems that calling renv::install() seems to trigger the issue. Running install() is unexpectedly installing renv (and knitr) even though both are already installed.
To resolve #1869, I upgraded to the development version of renv (1.0.5.9000). Some GitHub Actions using renv are now failing with an error:
(see jabenninghoff/rdev#197 for full details)
This appears to be occurring because renv is not loaded when
renv_bootstrap_validate_version()
is called fromrenv/activate.R
. I was unable to reproduce the issue locally, but it is reliably failing for mymissing-deps.yaml
andlint.yaml
actions.The text was updated successfully, but these errors were encountered: