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/