R CMD Check "Preparing" package

I'm running devtools::check() and it takes about 13 mins to run. About 9mins of this time is on the step which follows the check for the description file, which is labeled "Preparing 'pkgname'. Does anyone know what's happening in this step?

What is happening in this step is building the package, likely you have some large file in your package directory that has to be copied. Notice that the way R CMD build works even if the file is in .Rbuildignore it will still be copied, then deleted and symlinks are deep copied, so you really do need to remove all large files from the package directory before trying to run check.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.