Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R-package building with devtools::build_win(): Version contains large components (0.0.0.9000)

Tags:

r

I'm reading Hadley Wickham's R Packages book to make my first R package and submitted my package to be built on a Windows machine using devtools::build_win(). As recommended in the book, I'm trying eliminate all NOTES so that I have a smooth CRAN submission experience. I can't get rid of this NOTE, and it is my only NOTE remaining (I have no ERRORS or WARNINGS):

Version contains large components (0.0.0.9000)

What does large components mean? How do I get winbuild to get rid of this NOTE?

like image 431
swihart Avatar asked Apr 18 '16 18:04

swihart


1 Answers

Two things: the NOTE is due to your package being a first submission. Looking at win-builder's 00check.log you might see:

* checking CRAN incoming feasibility ... NOTE
Maintainer: 'First Last <[email protected]>'

New submission

Version contains large components (0.0.0.9000)

Change the version number in your DESCRIPTION file such that none of the individual components of the version (major.minor.patch.etc) are greater than or equal to 1234, perhaps to 0.1.0, getting rid of the fourth component. This will remove the Version contains large components (0.0.0.9000) but the NOTE will remain because it is your first submission of the package.

like image 73
swihart Avatar answered Oct 06 '22 10:10

swihart