source versions of packages no longer installed?
Closed this issue · 3 comments
I pushed this commit and only AppVeyor
(but not Travis
) builds are failing because I increased dplyr
version from 0.8.2
to 0.8.3
-
* checking package namespace information ... OK
* checking package dependencies ... ERROR
Package required and available but unsuitable version: 'dplyr'
See section 'The DESCRIPTION file' in the 'Writing R Extensions'
manual.
* DONE
Status: 1 ERROR, 1 NOTE
See
'C:/projects/ggstatsplot/ggstatsplot.Rcheck/00check.log'
for details.
Command exited with code 1
7z a failure.zip *.Rcheck\*
Is this because the new changes made no longer make it possible to download the source versions of R packages, like before?
It's very likely. Set PKGTYPE
to both
if you need the latest and greatest.
We've moved away from setting requirements to the most recent package versions, and try to import the minimum really required versions. See https://github.com/krlmlr/minver/ for a workflow to find out which versions your package really needs.
Thanks, that solved it.
@krlmlr Why do my builds fail even when I have set PKGTYPE
to both
?
For example, this build fails because Rcpp
's source version can't be downloaded-
* installing *source* package 'rcompanion' ...
** package 'rcompanion' successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called 'Rcpp'
Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
ERROR: lazy loading failed for package 'rcompanion'
* removing 'c:/RLibrary/rcompanion'
Error in i.p(...) :
(converted from warning) installation of package 'rcompanion' had non-zero exit status
Calls: <Anonymous> ... with_rprofile_user -> with_envvar -> force -> force -> i.p
Execution halted
Command exited with code 1
7z a failure.zip *.Rcheck\*