Rcmd check problem
On 18/09/2012 8:55 PM, Qi Zhang wrote:
Hi, all. I was trying to build my R package with R 2.15.1 32bit and win7. I basically follow the routine in Steven Mosher's blog http://stevemosher.wordpress.com/step-10-build/ After I fixed the path, and built the skeleton of the package, I started command prompt and used the following commands in building my package Rcmd check myPackageName Rcmd build myPackageName Rcmd check myPackageName.tar.gz Rcmd INSTALL --build myPackageName.tar.gz Rcmd check myPackageName.zip
The check process is designed to work on source tar files, but also works (sometimes with some extra warnings) on package directories. It won't work on binary packages at all. I recommend reading the documentation. Blogs are often out of date or wrong for other reasons. (If you were following instructions there, this is an example of the latter. It has never been correct to run check on a .zip file.) Duncan Murdoch
The last check command return me an error Rcmd check myPackageName.zip Error in rawToChar(block[seq_len(ns)]) : embedded nul in string: 'PK\003\004\n\0\0\0\0\0}?1A\0\0\0\0\0\0\0\0\0\0\0\0\f\ 0\0\0myPackageName/PK\003\004\n\0\0\0\0\0y?1A\0\0\0\0\0\0\0\0\0\0\0\0\021\0\0\0myPackageName/demo/PK\003\004\024\0\002\0\b\0y' Execution halted I do not know what it means. On the other hand, we I load myPackageName.zip as a package from the local zip file, it works. I did not get any error from my other two Rcmd check commands neither. I am wondering whether the returned error of Rcmd check means anything, and whether my package can be uploaded to CRAN without much trouble. Thanks. Best, Qi [[alternative HTML version deleted]]
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel