Re: [Rd] possibly invalid assertion in setRefClass?

2011-06-02 Thread John Chambers
Right, but Michael's point is valid. It's the standard bug from having to explicitly check for a non-empty list before taking names(x). Will fix. Thanks for the catch. John On 6/1/11 9:21 AM, William Dunlap wrote: -Original Message- From: r-devel-boun...@r-project.org [mailto:r-deve

Re: [Rd] [R-SIG-Mac] check leads to .o files and to packagename-Ex.R

2011-06-02 Thread Duncan Murdoch
On 02/06/2011 10:13 AM, Ben Bolker wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/02/2011 09:12 AM, Duncan Murdoch wrote: > On 11-06-02 9:06 AM, Ben Bolker wrote: >> On 06/02/2011 06:47 AM, Benilton Carvalho wrote: >>> 'R CMD check' should be applied on the .tar.gz, not on the sou

Re: [Rd] [R-SIG-Mac] check leads to .o files and to packagename-Ex.R

2011-06-02 Thread Ben Bolker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/02/2011 09:12 AM, Duncan Murdoch wrote: > On 11-06-02 9:06 AM, Ben Bolker wrote: >> On 06/02/2011 06:47 AM, Benilton Carvalho wrote: >>> 'R CMD check' should be applied on the .tar.gz, not on the source >>> directory. >> >>Why? > > Because t

Re: [Rd] [R-SIG-Mac] check leads to .o files and to packagename-Ex.R

2011-06-02 Thread Duncan Murdoch
On 11-06-02 9:06 AM, Ben Bolker wrote: On 06/02/2011 06:47 AM, Benilton Carvalho wrote: 'R CMD check' should be applied on the .tar.gz, not on the source directory. Why? Because that is what you will send to others. The reason to check a directory instead of a tar file is to save time:

Re: [Rd] [R-SIG-Mac] check leads to .o files and to packagename-Ex.R

2011-06-02 Thread Ben Bolker
On 06/02/2011 06:47 AM, Benilton Carvalho wrote: > 'R CMD check' should be applied on the .tar.gz, not on the source directory. Why? The help says: "Check R packages from package sources, which can be directories or package 'tar' archives with extension '.tar.gz', '.tar.bz2' or '.tgz'." I just

[Rd] Problem to execute a function loading by my package that I created

2011-06-02 Thread Po
Hello, I'm a beginner on R. I should create a package on R. The name of my package is SGeMS. In my package, I have a big program writed in C++. This program compiles in C++. I put this program in SGeMS/src. In my program, I added a header file and a source file named respectively CreateFile.h and