Re: [R-pkg-devel] check cross-references error: Non-file package-anchored link(s)

2020-06-16 Thread Wayne Oldford
Thank you! -Original Message- From: Gábor Csárdi Date: Tuesday, June 16, 2020 at 4:32 PM To: Wayne Oldford Cc: List r-package-devel Subject: Re: [R-pkg-devel] check cross-references error: Non-file package-anchored link(s) This is how to look up the filename. The first "sp" is th

Re: [R-pkg-devel] Uncaught use of internal functions from other packages in R CMD check

2020-06-16 Thread William Dunlap
And at least one widely used CRAN package defines `%:::%`, to mimic `:::`, and uses it to use unexported functions from the tools package. Bill Dunlap TIBCO Software wdunlap tibco.com On Mon, Jun 15, 2020 at 3:03 PM Balasubramanian Narasimhan < na...@stanford.edu> wrote: > At least one package

Re: [R-pkg-devel] check cross-references error: Non-file package-anchored link(s)

2020-06-16 Thread Gábor Csárdi
This is how to look up the filename. The first "sp" is the topic name, the second is the package name. > help("sp", "sp")[[1]] [1] "C:/Users/csard/R/win-library/4.0/sp/help/00sp" So you need to link to the "00sp.Rd" file: \link[sp:00sp]{sp} Gabor On Tue, Jun 16, 2020 at 9:09 PM Wayne Oldford

Re: [R-pkg-devel] check cross-references error: Non-file package-anchored link(s)

2020-06-16 Thread Wayne Oldford
Hi I got caught by this new test this week in trying to push an updated release of the loon package to CRAN. By following this thread, I corrected my cross-references to external packages but I got stymied by the one I hoped to give to the "sp" package for Spatial data _ Here is th

[R-pkg-devel] SAR package: check errors with dataset documentation

2020-06-16 Thread Hong Ooi via R-package-devel
Hello all, I'm refreshing the docs for my SAR package ( https://github.com/hongooi73/SAR ), and I'm running into a weird problem. The package contains 2 example data frames, 'ms_catalog' and 'ms_usage'. Here is the relevant documentation for them, in the file R/ms_data.R: #' Sample usage datas

Re: [R-pkg-devel] check cross-references error: Non-file package-anchored link(s)

2020-06-16 Thread Georgi Boshnakov
I think that the current behaviour is documented in WRE: "...There are two other forms of optional argument specified as \link[pkg]{foo} and \link[pkg:bar]{foo} to link to the package pkg, to files foo.html and bar.html respectively. These are rarely needed, perhaps to refer to not-yet-installed

Re: [R-pkg-devel] check cross-references error: Non-file package-anchored link(s)

2020-06-16 Thread Gábor Csárdi
On Mon, Jun 15, 2020 at 5:30 PM Duncan Murdoch wrote: > > On 15/06/2020 12:05 p.m., Martin Maechler wrote: > >> Duncan Murdoch on Sun, 14 Jun 2020 07:28:03 -0400 writes: > > > > > I agree with almost everything you wrote, except one thing: this > > isn't > > > newly enforced, it

Re: [R-pkg-devel] check cross-references error: Non-file package-anchored link(s)

2020-06-16 Thread David Hugh-Jones
Thank you so much! David On Tue, 16 Jun 2020 at 08:36, Georgi Boshnakov < georgi.boshna...@manchester.ac.uk> wrote: > The Rd file is mplus.Rd, so > ‘[lubridate:mplus]{lubridate::add_with_rollback()}’ would do. > > Georgi Boshnakov > > -Original Message- > From: R-package-devel On Behal

Re: [R-pkg-devel] check cross-references error: Non-file package-anchored link(s)

2020-06-16 Thread Georgi Boshnakov
The Rd file is mplus.Rd, so ‘[lubridate:mplus]{lubridate::add_with_rollback()}’ would do. Georgi Boshnakov -Original Message- From: R-package-devel On Behalf Of David Hugh-Jones Sent: 16 June 2020 07:51 To: Duncan Murdoch Cc: List r-package-devel Subject: Re: [R-pkg-devel] check c