When I run devtools::check on my package locally, I don't get this error, but when I submit my package to CRAN, or when I run devtools::check_win_devel, I get this error:
'LazyData' is specified without a 'data' directory
I successfully submitted my package to CRAN a week or so ago and didn't get this error, all I changed was the DESCRIPTION file.