Bugzilla – Bug 14273
Compressed data tables are not lazyload-ed if they carry the .gz extension
Last modified: 2010-05-16 09:09:10 UTC
According to the Writing R Extensions manual,
"As from R 2.10.0 tables (`.tab', `.txt', or `.csv' files) can be
compressed by `gzip', `bzip2' or `xz', optionally with additional
extension `.gz', `.bz2' or `.xz'."
However, when I put a file with the .gz extension in my package data/ subdirectory and specify LazyData: yes, the file is not lazyload-ed by R CMD INSTALL. For the same compressed file, if I leave out the .gz extension, it is lazyload-ed.
I am attaching a small package to illustrate this.
Created attachment 1100 [details]
Mini R package to illustrate the problem
fixed for 2.11.1