Hi, I have a bug in my Docker build that I can't figure out.
I install rlang 0.4.8 as can be seen at the top of the log:
cli (2.0.2 -> 2.2.0 ) [CRAN]
dplyr (0.8.5 -> 1.0.2 ) [CRAN]
googleAuthR (NA -> 1.3.0 ) [CRAN]
httr (1.4.1 -> 1.4.2 ) [CRAN]
jsonlite (1.6.1 -> 1.7.1 ) [CRAN]
magrittr (1.5 -> 2.0.1 ) [CRAN]
purrr (0.3.3 -> 0.3.4 ) [CRAN]
rlang (0.4.5 -> 0.4.8 ) [CRAN]
tibble (3.0.0 -> 3.0.4 ) [CRAN]
tidyr (1.0.2 -> 1.1.2 ) [CRAN]
glue (1.4.0 -> 1.4.2 ) [CRAN]
ellipsis (0.3.0 -> 0.3.1 ) [CRAN]
pillar (1.4.3 -> 1.4.7 ) [CRAN]
vctrs (0.2.4 -> 0.3.5 ) [CRAN]
digest (0.6.25 -> 0.6.27) [CRAN]
fs (1.4.1 -> 1.5.0 ) [CRAN]
withr (2.1.2 -> 2.3.0 ) [CRAN]
openssl (1.4.1 -> 1.4.3 ) [CRAN]
R6 (2.4.1 -> 2.5.0 ) [CRAN]
sys (3.3 -> 3.4 ) [CRAN]
generics (0.0.2 -> 0.1.0 ) [CRAN]
tidyselect (1.0.0 -> 1.1.0 ) [CRAN]
gargle (0.4.0 -> 0.5.0 ) [CRAN]
cpp11 (NA -> 0.2.4 ) [CRAN]
Installing 24 packages: cli, dplyr, googleAuthR, httr, jsonlite, magrittr, purrr, rlang, tibble, tidyr, glue, ellipsis, pillar, vctrs, digest, fs, withr, openssl, R6, sys, generics, tidyselect, gargle, cpp11
Installing packages into ‘/usr/local/lib/R/site-library’
...etc...
..but then the build fails when I try to load the dev version of the package (via remotes::install_github
)
* installing *source* package ‘googleAnalyticsR’ ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** tests
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
ℹ 2020-11-25 21:45:57 > Setting client.id from /workspace/client.json
** testing if installed package can be loaded from final location
ℹ 2020-11-25 21:45:58 > Setting client.id from /workspace/client.json
** testing if installed package keeps a record of temporary installation path
* DONE (googleAnalyticsR)
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace ‘rlang’ 0.4.5 is already loaded, but >= 0.4.7 is required
Calls: <Anonymous> ... asNamespace -> loadNamespace -> namespaceImport -> loadNamespace
Execution halted
It says rlang 0.4.5 is loaded, not the 0.4.8 I see installed above it. My DESCRIPTION lists rlang (>= 0.4.7).
May I ask for any ideas on how to fix it?