You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug renv::restore() is not usable in un-interactive mode.
To Reproduce
1 - setwd("a_folder")
2 - put renv.lock in a_folder
> renv::restore()
It looks like you've called renv::restore() in a project that hasn't been activated yet
How would you like to proceed?
1: Activate the project and use the project library.
2: Do not activate the project and use the current library paths.
3: Cancel and resolve the situation another way.
SOLUTION
renv::restore(project = ".",prompt = FALSE) session info
R version 4.3.1 (2023-06-16)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 22.04.2 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so; LAPACK version 3.10.0
Describe the bug
renv::restore()
is not usable in un-interactive mode.To Reproduce
1 - setwd("a_folder")
2 - put renv.lock in a_folder
SOLUTION
renv::restore(project = ".",prompt = FALSE)
session info
R version 4.3.1 (2023-06-16)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 22.04.2 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so; LAPACK version 3.10.0
locale:
[1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8
[4] LC_COLLATE=C.UTF-8 LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8
[7] LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C
time zone: Etc/UTC
tzcode source: system (glibc)
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] wootwoot3_0.0.0.9000
loaded via a namespace (and not attached):
[1] config_0.3.1 utf8_1.2.3 renv_1.0.0
[4] xml2_1.3.4 stringi_1.7.12 attachment_0.4.0.9099
[7] digest_0.6.32 magrittr_2.0.3 attempt_0.3.1
[10] golem_0.4.12 pkgload_1.3.2 fastmap_1.1.1
[13] rprojroot_2.0.3 jsonlite_1.8.5 processx_3.8.1
[16] pkgbuild_1.4.2 sessioninfo_1.2.2 brio_1.1.3
[19] urlchecker_1.0.1 ps_1.7.5 promises_1.2.0.1
[22] fansi_1.0.4 purrr_1.0.1 cli_3.6.1
[25] shiny_1.7.4 rlang_1.1.1 crayon_1.5.2
[28] gitcreds_0.1.2 pak_0.5.1 ellipsis_0.3.2
[31] withr_2.5.0 remotes_2.4.2 cachem_1.0.8
[34] yaml_2.3.7 devtools_2.4.5 tools_4.3.1
[37] memoise_2.0.1 httpuv_1.6.11 vctrs_0.6.3
[40] R6_2.5.1 mime_0.12 lifecycle_1.0.3
[43] stringr_1.5.0 fs_1.6.2 htmlwidgets_1.6.2
[46] usethis_2.2.1 miniUI_0.1.1.1 pkgconfig_2.0.3
[49] desc_1.4.2 callr_3.7.3 pillar_1.9.0
[52] later_1.3.1 glue_1.6.2 profvis_0.3.8
[55] Rcpp_1.0.10 xfun_0.39 tibble_3.2.1
[58] rstudioapi_0.14 knitr_1.43 xtable_1.8-4
[61] dockerfiler_0.2.1 htmltools_0.5.5 testthat_3.1.9
[64] compiler_4.3.1 prettyunits_1.1.1 roxygen2_7.2.3
The text was updated successfully, but these errors were encountered: