Skip to content

Commit ec827b4

Browse files
authored
rename renv to avoid confusion over name (#1030)
1 parent 4cf2b32 commit ec827b4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

R/bundlePackageRenv.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ snapshotRenvDependencies <- function(bundleDir,
2828
}
2929

3030
parseRenvDependencies <- function(bundleDir, snapshot = FALSE) {
31-
renv <- jsonlite::read_json(renvLockFile(bundleDir))
31+
renvLock <- jsonlite::read_json(renvLockFile(bundleDir))
3232

3333
repos <- setNames(
34-
vapply(renv$R$Repositories, "[[", "URL", FUN.VALUE = character(1)),
35-
vapply(renv$R$Repositories, "[[", "Name", FUN.VALUE = character(1))
34+
vapply(renvLock$R$Repositories, "[[", "URL", FUN.VALUE = character(1)),
35+
vapply(renvLock$R$Repositories, "[[", "Name", FUN.VALUE = character(1))
3636
)
3737
deps <- standardizeRenvPackages(
38-
renv$Packages,
38+
renvLock$Packages,
3939
repos,
4040
biocPackages = biocPackages(bundleDir)
4141
)

0 commit comments

Comments
 (0)