Skip to content
Prev 131423 / 398502 Next

Building package - tab delimited example data issue

Johannes Graumann wrote:
Yes, but...

This works right until you turn on LazyData for your package, then you
end up with only

00Index  Rdata.rdb  Rdata.rds  Rdata.rdx

in the data directory. Use the "inst" source subdir for files you want
to have installed explicitly.

Also, in principle, it is

system.file("data", "stroke.csv", package="ISwR")


although platforms that do not understand "/" as the path separator are
rare nowadays.