`devtools` infinite dependency loop

Hi Posit Community,
devtools seems to be in an infinite loop on a renv enabled project.
Whenever I attempt to load the package with load_all, I get the message:

ℹ Loading RiverViz
ℹ The packages "dplyr", "echarts4r" (>= 0.4.5), and "tidyr" (>= 1.3.0) are required.
✖ Would you like to install them?

1: Yes
2: No

However, both those packages, with the versions suggested, are installed. Here's renv::diagnostics to confirm those packages and their versions

Diagnostics Report [renv 1.0.3]
===============================

# Session Info ----------------------------------------------------------
R version 4.3.0 (2023-04-21)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS 14.1.2

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.11.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: America/New_York
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices datasets  utils     methods   base     

loaded via a namespace (and not attached):
 [1] tippy_1.0.0         UU_1.43.0           BOR_0.4.0          
 [4] shinyjs_2.1.0       htmlwidgets_1.6.4   devtools_2.4.5     
 [7] remotes_2.4.2.1     gargle_1.5.2        vctrs_0.6.3        
[10] tools_4.3.0         generics_0.1.3      curl_5.2.0         
[13] shinyVirga_0.37.0   tibble_3.2.1        fansi_1.0.4        
[16] pkgconfig_2.0.3     desc_1.4.3          assertthat_0.2.1   
[19] lifecycle_1.0.3     cicerone_1.0.5.9000 compiler_4.3.0     
[22] stringr_1.5.0       brio_1.1.4          virgaUtils_0.5.0   
[25] munsell_0.5.0       snakecase_0.11.1    golem_0.4.1        
[28] httpuv_1.6.13       htmltools_0.5.7     echartsUtils_0.7.1 
[31] usethis_2.2.2       sass_0.4.8          yaml_2.3.8         
[34] RiverViz_0.1.0      later_1.3.2         pillar_1.9.0       
[37] urlchecker_1.0.1    ellipsis_0.3.2      googlesheets4_1.1.1
[40] cachem_1.0.8        sessioninfo_1.2.2   mime_0.12          
[43] digest_0.6.33       stringi_1.7.12      purrr_1.0.2        
[46] rprojroot_2.0.4     fastmap_1.1.1       bs4Dash_2.2.1      
[49] colorspace_2.1-0    cli_3.6.1           magrittr_2.0.3     
[52] pkgbuild_1.4.3      utf8_1.2.3          crssDB_1.0.0       
[55] withr_2.5.2         scales_1.3.0        promises_1.2.1     
[58] lubridate_1.9.3     googledrive_2.1.1   timechange_0.2.0   
[61] config_0.3.2        cellranger_1.1.0    memoise_2.0.1      
[64] shiny_1.8.0         testthat_3.2.1      miniUI_0.1.1.1     
[67] profvis_0.3.8       rlang_1.1.1         Rcpp_1.0.11        
[70] xtable_1.8-4        glue_1.6.2          reactable_0.4.4    
[73] renv_1.0.3          pkgload_1.3.3       attempt_0.3.1      
[76] rstudioapi_0.15.0   jsonlite_1.8.8      R6_2.5.1           
[79] plyr_1.8.8          fs_1.6.3           

# Project ---------------------------------------------------------------
Project path: "~/Documents/R/Contributor_Repos/VirgaLabs/RiverViz"

# Status ----------------------------------------------------------------
The following package(s) are out of sync [lockfile -> library]:

# CRAN ------------------------------------------------------------------
- lifecycle   [1.0.3 -> 1.0.4]
- stringi     [1.7.12 -> 1.8.3]
- utf8        [1.2.3 -> 1.2.4]

# GitHub ----------------------------------------------------------------
- echarts4r   [0.4.5 -> JohnCoene/echarts4r@HEAD]


See ?renv::status() for advice on resolving these issues.

# Packages --------------------------------------------------------------
                 Library Source   Lockfile Source Path Dependency
BH              1.81.0-1   CRAN   1.81.0-1   CRAN  [1]   indirect
BOR                0.4.0 GitHub      0.4.0 GitHub  [1]     direct
DBI                1.1.3   CRAN      1.1.3   CRAN  [1]   indirect
KernSmooth       2.23-20   CRAN       <NA>   <NA>  [2]       <NA>
MASS              7.3-60   CRAN       <NA>   <NA>  [2]       <NA>
Matrix             1.5-4   CRAN       <NA>   <NA>  [2]       <NA>
R6                 2.5.1   CRAN      2.5.1   CRAN  [1]   indirect
RColorBrewer       1.1-3   CRAN      1.1-3   CRAN  [1]   indirect
RMySQL           0.10.27   CRAN    0.10.27   CRAN  [1]   indirect
Rcpp              1.0.11   CRAN     1.0.11   CRAN  [1]   indirect
RiverViz            <NA>   <NA>       <NA>   <NA> <NA>     direct
UU                1.43.0 GitHub     1.43.0 GitHub  [1]     direct
anytime            0.3.9   CRAN      0.3.9   CRAN  [1]   indirect
askpass            1.2.0   CRAN      1.2.0   CRAN  [1]   indirect
assertthat         0.2.1   CRAN      0.2.1   CRAN  [1]   indirect
attempt            0.3.1   CRAN      0.3.1   CRAN  [1]   indirect
backports          1.4.1   CRAN      1.4.1   CRAN  [1]   indirect
base64enc          0.1-3   CRAN      0.1-3   CRAN  [1]   indirect
blob               1.2.4   CRAN      1.2.4   CRAN  [1]   indirect
boot            1.3-28.1   CRAN       <NA>   <NA>  [2]       <NA>
brew              1.0-10   CRAN     1.0-10   CRAN  [1]   indirect
brio               1.1.4   CRAN      1.1.4   CRAN  [1]   indirect
broom              1.0.5   CRAN      1.0.5   CRAN  [1]   indirect
bs4Dash            2.2.1 GitHub      2.2.1 GitHub  [1]     direct
bslib              0.6.1   CRAN      0.6.1   CRAN  [1]   indirect
cachem             1.0.8   CRAN      1.0.8   CRAN  [1]   indirect
callr              3.7.3   RSPM      3.7.3   RSPM  [1]   indirect
cellranger         1.1.0   CRAN      1.1.0   CRAN  [1]   indirect
checkmate          2.3.1   CRAN      2.3.1   CRAN  [1]   indirect
cicerone      1.0.5.9000 GitHub 1.0.5.9000 GitHub  [1]     direct
class             7.3-21   CRAN       <NA>   <NA>  [2]       <NA>
cli                3.6.2   CRAN      3.6.2   CRAN  [1]     direct
clipr               <NA>   <NA>       <NA>   <NA>  [1]   indirect
cluster            2.1.4   CRAN       <NA>   <NA>  [2]       <NA>
codetools         0.2-19   CRAN       <NA>   <NA>  [2]       <NA>
colorspace         2.1-0   CRAN      2.1-0   CRAN  [1]   indirect
commonmark         1.9.0   CRAN      1.9.0   CRAN  [1]   indirect
config             0.3.2   CRAN      0.3.2   CRAN  [1]     direct
corrplot            0.92   CRAN       0.92   CRAN  [1]   indirect
countrycode        1.5.0   CRAN      1.5.0   CRAN  [1]   indirect
covrpage            <NA>   <NA>       <NA>   <NA> <NA>     direct
cpp11              0.4.7   CRAN      0.4.7   CRAN  [1]   indirect
crayon             1.5.2   CRAN      1.5.2   CRAN  [1]   indirect
credentials        2.0.1   CRAN      2.0.1   CRAN  [1]   indirect
crssDB             1.0.0 GitHub      1.0.0 GitHub  [1]     direct
curl               5.2.0   CRAN      5.2.0   CRAN  [1]     direct
dbplyr             2.4.0   CRAN      2.4.0   CRAN  [1]   indirect
desc               1.4.3   CRAN      1.4.3   CRAN  [1]   indirect
devtools           2.4.5   CRAN      2.4.5   CRAN  [1]     direct
diffobj            0.3.5   CRAN      0.3.5   CRAN  [1]   indirect
digest            0.6.33   CRAN     0.6.33   CRAN  [1]   indirect
downlit            0.4.3   CRAN      0.4.3   CRAN  [1]   indirect
dplyr              1.1.4   CRAN      1.1.4   CRAN  [1]     direct
echarts4r          0.4.5 GitHub      0.4.5   CRAN  [1]     direct
echartsUtils       0.7.1 GitHub      0.7.1 GitHub  [1]     direct
ellipsis           0.3.2   CRAN      0.3.2   CRAN  [1]   indirect
evaluate            0.23   CRAN       0.23   CRAN  [1]   indirect
fansi               <NA>   <NA>       <NA>   <NA>  [1]   indirect
farver             2.1.1   CRAN      2.1.1   CRAN  [1]   indirect
fastmap            1.1.1   CRAN      1.1.1   CRAN  [1]   indirect
fontawesome        0.5.2   CRAN      0.5.2   CRAN  [1]   indirect
foreign           0.8-84   CRAN       <NA>   <NA>  [2]       <NA>
fresh              0.2.0   CRAN      0.2.0   CRAN  [1]   indirect
fs                 1.6.3   CRAN      1.6.3   CRAN  [1]     direct
gargle             1.5.2   CRAN      1.5.2   CRAN  [1]   indirect
generics           0.1.3   CRAN      0.1.3   CRAN  [1]   indirect
gert               2.0.1   CRAN      2.0.1   CRAN  [1]   indirect
gh                 1.4.0   CRAN      1.4.0   CRAN  [1]   indirect
gitcreds           0.1.2   CRAN      0.1.2   CRAN  [1]   indirect
glue               1.6.2   CRAN      1.6.2   CRAN  [1]     direct
golem              0.4.1   CRAN      0.4.1   CRAN  [1]     direct
googledrive        2.1.1   CRAN      2.1.1   CRAN  [1]   indirect
googlesheets4      1.1.1   CRAN      1.1.1   CRAN  [1]     direct
grDevices           <NA>   <NA>       <NA>   <NA>  [2]   indirect
graphics            <NA>   <NA>       <NA>   <NA>  [2]   indirect
here               1.0.1   CRAN      1.0.1   CRAN  [1]   indirect
highr               0.10   CRAN       0.10   CRAN  [1]   indirect
htmltools          0.5.7   CRAN      0.5.7   CRAN  [1]     direct
htmlwidgets        1.6.4   CRAN      1.6.4   CRAN  [1]     direct
httpuv            1.6.13   CRAN     1.6.13   CRAN  [1]   indirect
httr               1.4.7   CRAN      1.4.7   CRAN  [1]   indirect
httr2              1.0.0   CRAN      1.0.0   CRAN  [1]   indirect
ids                1.0.1   CRAN      1.0.1   CRAN  [1]   indirect
ini                0.3.1   CRAN      0.3.1   CRAN  [1]   indirect
jquerylib          0.1.4   CRAN      0.1.4   CRAN  [1]   indirect
jsonlite           1.8.8   CRAN      1.8.8   CRAN  [1]     direct
knitr               1.45   RSPM       1.45   RSPM  [1]     direct
labeling           0.4.3   CRAN      0.4.3   CRAN  [1]     direct
later              1.3.2   CRAN      1.3.2   CRAN  [1]   indirect
lattice           0.21-8   CRAN       <NA>   <NA>  [2]       <NA>
leaflet             <NA>   <NA>       <NA>   <NA> <NA>     direct
lifecycle          1.0.4   CRAN      1.0.3   CRAN  [1]   indirect
lubridate          1.9.3   CRAN      1.9.3   CRAN  [1]     direct
magrittr           2.0.3   CRAN      2.0.3   CRAN  [1]   indirect
memoise            2.0.1   CRAN      2.0.1   CRAN  [1]   indirect
methods             <NA>   <NA>       <NA>   <NA>  [2]   indirect
mgcv              1.8-42   CRAN       <NA>   <NA>  [2]       <NA>
mime                0.12   CRAN       0.12   CRAN  [1]   indirect
miniUI           0.1.1.1   CRAN    0.1.1.1   CRAN  [1]   indirect
munsell            0.5.0   CRAN      0.5.0   CRAN  [1]   indirect
nlme             3.1-162   CRAN       <NA>   <NA>  [2]       <NA>
nnet              7.3-18   CRAN       <NA>   <NA>  [2]       <NA>
openssl            2.1.1   CRAN      2.1.1   CRAN  [1]   indirect
packer             0.1.3   CRAN      0.1.3   CRAN  [1]   indirect
pillar             1.9.0   CRAN      1.9.0   CRAN  [1]   indirect
pkgbuild           1.4.3   CRAN      1.4.3   CRAN  [1]   indirect
pkgconfig           <NA>   <NA>       <NA>   <NA>  [1]   indirect
pkgdown            2.0.7   CRAN      2.0.7   CRAN  [1]   indirect
pkgload            1.3.3   CRAN      1.3.3   CRAN  [1]     direct
plyr               1.8.9   CRAN      1.8.9   CRAN  [1]     direct
pool               1.0.1   CRAN      1.0.1   CRAN  [1]   indirect
praise             1.0.0   CRAN      1.0.0   CRAN  [1]   indirect
prettyunits         <NA>   <NA>       <NA>   <NA>  [1]   indirect
processx           3.8.3   CRAN      3.8.3   CRAN  [1]   indirect
profvis            0.3.8   CRAN      0.3.8   CRAN  [1]   indirect
promises           1.2.1   CRAN      1.2.1   CRAN  [1]   indirect
ps                 1.7.5   CRAN      1.7.5   CRAN  [1]   indirect
purrr              1.0.2   CRAN      1.0.2   CRAN  [1]     direct
ragg               1.2.7   CRAN      1.2.7   CRAN  [1]   indirect
rappdirs           0.3.3   CRAN      0.3.3   CRAN  [1]   indirect
rcmdcheck          1.4.0   CRAN      1.4.0   CRAN  [1]   indirect
reactR             0.5.0   CRAN      0.5.0   CRAN  [1]   indirect
reactable          0.4.4   CRAN      0.4.4   CRAN  [1]     direct
rematch            2.0.0   CRAN      2.0.0   CRAN  [1]   indirect
rematch2           2.1.2   CRAN      2.1.2   CRAN  [1]   indirect
remotes          2.4.2.1   CRAN    2.4.2.1   CRAN  [1]   indirect
renv               1.0.3   CRAN      1.0.3   CRAN  [1]     direct
rhub                <NA>   <NA>       <NA>   <NA> <NA>     direct
rlang              1.1.2   CRAN      1.1.2   CRAN  [1]     direct
rmarkdown           2.25   CRAN       2.25   CRAN  [1]     direct
roxygen2           7.2.3   RSPM      7.2.3   RSPM  [1]     direct
rpart             4.1.19   CRAN       <NA>   <NA>  [2]       <NA>
rprojroot          2.0.4   CRAN      2.0.4   CRAN  [1]   indirect
rsconnect           <NA>   <NA>       <NA>   <NA> <NA>     direct
rstudioapi        0.15.0   CRAN     0.15.0   CRAN  [1]     direct
rversions          2.1.2   CRAN      2.1.2   CRAN  [1]   indirect
sass               0.4.8   CRAN      0.4.8   CRAN  [1]     direct
scales             1.3.0   CRAN      1.3.0   CRAN  [1]     direct
sessioninfo        1.2.2   CRAN      1.2.2   CRAN  [1]   indirect
shiny              1.8.0   CRAN      1.8.0   CRAN  [1]     direct
shinyVirga        0.37.0 GitHub     0.37.0 GitHub  [1]     direct
shinyWidgets       0.8.0   CRAN      0.8.0   CRAN  [1]   indirect
shinyjs            2.1.0   CRAN      2.1.0   CRAN  [1]     direct
snakecase         0.11.1   CRAN     0.11.1   CRAN  [1]     direct
sourcetools      0.1.7-1   CRAN    0.1.7-1   CRAN  [1]   indirect
spatial           7.3-16   CRAN       <NA>   <NA>  [2]       <NA>
spelling            <NA>   <NA>       <NA>   <NA> <NA>     direct
stats               <NA>   <NA>       <NA>   <NA>  [2]     direct
stringi            1.8.3   CRAN     1.7.12   CRAN  [1]   indirect
stringr            1.5.1   CRAN      1.5.1   CRAN  [1]     direct
survival           3.5-5   CRAN       <NA>   <NA>  [2]       <NA>
sys                3.4.2   CRAN      3.4.2   CRAN  [1]   indirect
systemfonts        1.0.5   CRAN      1.0.5   CRAN  [1]   indirect
testthat           3.2.1   CRAN      3.2.1   CRAN  [1]     direct
textshaping        0.3.7   CRAN      0.3.7   CRAN  [1]   indirect
tibble             3.2.1   CRAN      3.2.1   CRAN  [1]     direct
tidyr              1.3.0   CRAN      1.3.0   CRAN  [1]     direct
tidyselect         1.2.0   CRAN      1.2.0   CRAN  [1]   indirect
timechange         0.2.0   CRAN      0.2.0   CRAN  [1]   indirect
tinytex             0.49   CRAN       0.49   CRAN  [1]   indirect
tippy              1.0.0 GitHub      1.0.0 GitHub  [1]     direct
tools               <NA>   <NA>       <NA>   <NA>  [2]   indirect
urlchecker         1.0.1   CRAN      1.0.1   CRAN  [1]   indirect
usethis            2.2.2   RSPM      2.2.2   RSPM  [1]     direct
utf8               1.2.4   CRAN      1.2.3   CRAN  [1]   indirect
utils               <NA>   <NA>       <NA>   <NA>  [2]     direct
uuid               1.1-1   CRAN      1.1-1   CRAN  [1]   indirect
vctrs              0.6.5   CRAN      0.6.5   CRAN  [1]   indirect
virgaUtils         0.5.0 GitHub      0.5.0 GitHub  [1]     direct
viridisLite        0.4.2   CRAN      0.4.2   CRAN  [1]   indirect
waiter             0.2.5   CRAN      0.2.5   CRAN  [1]   indirect
waldo              0.5.2   CRAN      0.5.2   CRAN  [1]   indirect
whisker            0.4.1   CRAN      0.4.1   CRAN  [1]   indirect
withr              2.5.2   CRAN      2.5.2   CRAN  [1]   indirect
xfun                0.41   CRAN       0.41   CRAN  [1]   indirect
xml2               1.3.6   CRAN      1.3.6   CRAN  [1]   indirect
xopen              1.0.0   CRAN      1.0.0   CRAN  [1]   indirect
xtable             1.8-4   CRAN      1.8-4   CRAN  [1]   indirect
yaml               2.3.8   CRAN      2.3.8   CRAN  [1]   indirect
zip                2.3.0   CRAN      2.3.0   CRAN  [1]   indirect

[1]: /Users/stephenholsenbeck/Library/Caches/org.R-project.R/R/renv/library/RiverViz-78070a1e/R-4.3/aarch64-apple-darwin20
[2]: /Users/stephenholsenbeck/Library/Caches/org.R-project.R/R/renv/sandbox/R-4.3/aarch64-apple-darwin20/ac5c2659         

# ABI -------------------------------------------------------------------
- No ABI conflicts were detected in the set of installed packages.

# User Profile ----------------------------------------------------------
                              Source Package Require Version   Dev
1 /Users/stephenholsenbeck/.Rprofile   utils                 FALSE

# Settings --------------------------------------------------------------
List of 13
 $ bioconductor.version     : NULL
 $ external.libraries       : chr(0) 
 $ ignored.packages         : chr [1:10] "jobs" "sinew" "clipr" "pkgconfig" ...
 $ package.dependency.fields: chr [1:3] "Imports" "Depends" "LinkingTo"
 $ ppm.enabled              : NULL
 $ ppm.ignored.urls         : chr(0) 
 $ r.version                : chr(0) 
 $ snapshot.type            : chr "explicit"
 $ use.cache                : logi TRUE
 $ vcs.ignore.cellar        : logi TRUE
 $ vcs.ignore.library       : logi TRUE
 $ vcs.ignore.local         : logi TRUE
 $ vcs.manage.ignores       : logi TRUE

# Options ---------------------------------------------------------------
List of 9
 $ defaultPackages                     : chr [1:6] "datasets" "utils" "grDevices" "graphics" ...
 $ download.file.method                : chr "libcurl"
 $ download.file.extra                 : NULL
 $ install.packages.compile.from.source: chr "interactive"
 $ pkgType                             : chr "both"
 $ repos                               : Named chr "https://cran.rstudio.com"
  ..- attr(*, "names")= chr "CRAN"
 $ renv.consent                        : logi TRUE
 $ renv.config.auto.snapshot           : logi TRUE
 $ renv.verbose                        : logi TRUE

# Environment Variables -------------------------------------------------
HOME                        = /Users/stephenholsenbeck
LANG                        = en_US.UTF-8
MAKE                        = make
R_LIBS                      = <NA>
R_LIBS_SITE                 = /Library/Frameworks/R.framework/Resources/site-library
R_LIBS_USER                 = /Users/stephenholsenbeck/Library/Caches/org.R-project.R/R/renv/library/RiverViz-78070a1e/R-4.3/aarch64-apple-darwin20
RENV_DEFAULT_R_ENVIRON      = <NA>
RENV_DEFAULT_R_ENVIRON_USER = ~/Documents/R/.Renviron
RENV_DEFAULT_R_LIBS         = <NA>
RENV_DEFAULT_R_LIBS_SITE    = /Library/Frameworks/R.framework/Resources/site-library
RENV_DEFAULT_R_LIBS_USER    = /Users/stephenholsenbeck/Library/R/arm64/4.3/library
RENV_DEFAULT_R_PROFILE      = <NA>
RENV_DEFAULT_R_PROFILE_USER = ~/Documents/R/.Rprofile
RENV_DOWNLOAD_FILE_METHOD   = libcurl
RENV_PATHS_CACHE            = ~/Documents/R/renv_cache/cache
RENV_PATHS_ROOT             = ~/Documents/R/renv_cache
RENV_PROJECT                = /Users/stephenholsenbeck/Documents/R/Contributor_Repos/VirgaLabs/RiverViz

# PATH ------------------------------------------------------------------
- /Users/stephenholsenbeck/opt/anaconda3/bin
- /usr/local/bin
- /System/Cryptexes/App/usr/bin
- /usr/bin
- /bin
- /usr/sbin
- /sbin
- /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin
- /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin
- /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin
- /opt/X11/bin
- /Users/stephenholsenbeck/Applications/quarto/bin
- /Library/TeX/texbin
- /usr/texbin
- /Applications/RStudio.app/Contents/Resources/app/bin/postback

# Cache -----------------------------------------------------------------
There are a total of 622 packages installed in the renv cache.
Cache path: "~/Documents/R/renv_cache/cache/v5/R-4.3/aarch64-apple-darwin20"

Any ideas on how to resolve the infinite loop here?

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.