Making an R data package and R-CMD-check

I am making a small R data package that contains raster data.

When doing the R-CMD-check I recieve this warning:

Warning: LazyData DB of 34.5 MB without LazyDataCompression set

Is the R-CMD-check only for package distribution on CRAN.

If it fail to complains with CRAN requierements, can I keep the package distribution only in a GitHub repositorie?

Sure, R CMD check is for CRAN only, your package is fine on GitHub.

OTOH you can try setting LazyDataCompression (see "Writing R extensions"), and then the warning might go away.

1 Like

Thank you very much Gabor.

I will take a look on that.

Manuel