Including caret in another package gives error during devtools::check() - "there is no package called 'lattice'"

Thank you. You never know when the responses will be useful for someone.

I have tried changing the location of caret in the imports but it does not help. By the way, I was having a similar issue with the forecast package and for that it helped to move it to the end. See my other open post here: Order of libraries in the Imports sectiion of DESCRIPTION file

1 Like