[Rd] bzip2'ed data under data/

Sebastian P. Luque spluque at gmail.com
Mon Mar 19 21:25:20 CET 2012


Hi,

R CMD check PACKAGE_VERSION_tar.gz gives warning:

Files not of a type allowed in a ‘data’ directory:
  ‘tser1.csv.bz2’ ‘tser2.csv.bz2’
Please use e.g. ‘inst/extdata’ for non-R data files

which I didn't expect, based on section 1.1.5 (Data in packages) of the
Writing R Extensions manual:

Tables (`.tab', `.txt', or `.csv' files) can be compressed by
`gzip', `bzip2' or `xz', optionally with additional extension `.gz',
`.bz2' or `.xz'.  However, such files can only be used with R 2.10.0 or
later, and so the package should have an appropriate `Depends' entry in
its DESCRIPTION file.

In this case, I have a Depends: R (>= 2.13.0), and the package was built
with R version 2.15.0 beta (2012-03-16 r58769), Platform:
x86_64-pc-linux-gnu (64-bit), so I don't understand the warning.

Cheers,

-- 
Seb



More information about the R-devel mailing list