CRAN win-builded fail

Hi,

I am trying to submit a new version to CRAN and I am getting an error from the win-builder when trying to install the package. The package passed locally devtools::check() and on CRAN tess withdevtools::check_win_release(), but fails on devtools::check_win_devel():

* using log directory 'd:/RCompile/CRANguest/R-devel/coronavirus.Rcheck'
* using R Under development (unstable) (2023-02-12 r83809 ucrt)
* using platform: x86_64-w64-mingw32 (64-bit)
* R was compiled by
    gcc.exe (GCC) 12.2.0
    GNU Fortran (GCC) 12.2.0
* running under: Windows Server 2022 x64 (build 20348)
* using session charset: UTF-8
* checking for file 'coronavirus/DESCRIPTION' ... OK
* this is package 'coronavirus' version '0.4.0'
* package encoding: UTF-8
* checking CRAN incoming feasibility ... [8s] NOTE
Maintainer: 'Rami Krispin <rami.krispin@gmail.com>'

Reading Rd files failed with
  cannot open the connection
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking serialization versions ... OK
* checking whether package 'coronavirus' can be installed ... ERROR
Installation failed.
See 'd:/RCompile/CRANguest/R-devel/coronavirus.Rcheck/00install.out' for details.
* DONE
Status: 1 ERROR, 1 NOTE

This is the installation log:

* installing *source* package 'coronavirus' ...
** using staged installation
Warning in as.POSIXlt.POSIXct(x, tz) : unknown timezone 'Europe/Berlin'
Warning in as.POSIXlt.POSIXct(x, tz) : unknown timezone 'GMT'
Warning in as.POSIXlt.POSIXct(x, tz) :
  unknown timezone 'America/New_York'
Warning in as.POSIXlt.POSIXct(x, tz) : unknown timezone 'GMT'
Warning in as.POSIXlt.POSIXct(x, tz) :
  unknown timezone 'America/New_York'
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Error in if (file.size(codeFile) == file.size(loaderFile)) warning("package seems to be using lazy loading already") else { : 
  missing value where TRUE/FALSE needed
Calls: <Anonymous>
Execution halted
ERROR: lazy loading failed for package 'coronavirus'
* removing 'd:/RCompile/CRANguest/R-devel/lib/coronavirus'

Here is the link to the error log: win-builder.r-project.org - /SO394cUufs3g/

Thanks!

Can you share your package? Is it on GitHub or another public repository?

This topic was automatically closed after 45 days. New replies are no longer allowed.


If you have a query related to it or one of the replies, start a new topic and refer back with a link.