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

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Sat Jun 6 21:53:53 CEST 2020


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



More information about the R-devel mailing list