From murdoch@dunc@n @end|ng |rom gm@||@com  Sat Jun  6 21:53:53 2020
From: murdoch@dunc@n @end|ng |rom gm@||@com (Duncan Murdoch)
Date: Sat, 6 Jun 2020 15:53:53 -0400
Subject: [Rd] 
 Change in package.skeleton behavior from R 3.6.3 to R 4.0.0 ?
In-Reply-To: <656c2251-4a91-47d5-c62e-848535dd744b@gmail.com>
References: <24283.59677.373606.9673@rob.eddelbuettel.com>
 <656c2251-4a91-47d5-c62e-848535dd744b@gmail.com>
Message-ID: <2f768fa0-512c-2cbb-7bd2-30dda5b08b39@gmail.com>

On 06/06/2020 3:44 p.m., Duncan Murdoch wrote:
> On 06/06/2020 3:06 p.m., Dirk Eddelbuettel wrote:
  ... [deletions]
>> In short, 4.0.0 no longer exports via 'exportPattern("^[[:alpha:]]+")'
>> rendering the new package created non-functional.
>>
>> Was this intentional, or is this a bug we can look into fixing for R 4.0.2 ?
> 
> It's in the NEWS, so I'd assume it was intentional:
> 
>    - package.skeleton() now explicitly lists all exports in the
> ?NAMESPACE? file.
> 
> An earlier version of that message even showed up in the link you posted.

Something else in that link is presented more obviously in the svn log 
entry:

r76945 | hornik | 2019-08-10 04:13:48 -0400 (Sat, 10 Aug 2019) | 1 line
Changed paths:
    M /trunk/doc/NEWS.Rd
    M /trunk/src/library/utils/R/package.skeleton.R

Have package.skeleton() explicitly list all exports.

This change happened in August, 2019, about 10 months ago.  Perhaps this 
message asking people to test R-devel is relevant:

https://stat.ethz.ch/pipermail/r-devel/2020-May/079484.html

Duncan Murdoch



[Rd] Change in package.skeleton behavior from R 3.6.3 to R 4.0.0 ?
Duncan Murdoch