-
Notifications
You must be signed in to change notification settings - Fork 155
Closed
Description
My package is currently failing to build on macOS because install_deps()
(on Travis) and install_local()
(on rhub) cannot install knitr and stringi from source. It attempts to build knitr first, which fails because knitr depends on stringi (via stringr).
Here are the relevant parts of the Travis log:
> devtools::install_deps(dependencies = TRUE)
...
There are binary versions available but the source versions are later:
binary source needs_compilation
knitr 1.20 1.21 FALSE
stringi 1.2.4 1.3.1 TRUE
...
* installing *source* package ‘knitr’ ...
** package ‘knitr’ successfully unpacked and MD5 sums checked
** R
** demo
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called ‘stringi’
Error : unable to load R code in package ‘knitr’
ERROR: lazy loading failed for package ‘knitr’
* removing ‘/Users/travis/R/Library/knitr’
Error in i.p(...) :
(converted from warning) installation of package ‘knitr’ had non-zero exit status
Calls: <Anonymous> ... with_rprofile_user -> with_envvar -> force -> force -> i.p
Execution halted
- Travis error with R 3.5.2
- Travis error with R 3.4.4
rhub::check_on_macos()
error frominstall_local()
- I searched for similar issues. The closest I could find was Issue install_deps() fails on travis on mac: 'missing value where TRUE/FALSE needed' #289, however they were able to build with
rhub::check_on_macos()
Metadata
Metadata
Assignees
Labels
No labels