Closed Robinlovelace closed 4 years ago
case-studies.Rmd contained a reference to library(tidyverse). I changed it to library(dplyr) and ran a check, but got this response:
==> devtools::check(document = FALSE)
── Building ──────────────────────────────────────────────────────────────────────────── acton ──
Setting env vars:
● CFLAGS : -Wall -pedantic -fdiagnostics-color=always
● CXXFLAGS : -Wall -pedantic -fdiagnostics-color=always
● CXX11FLAGS: -Wall -pedantic -fdiagnostics-color=always
─────────────────────────────────────────────────────────────────────────────────────────────────
✓ checking for file ‘/home/joey/acton/DESCRIPTION’ ...
─ preparing ‘acton’: (358ms)
✓ checking DESCRIPTION meta-information ...
─ installing the package to build vignettes
-----------------------------------
─ installing *source* package ‘acton’ ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Killed
ERROR: lazy loading failed for package ‘acton’
─ removing ‘/tmp/RtmpIQsEfM/Rinst44b85c2b60ee/acton’
-----------------------------------
ERROR: package installation failed
Error in (function (command = NULL, args = character(), error_on_status = TRUE, :
System command error
Calls: <Anonymous> ... with_envvar -> force -> do.call -> <Anonymous> -> throw
Execution halted
Exited with status 1.
Hmm, not sure what that's all about... Will take a look asap.
I have removed three files and it's all good now, passing all the checks.
Great fix @joeytalbot :tada:
Heads-up @joeytalbot this is because one of the vignettes relies on the tidyverse. Can you try testing it, switching from
library(tidyverse)
tolibrary(dplyr)
and try testing again to see if we can get it to pass the tests?See here for further info: https://travis-ci.com/cyipt/acton/builds/145344218#L1239