Hi,
I am getting a strange error with 15.0 which I've not seen with previous
versions of R.
If sysdata.rda is included in R directory of the package I am getting:
R CMD build betfairly.roxygen/
* checking for file ?betfairly.roxygen/DESCRIPTION? ... OK
* preparing ?betfairly?:
* checking DESCRIPTION meta-information ... OK
* excluding invalid files
Subdirectory 'R' contains invalid file names:
?getMarketTradedVolume.Rd? ?sfdsfsd?
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
Removed empty directory ?betfairly/inst/doc?
* looking to see if a ?data/datalist? file should be added
Error in if (any(update)) { : missing value where TRUE/FALSE needed
Execution halted
If I remove the data everything is fine:
@~/works/betfair$ rm betfairly.roxygen/R/sysdata.rda
@~/works/betfair$ R CMD build betfairly.roxygen/
* checking for file ?betfairly.roxygen/DESCRIPTION? ... OK
* preparing ?betfairly?:
* checking DESCRIPTION meta-information ... OK
* excluding invalid files
Subdirectory 'R' contains invalid file names:
?getMarketTradedVolume.Rd? ?sfdsfsd?
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
Removed empty directory ?betfairly/inst/doc?
* building ?betfairly_1.2.1.tar.gz?
If I manually adding sysdata.rda after build then checks run ok.
Vitalie.
R version 2.15.0 (2012-03-30)
Copyright (C) 2012 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i686-pc-linux-gnu (32-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
http://www.gnu.org/licenses/.
Build fails with sysdata.rda in R dir
3 messages · Vitalie Spinu, Alastair, Uwe Ligges
7 days later
On 15.06.2012 16:37, Vitalie Spinu wrote:
Hi,
I am getting a strange error with 15.0 which I've not seen with previous
versions of R.
If sysdata.rda is included in R directory of the package I am getting:
R CMD build betfairly.roxygen/
* checking for file ?betfairly.roxygen/DESCRIPTION? ... OK
* preparing ?betfairly?:
* checking DESCRIPTION meta-information ... OK
* excluding invalid files
Subdirectory 'R' contains invalid file names:
?getMarketTradedVolume.Rd? ?sfdsfsd?
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
Removed empty directory ?betfairly/inst/doc?
* looking to see if a ?data/datalist? file should be added
Error in if (any(update)) { : missing value where TRUE/FALSE needed
Execution halted
If I remove the data everything is fine:
@~/works/betfair$ rm betfairly.roxygen/R/sysdata.rda
@~/works/betfair$ R CMD build betfairly.roxygen/
* checking for file ?betfairly.roxygen/DESCRIPTION? ... OK
* preparing ?betfairly?:
* checking DESCRIPTION meta-information ... OK
* excluding invalid files
Subdirectory 'R' contains invalid file names:
?getMarketTradedVolume.Rd? ?sfdsfsd?
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
Removed empty directory ?betfairly/inst/doc?
* building ?betfairly_1.2.1.tar.gz?
If I manually adding sysdata.rda after build then checks run ok.
Hmmm, and how have you added it before? Can you send us an example how to create an sysdata.rda that causes R to fail? If this is done vy roxygen, please ask the roxygen maintainers. If plainR, I am happy to look into it. Best, Uwe Ligges
Vitalie. R version 2.15.0 (2012-03-30) Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i686-pc-linux-gnu (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under the terms of the GNU General Public License versions 2 or 3. For more information about these matters see http://www.gnu.org/licenses/.
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel