[R-pkg-devel] First time CRAN submission
Filippo Monari
|ng||mo @end|ng |rom gm@||@com
Sun Dec 13 16:49:17 CET 2020
Hi All,
I am trying to submit my first package to CRAN. I already went through few
iterations and corrected most of the problems (I believe). However I still
getting two issues that I cannot figure out hoe to fix. I will list them
here below, hoping for some help. You can find the package that I am trying
to submit at https://gitlab.com/ingfimo/modello.
With respect to the Windows test this is the output that has been returned
to me:
> * using log directory 'd:/RCompile/CRANincoming/R-devel/modello.Rcheck'
> * using R Under development (unstable) (2020-12-09 r79601)
> * using platform: x86_64-w64-mingw32 (64-bit)
> * using session charset: ISO8859-1
> * checking for file 'modello/DESCRIPTION' ... OK
> * this is package 'modello' version '0.1'
> * checking CRAN incoming feasibility ... NOTE
> Maintainer: 'Filippo Monari <ingfimo using gmail.com>'
>
> New submission
>
> Possibly mis-spelled words in DESCRIPTION:
> Modello (2:8, 12:27, 13:22, 18:55)
> openMP (13:98)
>
> The Title field starts with the package name.
> The Title field should be in title case. Current version is:
> 'Modello: a homemade Deep Learning library'
> In title case that is:
> 'Modello: a Homemade Deep Learning Library'
> * 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 'modello' can be installed ... OK
> * checking installed package size ... OK
> * checking package directory ... OK
> * checking for future file timestamps ... OK
> * checking DESCRIPTION meta-information ... OK
> * checking top-level files ... OK
> * checking for left-over files ... OK
> * checking index information ... OK
> * checking package subdirectories ... OK
> * checking R files for non-ASCII characters ... OK
> * checking R files for syntax errors ... OK
> * loading checks for arch 'i386'
> ** checking whether the package can be loaded ... ERROR
> Loading this package had a fatal error status code 1
> Loading log:
> Error: package 'modello' is not installed for 'arch = i386'
> Execution halted
> ** DONE
> Status: 1 ERROR, 1 NOTE
>
> In particular the package compiles correctly but I stil get the error
"package 'modello' is not installed for 'arch = i386'"
With respect to the Debian test the warning that makes the submission to
fail is the following:
> * checking whether package ‘modello’ can be installed ... [33s/32s] WARNING
> Found the following significant warnings:
> Warning: Type specified for intrinsic function ‘size’ at (1) is ignored
> [-Wsurprising]
> See ‘/srv/hornik/tmp/CRAN/modello.Rcheck/00install.out’ for details.
which relates to few workings of the fololwing kind:
> Warning: Type specified for intrinsic function ‘size’ at (1) is ignored
> [-Wsurprising]
and
> Warning: ‘ss.dim[1].stride’ may be used uninitialized in this function
> [-Wmaybe-uninitialized]
I cannot reproduce these warnings on my environments, even by using -Wall
and -Wextra during the compilation. Googling the topic I found that it
could be bug in an old version of gcc (
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77504).
Any advice on how to further proceed with the submission are welcome.
Regards,
Filippo
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list