Skip to content

Commit 7729a33

Browse files
Merge pull request #603 from lorenzwalthert/hook-dependencies-update
Hook dependencies update
2 parents 9525a2e + 83f6454 commit 7729a33

File tree

2 files changed

+14
-16
lines changed

2 files changed

+14
-16
lines changed

renv.lock

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"R": {
3-
"Version": "4.4.1",
3+
"Version": "4.4.2",
44
"Repositories": [
55
{
66
"Name": "RSPM",
7-
"URL": "https://packagemanager.posit.co/cran/2024-10-11"
7+
"URL": "https://packagemanager.posit.co/cran/2024-10-29"
88
}
99
]
1010
},
@@ -349,7 +349,7 @@
349349
},
350350
"pkgbuild": {
351351
"Package": "pkgbuild",
352-
"Version": "1.4.4",
352+
"Version": "1.4.5",
353353
"Source": "Repository",
354354
"Repository": "RSPM",
355355
"Requirements": [
@@ -360,7 +360,7 @@
360360
"desc",
361361
"processx"
362362
],
363-
"Hash": "a29e8e134a460a01e0ca67a4763c595b"
363+
"Hash": "30eaaab94db72652e72e3475c1b55278"
364364
},
365365
"pkgload": {
366366
"Package": "pkgload",
@@ -399,14 +399,14 @@
399399
},
400400
"ps": {
401401
"Package": "ps",
402-
"Version": "1.8.0",
402+
"Version": "1.8.1",
403403
"Source": "Repository",
404404
"Repository": "RSPM",
405405
"Requirements": [
406406
"R",
407407
"utils"
408408
],
409-
"Hash": "4b9c8485b0c7eecdf0a9ba5132a45576"
409+
"Hash": "b4404b1de13758dea1c0484ad0d48563"
410410
},
411411
"purrr": {
412412
"Package": "purrr",
@@ -439,13 +439,13 @@
439439
},
440440
"renv": {
441441
"Package": "renv",
442-
"Version": "1.0.10",
442+
"Version": "1.0.11",
443443
"Source": "Repository",
444444
"Repository": "RSPM",
445445
"Requirements": [
446446
"utils"
447447
],
448-
"Hash": "d0387d5687ec933dd7587efd4cfa2d85"
448+
"Hash": "47623f66b4e80b3b0587bc5d7b309888"
449449
},
450450
"rex": {
451451
"Package": "rex",
@@ -582,15 +582,15 @@
582582
},
583583
"withr": {
584584
"Package": "withr",
585-
"Version": "3.0.1",
585+
"Version": "3.0.2",
586586
"Source": "Repository",
587587
"Repository": "RSPM",
588588
"Requirements": [
589589
"R",
590590
"grDevices",
591591
"graphics"
592592
],
593-
"Hash": "07909200e8bbe90426fbfeb73e1e27aa"
593+
"Hash": "cc2d62c76458d425210d1eb1478b30b4"
594594
},
595595
"xfun": {
596596
"Package": "xfun",

renv/activate.R

+4-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
local({
33

44
# the requested version of renv
5-
version <- "1.0.10"
5+
version <- "1.0.11"
66
attr(version, "sha") <- NULL
77

88
# the project directory
@@ -368,8 +368,7 @@ local({
368368
quiet = TRUE
369369
)
370370

371-
if ("headers" %in% names(formals(utils::download.file)))
372-
{
371+
if ("headers" %in% names(formals(utils::download.file))) {
373372
headers <- renv_bootstrap_download_custom_headers(url)
374373
if (length(headers) && is.character(headers))
375374
args$headers <- headers
@@ -457,9 +456,8 @@ local({
457456

458457
# add custom headers if available -- note that
459458
# utils::available.packages() will pass this to download.file()
460-
if ("headers" %in% names(formals(utils::download.file)))
461-
{
462-
headers <- renv_bootstrap_download_custom_headers(url)
459+
if ("headers" %in% names(formals(utils::download.file))) {
460+
headers <- renv_bootstrap_download_custom_headers(repos)
463461
if (length(headers) && is.character(headers))
464462
args$headers <- headers
465463
}

0 commit comments

Comments
 (0)