Skip to content

Commit

Permalink
[actions] update 6 packages
Browse files Browse the repository at this point in the history
  • Loading branch information
zkamvar authored Oct 3, 2023
1 parent 62c1860 commit 8d5ba41
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 39 deletions.
29 changes: 4 additions & 25 deletions renv/activate.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
local({

# the requested version of renv
version <- "1.0.2.9000"
attr(version, "sha") <- "07d800d98f4b286db3844540d485c1c81791e510"
version <- "1.0.3.9000"
attr(version, "sha") <- "000c03062617bfe2891fbb359ad5cf6d6f00e70d"

# the project directory
project <- getwd()
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
28 changes: 14 additions & 14 deletions renv/profiles/lesson-requirements/renv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,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 @@ -263,7 +263,7 @@
},
"knitr": {
"Package": "knitr",
"Version": "1.43",
"Version": "1.44",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
Expand All @@ -275,7 +275,7 @@
"xfun",
"yaml"
],
"Hash": "9775eb076713f627c07ce41d8199d8f6"
"Hash": "60885b9f746c9dfaef110d070b5f7dc0"
},
"later": {
"Package": "later",
Expand Down Expand Up @@ -360,18 +360,18 @@
},
"renv": {
"Package": "renv",
"Version": "1.0.2.9000",
"Version": "1.0.3.9000",
"Source": "GitHub",
"RemoteType": "github",
"RemoteUsername": "rstudio",
"RemoteRepo": "renv",
"RemoteRef": "HEAD",
"RemoteSha": "07d800d98f4b286db3844540d485c1c81791e510",
"RemoteSha": "000c03062617bfe2891fbb359ad5cf6d6f00e70d",
"RemoteHost": "api.github.com",
"Requirements": [
"utils"
],
"Hash": "773dfd7a15490c5cf9e178f941399a75"
"Hash": "e7714f93b679701641792b5deef3f74b"
},
"rlang": {
"Package": "rlang",
Expand All @@ -386,7 +386,7 @@
},
"rmarkdown": {
"Package": "rmarkdown",
"Version": "2.24",
"Version": "2.25",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
Expand All @@ -406,7 +406,7 @@
"xfun",
"yaml"
],
"Hash": "3854c37590717c08c32ec8542a2e0a35"
"Hash": "d65e35823c817f09f4de424fcdfa812a"
},
"sass": {
"Package": "sass",
Expand Down Expand Up @@ -515,13 +515,13 @@
},
"tinytex": {
"Package": "tinytex",
"Version": "0.46",
"Version": "0.47",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
"xfun"
],
"Hash": "0c41a73214d982f539c56a7773c7afa5"
"Hash": "8d4ccb733843e513c1c1cdd66a759f0d"
},
"vctrs": {
"Package": "vctrs",
Expand All @@ -539,16 +539,16 @@
},
"withr": {
"Package": "withr",
"Version": "2.5.0",
"Version": "2.5.1",
"Source": "Repository",
"Repository": "RSPM",
"Repository": "CRAN",
"Requirements": [
"R",
"grDevices",
"graphics",
"stats"
],
"Hash": "c0e49a9760983e81e55cdd9be92e7182"
"Hash": "d77c6f74be05c33164e33fbc85540cae"
},
"xfun": {
"Package": "xfun",
Expand Down

0 comments on commit 8d5ba41

Please sign in to comment.