Time required to run R CMD check
1
0
Entering edit mode
AR3513 • 0
@ar3513-11025
Last seen 3.7 years ago

Hi, 

I am trying to develop a bioconductor package. According to the guidelines, "the package should require less than 5 minutes to run R CMD check --no-build-vignettes". Does this include the time required to run the UnitTests?

At the moment, my R CMD check is correct (with no errors or warnings) but requires 6 minutes with the UnitTests. Without the UnitTests it requires around 4' 30'', which I assume is fine. So, I was wondering whether I should remove the UnitTests or not. 

Thanks very much in advance, 

Best wishes, 

Andrea

bioconductor • 834 views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 9 days ago
United States

Remember to ask questions about Bioconductor package development on the bioc-devel mailing list.

Don't remove the unit tests, but rather adjust vignettes / examples / tests so that they run within the 5 minute time limit. Use smaller data sets in the vignette / examples; avoid repetition; improve inefficient code. Remember that effective unit tests typically run quickly and test precise functionality, rather than 'integration' tests that assess some overall functionality.

ADD COMMENT

Login before adding your answer.

Traffic: 610 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6