Skip to content

[R-pkg-devel] R package CRAN check error

6 messages · Ilaria Amerise, Dirk Eddelbuettel, Georgi Boshnakov +2 more

#
Hi everybody,

on submitting a new version of a package I got a rejection because of
the following Error in the CRAN-check.

Any help would be highly appreciated.

* using R version 3.4.3 (2017-11-30)
* using platform: x86_64-apple-darwin15.6.0 (64-bit)
* using session charset: UTF-8
* using option ?--as-cran?
* checking for file ?namepackage/DESCRIPTION? ... OK
* checking extension type ... Package
* this is package ?namepackage? version ?1.1.2?
* checking CRAN incoming feasibility ... Note_to_CRAN_maintainers
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... ERROR
Only *source* packages can be checked.
* DONE
Status: 1 ERROR

Best regards,
Ilaria
#
Ilaria,
On 16 February 2018 at 12:34, Ilaria Amerise wrote:
| on submitting a new version of a package I got a rejection because of
| the following Error in the CRAN-check.
| 
| Any help would be highly appreciated.
| 
| * using R version 3.4.3 (2017-11-30)
| * using platform: x86_64-apple-darwin15.6.0 (64-bit)
| * using session charset: UTF-8
| * using option ?--as-cran?
| * checking for file ?namepackage/DESCRIPTION? ... OK
| * checking extension type ... Package
| * this is package ?namepackage? version ?1.1.2?
| * checking CRAN incoming feasibility ... Note_to_CRAN_maintainers
| * checking package namespace information ... OK
| * checking package dependencies ... OK
| * checking if this is a source package ... ERROR
| Only *source* packages can be checked.

That would be your error. You did not upload a source package.

Dirk
#
You get a source package suitable for submission by running `R CMD check namepackage'  or the equivalent devtools::build() 

Georgi

-----Original Message-----
From: R-package-devel [mailto:r-package-devel-bounces at r-project.org] On Behalf Of Ilaria Amerise
Sent: 16 February 2018 11:35
To: r-package-devel
Subject: [R-pkg-devel] R package CRAN check error

Hi everybody,

on submitting a new version of a package I got a rejection because of the following Error in the CRAN-check.

Any help would be highly appreciated.

* using R version 3.4.3 (2017-11-30)
* using platform: x86_64-apple-darwin15.6.0 (64-bit)
* using session charset: UTF-8
* using option ?--as-cran?
* checking for file ?namepackage/DESCRIPTION? ... OK
* checking extension type ... Package
* this is package ?namepackage? version ?1.1.2?
* checking CRAN incoming feasibility ... Note_to_CRAN_maintainers
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... ERROR Only *source* packages can be checked.
* DONE
Status: 1 ERROR

Best regards,
Ilaria

______________________________________________
R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
#
On 16 February 2018 at 20:46, Georgi Boshnakov wrote:
| You get a source package suitable for submission by running `R CMD check namepackage'  or the equivalent devtools::build() 

Close: "R CMD build namepackage" creates the tar.gz file.
And "R CMD check --as-cran namepackage_*.tar.gz" checks it.

Dirk
#
Or even better, devtools::release(): it walks you through a checklist
of activities designed to make your submission as successful as
possible.

Hadley

On Fri, Feb 16, 2018 at 2:46 PM, Georgi Boshnakov
<georgi.boshnakov at manchester.ac.uk> wrote:

  
    
#
Thanks Hadley, for making us aware of this tool. I have a question: the
spellchecker part works (I mean I corrected words that were clearly
misspelled leaving acronyms which are common in my field), but I get the
following messages after the spell check:

* using log directory
?/private/var/folders/d1/mx6dcbzx3v39r260458z2b200000gn/T/RtmpjaaTMI/RJafroc.Rcheck?
* using R version 3.4.3 (2017-11-30)
* using platform: x86_64-apple-darwin15.6.0 (64-bit)
* using session charset: UTF-8
* using options ?--run-donttest --as-cran?
* checking for file ?RJafroc/DESCRIPTION? ... OK
* checking extension type ... Package
* this is package ?RJafroc? version ?1.0.1?
* checking CRAN incoming feasibility ...*Error in aspell(files, filter =
list("dcf", ignore = ignore), control = control,  : *
*  No suitable spell-checker program found*
Execution halted
Was R CMD check successful?
1: Nope
2: No
3: Yes

I selected 3. Am I making the right choice?

Thanks,

Dev
On Fri, Feb 16, 2018 at 4:32 PM, Hadley Wickham <h.wickham at gmail.com> wrote: