when i deploy my application on Rstudio it give me this error message about lifecycle : any help !
The following error(s) occurred while retrieving 'rlang':
- character(0)
The following error(s) occurred while retrieving 'lifecycle':
- character(0)
1: failed to retrieve package 'lifecycle'
2: internal error: unexpected status code 'structure(list(message = "failed to retrieve package 'lifecycle'", call = NULL, traceback = c("Traceback (most recent calls last):", "23: renv::restore()", "22: renv_restore_run_actions(project, diff, current, lockfile, rebuild)", "21: renv_retrieve(packages)", "20: handler(package, renv_retrieve_impl(package))", "19: renv_retrieve_impl(package)", "18: renv_retrieve_repos(record)", "17: catch(withCallingHandlers(method(record), renv.retrieve.error = function(error) {", " errors$push(error)", " }))", "16: tryCatch(withCallingHandlers(expr, error = renv_error_capture), ", " error = renv_error_tag)", "15: tryCatchList(expr, classes, parentenv, handlers)", "14: tryCatchOne(expr, names, parentenv, handlers[[1L]])", "13: doTryCatch(return(expr), name, parentenv, handler)", "12: withCallingHandlers(expr, error = renv_error_capture)", "11: withCallingHandlers(method(record), renv.retrieve.error = function(error) {", " errors$push [... truncated]
02/21/2023, 12:16:57 AM - >
i found this message is shown when renv try to install via renv::install:
#renv::install("cli@3.6.0")
#renv::install("rlang@1.0.6")
#renv::install("lifecycle_1.0.3")
but i'm installing trough :
install.packages("https://cloud.r-project.org/src/contrib/cli_3.6.0.tar.gz", repo=NULL, type="source")
install.packages("https://cloud.r-project.org/src/contrib/rlang_1.0.6.tar.gz", repo=NULL, type="source")
install.packages("https://cloud.r-project.org/src/contrib/lifecycle_1.0.3.tar.gz", repo=NULL, type="source")
i add this option :
options(renv.config.rspm.enabled = FALSE)
> renv::diagnostics()
Diagnostics Report -- renv [0.12.5]
===================================
# Session Info =======================
R version 4.0.3 (2020-10-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.2 LTS
Matrix products: default
BLAS/LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.8.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=C
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices datasets utils methods base
other attached packages:
[1] httr_1.4.2 rsmartsheet_1.0.1 writexl_1.3.1
[4] DT_0.17 shinybusy_0.2.2 shinyjs_2.0.0
[7] shinythemes_1.2.0 shinycssloaders_1.0.0 shinyWidgets_0.5.7
[10] shiny_1.6.0
loaded via a namespace (and not attached):
[1] Rcpp_1.0.6 jquerylib_0.1.3 bslib_0.2.4 compiler_4.0.3
[5] later_1.1.0.1 remotes_2.2.0 tools_4.0.3 digest_0.6.27
[9] evaluate_0.14 jsonlite_1.7.2 lifecycle_1.0.3 rlang_1.0.6
[13] cli_2.3.0 crosstalk_1.1.1 curl_4.3 yaml_2.2.1
[17] xfun_0.21 fastmap_1.1.0 knitr_1.31 withr_2.4.1
[21] stringr_1.4.0 sass_0.3.1 htmlwidgets_1.5.3 glue_1.4.2
[25] R6_2.5.0 rmarkdown_2.6 magrittr_2.0.1 promises_1.2.0.1
[29] ellipsis_0.3.1 htmltools_0.5.1.1 assertthat_0.2.1 mime_0.10
[33] xtable_1.8-4 renv_0.12.5 httpuv_1.5.5 stringi_1.5.3
[37] cachem_1.0.4 markdown_1.1
# Project ============================
Project path: "~/work/app"
# Status =============================
* The project is already synchronized with the lockfile.
# Packages ===========================
Library Source Lockfile Source Path Dependency
BH 1.75.0-0 RSPM 1.75.0-0 RSPM [1] indirect
DT 0.17 RSPM 0.17 RSPM [1] direct
KernSmooth 2.23-17 CRAN <NA> <NA> [2] <NA>
MASS 7.3-53 CRAN <NA> <NA> [2] <NA>
Matrix 1.2-18 CRAN <NA> <NA> [2] <NA>
R6 2.5.0 RSPM 2.5.0 RSPM [1] indirect
Rcpp 1.0.6 RSPM 1.0.6 RSPM [1] indirect
askpass 1.1 RSPM 1.1 RSPM [1] indirect
assertthat 0.2.1 RSPM <NA> <NA> [1] <NA>
base64enc 0.1-3 RSPM 0.1-3 RSPM [1] indirect
boot 1.3-25 CRAN <NA> <NA> [2] <NA>
bslib 0.2.4 RSPM 0.2.4 RSPM [1] indirect
cachem 1.0.4 RSPM 1.0.4 RSPM [1] indirect
class 7.3-17 CRAN <NA> <NA> [2] <NA>
cli 3.6.0 CRAN 3.6.0 CRAN [1] indirect
clipr 0.7.1 RSPM 0.7.1 RSPM [1] indirect
cluster 2.1.0 CRAN <NA> <NA> [2] <NA>
codetools 0.2-16 CRAN <NA> <NA> [2] <NA>
commonmark 1.7 RSPM 1.7 RSPM [1] indirect
cpp11 0.2.6 RSPM 0.2.6 RSPM [1] indirect
crayon 1.4.1 RSPM 1.4.1 RSPM [1] indirect
crosstalk 1.1.1 RSPM 1.1.1 RSPM [1] indirect
curl 4.3 RSPM 4.3 RSPM [1] indirect
digest 0.6.27 RSPM 0.6.27 RSPM [1] indirect
dplyr 1.0.4 RSPM 1.0.4 RSPM [1] indirect
ellipsis 0.3.1 RSPM 0.3.1 RSPM [1] indirect
evaluate 0.14 RSPM 0.14 RSPM [1] indirect
fansi 0.4.2 RSPM 0.4.2 RSPM [1] indirect
fastmap 1.1.0 RSPM 1.1.0 RSPM [1] indirect
foreign 0.8-80 CRAN <NA> <NA> [2] <NA>
fs 1.5.0 RSPM 1.5.0 RSPM [1] indirect
generics 0.1.0 RSPM 0.1.0 RSPM [1] indirect
glue 1.4.2 RSPM 1.4.2 RSPM [1] indirect
grDevices <NA> <NA> <NA> <NA> [2] indirect
graphics <NA> <NA> <NA> <NA> [2] indirect
highr 0.8 RSPM 0.8 RSPM [1] indirect
hms 1.0.0 RSPM 1.0.0 RSPM [1] indirect
htmltools 0.5.1.1 RSPM 0.5.1.1 RSPM [1] indirect
htmlwidgets 1.5.3 RSPM 1.5.3 RSPM [1] indirect
httpuv 1.5.5 RSPM 1.5.5 RSPM [1] indirect
httr 1.4.2 RSPM 1.4.2 RSPM [1] direct
jquerylib 0.1.3 RSPM 0.1.3 RSPM [1] indirect
jsonlite 1.7.2 RSPM 1.7.2 RSPM [1] direct
knitr 1.31 RSPM 1.31 RSPM [1] indirect
later 1.1.0.1 RSPM 1.1.0.1 RSPM [1] indirect
lattice 0.20-41 CRAN <NA> <NA> [2] <NA>
lazyeval 0.2.2 RSPM 0.2.2 RSPM [1] indirect
lifecycle 1.0.3 CRAN 1.0.3 CRAN [1] indirect
magrittr 2.0.1 RSPM 2.0.1 RSPM [1] indirect
markdown 1.1 RSPM 1.1 RSPM [1] indirect
methods <NA> <NA> <NA> <NA> [2] indirect
mgcv 1.8-33 CRAN <NA> <NA> [2] <NA>
mime 0.10 RSPM 0.10 RSPM [1] indirect
nlme 3.1-149 CRAN <NA> <NA> [2] <NA>
nnet 7.3-14 CRAN <NA> <NA> [2] <NA>
openssl 1.4.3 RSPM 1.4.3 RSPM [1] indirect
pillar 1.4.7 RSPM 1.4.7 RSPM [1] indirect
pkgconfig 2.0.3 RSPM 2.0.3 RSPM [1] indirect
promises 1.2.0.1 RSPM 1.2.0.1 RSPM [1] indirect
purrr 0.3.4 RSPM 0.3.4 RSPM [1] indirect
rappdirs 0.3.3 RSPM 0.3.3 RSPM [1] indirect
readr 1.4.0 RSPM 1.4.0 RSPM [1] indirect
remotes 2.2.0 RSPM 2.2.0 RSPM [1] direct
renv 0.12.5 RSPM 0.12.5 RSPM [1] direct
rlang 1.0.6 CRAN 1.0.6 CRAN [1] indirect
rmarkdown 2.6 RSPM 2.6 RSPM [1] direct
rpart 4.1-15 CRAN <NA> <NA> [2] <NA>
rsmartsheet 1.0.1 GitHub 1.0.1 GitHub [1] direct
sass 0.3.1 RSPM 0.3.1 RSPM [1] indirect
shiny 1.6.0 RSPM 1.6.0 RSPM [1] direct
shinyWidgets 0.5.7 RSPM 0.5.7 RSPM [1] direct
shinybusy 0.2.2 RSPM 0.2.2 RSPM [1] direct
shinycssloaders 1.0.0 RSPM 1.0.0 RSPM [1] direct
shinyjs 2.0.0 RSPM 2.0.0 RSPM [1] direct
shinythemes 1.2.0 RSPM 1.2.0 RSPM [1] direct
sourcetools 0.1.7 RSPM 0.1.7 RSPM [1] indirect
spatial 7.3-12 CRAN <NA> <NA> [2] <NA>
stats <NA> <NA> <NA> <NA> [2] indirect
stringi 1.5.3 RSPM 1.5.3 RSPM [1] indirect
stringr 1.4.0 RSPM 1.4.0 RSPM [1] indirect
survival 3.2-7 CRAN <NA> <NA> [2] <NA>
sys 3.4 RSPM 3.4 RSPM [1] indirect
tibble 3.0.6 RSPM 3.0.6 RSPM [1] indirect
tidyr 1.1.2 RSPM 1.1.2 RSPM [1] indirect
tidyselect 1.1.0 RSPM 1.1.0 RSPM [1] indirect
tinytex 0.29 RSPM 0.29 RSPM [1] indirect
tools <NA> <NA> <NA> <NA> [2] indirect
utf8 1.1.4 RSPM 1.1.4 RSPM [1] indirect
utils <NA> <NA> <NA> <NA> [2] indirect
vctrs 0.3.6 RSPM 0.3.6 RSPM [1] indirect
withr 2.4.1 RSPM 2.4.1 RSPM [1] indirect
writexl 1.3.1 RSPM 1.3.1 RSPM [1] direct
xfun 0.21 RSPM 0.21 RSPM [1] indirect
xtable 1.8-4 RSPM 1.8-4 RSPM [1] indirect
yaml 2.2.1 RSPM 2.2.1 RSPM [1] indirect
[1]: /home/rstudio/work/sut-database-app/renv/library/R-4.0/x86_64-pc-linux-gnu
[2]: /tmp/RtmpA4q8pt/renv-system-library
# User Profile =======================
[no user profile detected]
# Settings ===========================
List of 7
$ external.libraries : chr(0)
$ ignored.packages : chr(0)
$ package.dependency.fields: chr [1:3] "Imports" "Depends" "LinkingTo"
$ r.version : chr(0)
$ snapshot.type : chr "implicit"
$ use.cache : logi TRUE
$ vcs.ignore.library : logi TRUE
# Options ============================
List of 3
$ renv.consent : logi TRUE
$ renv.config.rspm.enabled: logi FALSE
$ renv.verbose : logi TRUE
# Environment Variables ==============
HOME = /home/rstudio
LANG = en_US.UTF-8
R_LIBS = /usr/local/lib/R/site-library:/usr/local/lib/R/library
R_LIBS_SITE =
R_LIBS_USER = /home/rstudio/work/sut-database-app/renv/library/R-4.0/x86_64-pc-linux-gnu:/tmp/Rtmp5V02rs/renv-system-library
RENV_CONFIG_USER_PROFILE = FALSE
RENV_DEFAULT_R_ENVIRON = <NA>
RENV_DEFAULT_R_ENVIRON_USER = <NA>
RENV_DEFAULT_R_LIBS = /usr/local/lib/R/site-library:/usr/local/lib/R/library
RENV_DEFAULT_R_LIBS_SITE =
RENV_DEFAULT_R_LIBS_USER = ~/R/x86_64-pc-linux-gnu-library/4.0
RENV_DEFAULT_R_PROFILE = <NA>
RENV_DEFAULT_R_PROFILE_USER = <NA>
RENV_PROJECT = /home/rstudio/work/app
# PATH ===============================
- /usr/lib/rstudio-server/bin
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
- /usr/lib/rstudio-server/bin/postback
- /usr/lib/rstudio-server/bin/postback
# Cache ==============================
There are a total of 126 package(s) installed in the renv cache.
Cache path: "~/.local/share/renv/cache/v5/R-4.0/x86_64-pc-linux-gnu"