Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vendor renv once more #236

Merged
merged 4 commits into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R/pin-read-write.R
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ renv_report_actions <- function(current, model) {
lhs <- renv$renv_records(current)
rhs <- renv$renv_records(model)
renv$renv_pretty_print_records_pair(
"The following package(s) do not match your model:",
lhs[names(lhs) %in% names(diff)],
rhs[names(rhs) %in% names(diff)],
"The following package(s) do not match your model:",
"Consider installing the same versions that your model was trained with."
)

Expand Down
11 changes: 7 additions & 4 deletions R/renv.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

#
# renv 0.17.3-88: A dependency management toolkit for R.
# Generated using `renv:::vendor()` at 2023-06-21 15:03:31.
# renv 1.0.1.9000 [rstudio/renv#9f4cbe1]: A dependency management toolkit for R.
# Generated using `renv:::vendor()` at 2023-08-14 12:25:04.
#


Expand Down Expand Up @@ -67,8 +67,11 @@ renv$initialize <- function() {
script <- system.file("vendor/renv.R", package = .packageName)
sys.source(script, envir = renv)

# set up metadata environment
renv$the$metadata <- as.environment(list(embedded = TRUE, version = "0.17.3-87", sha = "2a3bfaaca7113c91d2b2e5da67371fb820fab075"))
# initialize metadata
renv$the$metadata <- list(
embedded = TRUE,
version = structure("1.0.1.9000", sha = "9f4cbe1e1024a31a9fc0601d3cd4e44edb86b728")
)

# run our load / attach hooks so internal state is initialized
renv$renv_zzz_load()
Expand Down
Loading