G?bor Cs?rdi <csardi.gabor at gmail.com>
on Tue, 6 Feb 2018 19:26:55 -0800 writes:
> codetools is a recommended package, and it is part of most R
> installations. builder.r-hub.io is a bit more strict, it does have the
> recommended packages, on some builders at least, so codetools might be
> missing.
hmm... but a package maintainer has to also add recommended
packages to 'Suggests' if they are needed in the vignette (e.g.)
> On Tue, Feb 6, 2018 at 7:22 PM, David Scott <d.scott at auckland.ac.nz> wrote:
>> On a package I help maintain, we had a note from Kurt about a warning when
>> building vignettes on R-devel.
>>
>> It was
>>
>> Warning: You used a knitr feature that depends on the digest package.
>>
>> Checking the location of the error and googling it, I am pretty certain it
>> comes from cache = true for a chunk in the vignette.
>>
>> Adding digest as suggested package, I got no warning from winbuilder using
>> R-devel, but submitting to https://builder.r-hub.io gave me a new warning
>> from codetools at the same location as previously. Like digest, codetools is
>> suggested by knitr.