Re: [Rd] Rcmd check problem

From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de>
Date: Wed, 19 Sep 2012 14:14:16 +0200

On 19.09.2012 02:55, 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 last check command return me an error
>
> Rcmd check myPackageName.zip

You cannot run R CMD check on a binary package. Just run it on the source package.

Uwe Ligges

> 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
>



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 19 Sep 2012 - 12:17:21 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 19 Sep 2012 - 14:10:46 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive