It seems that they are defined in tools/R/check.R. For instance, line
363-364 says:
## The default set of packages here are as they are because
## .get_S3_generics_as_seen_from_package needs utils,graphics,stats
and then on lines 368 (Windows) and 377 (other OS) it has:
"R_DEFAULT_P
> Adrian Dușa
> on Tue, 13 Mar 2018 09:17:08 +0200 writes:
> On Mon, Mar 12, 2018 at 2:18 PM, Martin Maechler
> wrote:
>> [...]
>> Is that so? Not according to my reading of the 'Writing R
>> Extensions' manual, nor according to what I have been doing in
>>
On Mon, Mar 12, 2018 at 2:18 PM, Martin Maechler
wrote:
> [...]
> Is that so? Not according to my reading of the 'Writing R
> Extensions' manual, nor according to what I have been doing in
> all of my packages for ca. 2 years:
>
> The rule I have in my mind is
>
> 1) NAMESPACE Import(s|From) \
> Adrian Dușa
> on Fri, 9 Mar 2018 10:34:30 +0200 writes:
> Dear All,
> I understand the R CMD checks with only the base package attached,
> everything else (including the other packages bundled with the base R)
> should be imported and most importantly declared in the
Dear All,
I understand the R CMD checks with only the base package attached,
everything else (including the other packages bundled with the base R)
should be imported and most importantly declared in the Imports field from
the DESCRIPTION file.
However, I do use functions from other packages than