Hello,
When I run
R CMD build --binary pkgname
I get
* checking for file 'pkgname/DESCRIPTION' ... OK
* preparing 'pkgname':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* removing junk files
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building binary distribution
* installing *source* package 'pkgname' ...
Using auto-selected zip option '--use-zip-data'
and so on.
Is there anyway to have R CMD build not use the zip option
'--use-zip-data'?
Alternatively, I have a text file in the \data folder called
"sample.txt" and I want users to be able to get the filename by typing
filename <- system.file("data", "sample.txt", package = "pkgname")
which they cannot do if it gets zipped. Is there a workaround?
Thanks,
Andrew
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.