there. I am creating a Stan-based R package. I know that the devtools::check(args = c('--as-cran'))
runtime (which involves compiling the C++ codes) is slow. In my case, it takes about 20 minutes. Fortunately, the devtools::check_win_release()
and devtools::build()
commands are quick in a few seconds.
However, I recently link the package to my GitHub repository for the version control. The differences are the additional README.md
and README.Rmd
files. And, I have added ^README\.Rmd$
and ^README\.md$
to .Rbuildignore
. Now, I notice that the runtime for devtools::check_win_release()
and devtools::build()
becomes very slow. It will display the message "installing the package to process help pages" for quite a bit of time and then continue on.
What has caused this issue? Any comments? Thanks.