diff --git a/renv/activate.R b/renv/activate.R index b9191f3..15a85bb 100644 --- a/renv/activate.R +++ b/renv/activate.R @@ -2,8 +2,8 @@ local({ # the requested version of renv - version <- "1.2.4" - attr(version, "md5") <- "d5a3bd382107712f897630627794f81a" + version <- "1.3.0" + attr(version, "md5") <- "47c9e9df3aa6bd1c2f0be992b05279e2" attr(version, "sha") <- NULL # the project directory @@ -716,6 +716,18 @@ local({ # (512 byte) header. renv_bootstrap_git_extract_sha1_tar <- function(bundle) { + tryCatch( + renv_bootstrap_git_extract_sha1_tar_impl(bundle), + error = function(cnd) { + catf("- Failed to extract the Git SHA from '%s': %s", bundle, conditionMessage(cnd)) + NULL + } + ) + + } + + renv_bootstrap_git_extract_sha1_tar_impl <- function(bundle) { + # open the bundle for reading # We use gzcon for everything because (from ?gzcon) # > Reading from a connection which does not supply a 'gzip' magic @@ -734,6 +746,7 @@ local({ } else { NULL } + } renv_bootstrap_install <- function(version, tarball, library) { diff --git a/renv/profiles/lesson-requirements/renv.lock b/renv/profiles/lesson-requirements/renv.lock index d9fc147..a9aa2c8 100644 --- a/renv/profiles/lesson-requirements/renv.lock +++ b/renv/profiles/lesson-requirements/renv.lock @@ -19,7 +19,7 @@ "Packages": { "renv": { "Package": "renv", - "Version": "1.2.4", + "Version": "1.3.0", "Source": "Repository", "Type": "Package", "Title": "Project Environments", @@ -48,6 +48,7 @@ "modules", "packrat", "pak", + "pkgload", "R6", "remotes", "reticulate",