I wonder if anyone can help me with a travisCI build for an R package I’m writing, named ‘argoFloats’, that uses the ‘shiny’ package.
A sample failed build is at https://travis-ci.org/github/ArgoCanada/argoFloats/builds/728933817
Near the end, the transcript says that it cannot load ‘shiny’, but earlier on, I see that its source was downloaded and built without difficulty. These steps are detailed more in the snippets below, from the above-stated URL.
Snippet 1 from log
trying URL 'http://cloud.r-project.org/src/contrib/shiny_1.5.0.tar.gz'
Content type 'application/x-gzip' length 3472148 bytes (3.3 MB)
==================================================
downloaded 3.3 MB
Snippet 2 from log
* installing *source* package ‘shiny’ ...
** package ‘shiny’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** 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
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation
path
* DONE (shiny)
Snippet 3 from log
Error in loadNamespace(name) : there is no package called ‘shiny’
Error: unable to load R code in package ‘argoFloats’
Execution halted
ERROR: lazy loading failed for package ‘argoFloats’