Closed kbenoit closed 4 years ago
formatR is available on all platforms. The problem is you used the chunk option tidy = TRUE
in your vignette, but R CMD check
assumes only packages declared as dependencies (either soft or hard) are available when it's running.
Please see https://github.com/constantAmateur/SoupX/pull/48 for the fix (SoupX currently has the same problem as your package).
Thanks so much for the quick reply, that fixed it!!
For our package quanteda, we're seeing this problem in all of the windows version checks. My interpretation is that the formatR package is unavailable for these platforms, but it's unclear.
Our package was not breaking like this on the CRAN checks until the 4.0 releases started appearing.
By filing an issue to this repo, I promise that
xfun::session_info('formatR')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('yihui/formatR')
.I understand that my issue may be closed if I don't fulfill my promises.