[R-pkg-devel] CRAN checks question

Uwe Ligges ligges at statistik.tu-dortmund.de
Thu Oct 22 17:30:59 CEST 2015


We are testing a very strict check setting, this will be reverted shortly.

Best,
Uwe Ligges



On 22.10.2015 15:31, Hadley Wickham wrote:
> I've also seen some problems with missing testthat on
> r-devel-windows-ix86+x86_64 - I'd say it's a temporary problem on the
> CRAN end, and if your package is ok on win builder, you should be ok
> to submit.
>
> Hadley
>
> On Wed, Oct 21, 2015 at 5:15 PM, Derek Ogle <DOgle at northland.edu> wrote:
>> I was hoping to submit a new version of my FSA package today when I noticed that the current version on CRAN has an error on the CRAN checks page (which I don't believe was there when I first submitted that version of the package).  The error is detailed here (https://cran.r-project.org/web/checks/check_results_FSA.html) and copied below.  The error is only for the "r-devel-windows-ix86+x86_64" flavor and appears to be related to missing gdata and testthat packages.  I looked at both the gdata and testthat packages on CRAN and they have clean CRAN checks.  I looked at a handful of other packages that depend on gdata and testthat and they appear to have clean CRAN checks.  I checked the package on win-builder and it did not return any errors.  Any pointers?
>>
>> ---------------------------------
>> Version: 0.8.1
>> Check: examples
>> Result: ERROR
>>      Running examples in 'FSA-Ex.R' failed
>>      The error most likely occurred in:
>>
>>      > ### Name: Subset
>>      > ### Title: Subsets/filters a data frame and drops the unused levels.
>>      > ### Aliases: Subset filterD
>>      > ### Keywords: misc
>>      >
>>      > ### ** Examples
>>      >
>>      > ## The problem -- note use of unused level in the final table.
>>      > levels(iris$Species)
>>      [1] "setosa" "versicolor" "virginica"
>>      > iris.set1 <- subset(iris,Species=="setosa" | Species=="versicolor")
>>      > levels(iris.set1$Species)
>>      [1] "setosa" "versicolor" "virginica"
>>      > xtabs(~Species,data=iris)
>>      Species
>>       setosa versicolor virginica
>>       50 50 50
>>      >
>>      > ## A simpler fix using Subset
>>      > iris.set2 <- Subset(iris,Species=="setosa" | Species=="versicolor")
>>      Loading required namespace: gdata
>>      Failed with error: 'there is no package called 'gdata''
>>      Error: 'filterD' requires the 'gdata' package to be installed!
>>      Execution halted
>> Flavor: r-devel-windows-ix86+x86_64
>> Version: 0.8.1
>> Check: tests
>> Result: ERROR
>>      Running the tests in 'tests/test-all.R' failed.
>>      Last 13 lines of output:
>>       Type 'license()' or 'licence()' for distribution details.
>>
>>       R is a collaborative project with many contributors.
>>       Type 'contributors()' for more information and
>>       'citation()' on how to cite R or R packages in publications.
>>
>>       Type 'demo()' for some demos, 'help()' for on-line help, or
>>       'help.start()' for an HTML browser interface to help.
>>       Type 'q()' to quit R.
>>
>>       > library(testthat)
>>       Error in library(testthat) : there is no package called 'testthat'
>>       Execution halted
>> Flavor: r-devel-windows-ix86+x86_64
>> Version: 0.8.1
>> ---------------------------------
>>
>> Dr. Derek H. Ogle
>> Professor of Mathematical Sciences & Natural Resources
>> Northland College
>> 1411 Ellis Ave
>> Ashland, WI  54806
>>
>> e-mail: dogle at northland.edu
>> web: derekogle.com
>> fishr: derekogle.com/fishR/
>> Introduction to Fisheries Analysis with R book: derekogle/com/IFAR/
>>
>> ______________________________________________
>> R-package-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>
>
>



More information about the R-package-devel mailing list