[R-pkg-devel] Failing rhub::check_for_cran() because of data.table
c@@rd|@g@bor @end|ng |rom gm@||@com
Thu Jul 16 09:49:59 CEST 2020
Hi, this is because data.table is not available as a binary package
for R-devel, on CRAN. You can tell R to build it from source like
env_vars=c(R_COMPILE_AND_INSTALL_PACKAGES = "always")
Btw. please report R-ghub errors in the issue tracker, e.g.
On Mon, Jul 13, 2020 at 8:22 PM Chuck Powell <ibecav using gmail.com> wrote:
> My first posting. Apologies in advance if I misspeak or am asking a dumb
> I maintain a small package on CRAN
> Source is on Github here https://github.com/ibecav/CGPfunctions/
> Recently received note I needed to fix my package because of changes to
> broom. Corrections made and everything passes locally.
> When I submit to rhub::check_for_cran() however it creates an error in the
> development branch
> *Build ID:* CGPfunctions_0.6.2.tar.gz-3e48a7f97fa04b64924552dc50b43fd2
> #> Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()),
> versionCheck = vI[[j]]) :
> Calls: ... loadNamespace -> withRestarts -> withOneRestart ->
> Execution halted
> there is no package called 'data.table'
> ERROR: lazy loading failed for package 'CGPfunctions'
> * removing 'C:/Users/USERDFJOuzrklm/R/CGPfunctions'
> Looking at data.table on CRAN I see there is no windows binary
> Windows binaries: r-devel: not available
> I don't use any data.table functions, I don't import it, or suggest it or
> enhance it it's being pulled in through some dependency in car and/or broom.
> Am I okay to submit to CRAN? Is there a setting I can change?
> Obviously data.table exists despite what Rhub is reporting.
> Thank you hopefully that is a clear enough description.
> [[alternative HTML version deleted]]
> R-package-devel using r-project.org mailing list
More information about the R-package-devel