Skip to content

Commit 5bbfaa5

Browse files
authored
Disable auto-upgrades of packages (#62)
To make sure that we are not upgrading dependencies when install the R package itself.
1 parent d37fa8f commit 5bbfaa5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

template.Rmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ remotes::install_local(
2828
params$pkg_dir,
2929
force = TRUE,
3030
quiet = TRUE,
31-
INSTALL_opts = "--with-keep.source"
31+
INSTALL_opts = "--with-keep.source",
32+
upgrade = "never"
3233
)
3334
library(magrittr)
3435
library(knitr)

0 commit comments

Comments
 (0)