Re: [R-pkg-devel] possible solution to package-documentation-alias problem

2023-08-20 Thread Dirk Eddelbuettel
On 20 August 2023 at 09:22, Duncan Murdoch wrote: | That seems like a bug that should be reported to the Roxygen authors. Seb did so in June: https://github.com/r-lib/roxygen2/issues/1491 There has not been a response (but given the CRAN email to many maintainers it has now been referenced

Re: [R-pkg-devel] possible solution to package-documentation-alias problem

2023-08-20 Thread Duncan Murdoch
That seems like a bug that should be reported to the Roxygen authors. Duncan Murdoch On 20/08/2023 8:22 a.m., Thomas Rusch wrote: Dear list, I'd like to add that it looks like if the package has the same name as a function in the package, the default aliasing using the "_PACKAGE" sentinel will

Re: [R-pkg-devel] possible solution to package-documentation-alias problem

2023-08-20 Thread Thomas Rusch
Dear list, I'd like to add that it looks like if the package has the same name as a function in the package, the default aliasing using the "_PACKAGE" sentinel will create two aliases of the same name in different .Rd files and R CMD check --as-cran will complain, E.g. using roxygen #'@keyw

Re: [R-pkg-devel] possible solution to package-documentation-alias problem

2023-08-19 Thread Duncan Murdoch
When you get a note from CRAN, remember that it ignores Roxygen comments completely. It's just looking at the files that Roxygen produces. So you should look at the .Rd files when you get a complaint about them. Your previous code would have produced a file named plan.Rd, and that file didn'

Re: [R-pkg-devel] possible solution to package-documentation-alias problem

2023-08-19 Thread Roy Mendelssohn - NOAA Federal via R-package-devel
Thanks Dan. Also see: https://r-pkgs.org/man.html#sec-man-package-doc My understanding is that literally thousands of packages are broken in the same way. -Roy > On Aug 19, 2023, at 5:54 AM, Daniel Kelley wrote: > > # Preamble > > This email is to tell other developers what I did to addres