R Package : Size note : LazyDataCompression : testhat fail:object not found

If i use lazyData:TRUE is description file than run devtools::check().it show me a note on size : 82.9 mb .
If i change lazyData to lazyDataCompression in description file than devtools::check() give me size note of 46.5 mb which i expected . but by using lazyDataCompression my test get failed by showing some error like object not found … so because of compression testthat don’t work ,may be beacuse of compression object are not visible to testthat. so i don’t understand how can i handle such thing. i am developing package for CRAN

1 Like