Skip to content

Commit

Permalink
Update 5 packages (#595)
Browse files Browse the repository at this point in the history
Co-authored-by: zkamvar <zkamvar@users.noreply.github.com>
  • Loading branch information
carpentries-bot and zkamvar authored Oct 3, 2023
1 parent 01c3c4a commit fa8d765
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 34 deletions.
27 changes: 3 additions & 24 deletions renv/activate.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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()

Expand Down
20 changes: 10 additions & 10 deletions renv/profiles/lesson-requirements/renv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -203,7 +203,7 @@
},
"knitr": {
"Package": "knitr",
"Version": "1.43",
"Version": "1.44",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
Expand All @@ -215,7 +215,7 @@
"xfun",
"yaml"
],
"Hash": "9775eb076713f627c07ce41d8199d8f6"
"Hash": "60885b9f746c9dfaef110d070b5f7dc0"
},
"lifecycle": {
"Package": "lifecycle",
Expand Down Expand Up @@ -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",
Expand All @@ -294,7 +294,7 @@
},
"rmarkdown": {
"Package": "rmarkdown",
"Version": "2.24",
"Version": "2.25",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
Expand All @@ -314,7 +314,7 @@
"xfun",
"yaml"
],
"Hash": "3854c37590717c08c32ec8542a2e0a35"
"Hash": "d65e35823c817f09f4de424fcdfa812a"
},
"sass": {
"Package": "sass",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit fa8d765

Please sign in to comment.