From fa8d76554adedd6bf45f8db72f2e14e7c2593f52 Mon Sep 17 00:00:00 2001 From: "The Carpentries Apprentice (beta)" <64428345+carpentries-bot@users.noreply.github.com> Date: Tue, 3 Oct 2023 06:57:26 -0400 Subject: [PATCH] Update 5 packages (#595) Co-authored-by: zkamvar --- renv/activate.R | 27 +++------------------ renv/profiles/lesson-requirements/renv.lock | 20 +++++++-------- 2 files changed, 13 insertions(+), 34 deletions(-) diff --git a/renv/activate.R b/renv/activate.R index 2969c732..cb5401f9 100644 --- a/renv/activate.R +++ b/renv/activate.R @@ -2,7 +2,7 @@ local({ # the requested version of renv - version <- "1.0.2" + version <- "1.0.3" attr(version, "sha") <- NULL # the project directory @@ -1034,19 +1034,6 @@ local({ } - - renv_bootstrap_in_rstudio <- function() { - commandArgs()[[1]] == "RStudio" - } - - # Used to work around buglet in RStudio if hook uses readline - renv_bootstrap_flush_console <- function() { - tryCatch({ - tools <- as.environment("tools:rstudio") - tools$.rs.api.sendToConsole("", echo = FALSE, focus = FALSE) - }, error = function(cnd) {}) - } - renv_json_read <- function(file = NULL, text = NULL) { jlerr <- NULL @@ -1185,16 +1172,8 @@ local({ # construct full libpath libpath <- file.path(root, prefix) - if (renv_bootstrap_in_rstudio()) { - # RStudio only updates console once .Rprofile is finished, so - # instead run code on sessionInit - setHook("rstudio.sessionInit", function(...) { - renv_bootstrap_exec(project, libpath, version) - renv_bootstrap_flush_console() - }) - } else { - renv_bootstrap_exec(project, libpath, version) - } + # run bootstrap code + renv_bootstrap_exec(project, libpath, version) invisible() diff --git a/renv/profiles/lesson-requirements/renv.lock b/renv/profiles/lesson-requirements/renv.lock index 7feea9e2..6b80697a 100644 --- a/renv/profiles/lesson-requirements/renv.lock +++ b/renv/profiles/lesson-requirements/renv.lock @@ -103,14 +103,14 @@ }, "evaluate": { "Package": "evaluate", - "Version": "0.21", + "Version": "0.22", "Source": "Repository", "Repository": "CRAN", "Requirements": [ "R", "methods" ], - "Hash": "d59f3b464e8da1aef82dc04b588b8dfb" + "Hash": "66f39c7a21e03c4dcb2c2d21d738d603" }, "fastmap": { "Package": "fastmap", @@ -203,7 +203,7 @@ }, "knitr": { "Package": "knitr", - "Version": "1.43", + "Version": "1.44", "Source": "Repository", "Repository": "CRAN", "Requirements": [ @@ -215,7 +215,7 @@ "xfun", "yaml" ], - "Hash": "9775eb076713f627c07ce41d8199d8f6" + "Hash": "60885b9f746c9dfaef110d070b5f7dc0" }, "lifecycle": { "Package": "lifecycle", @@ -273,13 +273,13 @@ }, "renv": { "Package": "renv", - "Version": "1.0.2", + "Version": "1.0.3", "Source": "Repository", "Repository": "CRAN", "Requirements": [ "utils" ], - "Hash": "4b22ac016fe54028b88d0c68badbd061" + "Hash": "41b847654f567341725473431dd0d5ab" }, "rlang": { "Package": "rlang", @@ -294,7 +294,7 @@ }, "rmarkdown": { "Package": "rmarkdown", - "Version": "2.24", + "Version": "2.25", "Source": "Repository", "Repository": "CRAN", "Requirements": [ @@ -314,7 +314,7 @@ "xfun", "yaml" ], - "Hash": "3854c37590717c08c32ec8542a2e0a35" + "Hash": "d65e35823c817f09f4de424fcdfa812a" }, "sass": { "Package": "sass", @@ -362,13 +362,13 @@ }, "tinytex": { "Package": "tinytex", - "Version": "0.46", + "Version": "0.47", "Source": "Repository", "Repository": "CRAN", "Requirements": [ "xfun" ], - "Hash": "0c41a73214d982f539c56a7773c7afa5" + "Hash": "8d4ccb733843e513c1c1cdd66a759f0d" }, "vctrs": { "Package": "vctrs",