-
From what I see https://github.com/wch/r-source/blob/3ab6f3a3a25a3a7cd557c278d2c8b0a6eaa32921/src/library/tools/R/check.R#L633-L637 you can only avoid the warning by
- not using
--as-cran
i.e. runningdevtools::check(cran = FALSE)
(which might make other warnings/errors/notes disappear). - making qpdf available somewhere (but that doesn't seem to be possible for you) and setting the environment variable
R_QPDF
to its location. It should be found by https://github.com/wch/r-source/blob/2f0b0f63c7ad4415f622e1aa55de5409fa09a446/src/library/tools/R/admin.R#L1040 (I haven't tested setting this environment variable butdevtools::check()
has anenv_vars
argument).
- not using
-
Related thread on this forum: QPDF is needed (error package).