Re: [R-pkg-devel] NOTE in r-devel-linux-x86_64-fedora-clang

2020-08-07 Thread Ben Bolker
On 8/7/20 8:35 PM, Duncan Murdoch wrote: On 07/08/2020 6:53 p.m., Helmut Schütz wrote: Hi Duncan, Duncan Murdoch wrote on 2020-08-07 21:55: On 07/08/2020 3:22 p.m., Helmut Schütz wrote: I see. However, the HTML-source states This manual is for R, version 4.1.0 Under development (2020-08-06)

Re: [R-pkg-devel] NOTE in r-devel-linux-x86_64-fedora-clang

2020-08-07 Thread Duncan Murdoch
On 07/08/2020 6:53 p.m., Helmut Schütz wrote: Hi Duncan, Duncan Murdoch wrote on 2020-08-07 21:55: On 07/08/2020 3:22 p.m., Helmut Schütz wrote: I see. However, the HTML-source states This manual is for R, version 4.1.0 Under development (2020-08-06). I was relying on the PDF-version (4.0.2 o

Re: [R-pkg-devel] NOTE in r-devel-linux-x86_64-fedora-clang

2020-08-07 Thread Helmut Schütz
Hi Duncan, Duncan Murdoch wrote on 2020-08-07 21:55: On 07/08/2020 3:22 p.m., Helmut Schütz wrote: I see. However, the HTML-source states This manual is for R, version 4.1.0 Under development (2020-08-06). I was relying on the PDF-version (4.0.2 of 2020-06-22) which does *not* contain this sen

Re: [R-pkg-devel] NOTE in r-devel-linux-x86_64-fedora-clang

2020-08-07 Thread Duncan Murdoch
On 07/08/2020 3:22 p.m., Helmut Schütz wrote: Hi Duncan, Duncan Murdoch wrote on 2020-08-07 18:39: You're reading the wrong version of the manual.  This is in the R-devel manual: "Packages referred to by these ‘other forms’ should be declared in the DESCRIPTION file, in the ‘Depends’, ‘Imports

Re: [R-pkg-devel] NOTE in r-devel-linux-x86_64-fedora-clang

2020-08-07 Thread Helmut Schütz
Hi Duncan, Duncan Murdoch wrote on 2020-08-07 18:39: You're reading the wrong version of the manual.  This is in the R-devel manual: "Packages referred to by these ‘other forms’ should be declared in the DESCRIPTION file, in the ‘Depends’, ‘Imports’, ‘Suggests’ or ‘Enhances’ fields. " This

Re: [R-pkg-devel] NOTE in r-devel-linux-x86_64-fedora-clang

2020-08-07 Thread Duncan Murdoch
On 07/08/2020 11:02 a.m., Brian G. Peterson wrote: On Fri, 2020-08-07 at 15:46 +0100, Gábor Csárdi wrote: If you want to link to a package in the documentation, you'll have to add it to Suggests. This doesn't make any sense. If you don't use the code from that package anywhere, then a cross-

Re: [R-pkg-devel] NOTE in r-devel-linux-x86_64-fedora-clang

2020-08-07 Thread Jeff Newmiller
The whole point of the Suggests package relationship is that you don't actually have to have it installed to use the package. It does have to be installed to check the package, which allows the link to be tested at least once before being released. On August 7, 2020 8:02:47 AM PDT, "Brian G. Pe

Re: [R-pkg-devel] NOTE in r-devel-linux-x86_64-fedora-clang

2020-08-07 Thread Gábor Csárdi
On Fri, Aug 7, 2020 at 3:51 PM Helmut Schütz wrote: > > Hi Gábor, > > Gábor Csárdi wrote on 2020-08-07 16:46: > > If you want to link to a package in the documentation, you'll have to > > add it to Suggests. > > THX, will do. Is this documented somewhere? The check is documented in https://cran.r

Re: [R-pkg-devel] NOTE in r-devel-linux-x86_64-fedora-clang

2020-08-07 Thread Helmut Schütz
Hi Gábor, THX again. Case closed. Helmut Gábor Csárdi wrote on 2020-08-07 17:02: On Fri, Aug 7, 2020 at 3:51 PM Helmut Schütz wrote: Hi Gábor, Gábor Csárdi wrote on 2020-08-07 16:46: If you want to link to a package in the documentation, you'll have to add it to Suggests. THX, will do. Is

Re: [R-pkg-devel] NOTE in r-devel-linux-x86_64-fedora-clang

2020-08-07 Thread Brian G. Peterson
On Fri, 2020-08-07 at 15:46 +0100, Gábor Csárdi wrote: > If you want to link to a package in the documentation, you'll have to > add it to Suggests. This doesn't make any sense. If you don't use the code from that package anywhere, then a cross-reference to that package should not require the e

Re: [R-pkg-devel] NOTE in r-devel-linux-x86_64-fedora-clang

2020-08-07 Thread Helmut Schütz
Hi Brian, you take the words out of my mouth. However, we were slapped in the face... Helmut Brian G. Peterson wrote on 2020-08-07 17:02: On Fri, 2020-08-07 at 15:46 +0100, Gábor Csárdi wrote: If you want to link to a package in the documentation, you'll have to add it to Suggests. This does

Re: [R-pkg-devel] NOTE in r-devel-linux-x86_64-fedora-clang

2020-08-07 Thread Helmut Schütz
Hi Gábor, Gábor Csárdi wrote on 2020-08-07 16:46: If you want to link to a package in the documentation, you'll have to add it to Suggests. THX, will do. Is this documented somewhere? Any why don't the *other* installations of CRAN complain as well? Helmut -- Ing. Helmut Schütz BEBAC – Con

Re: [R-pkg-devel] NOTE in r-devel-linux-x86_64-fedora-clang

2020-08-07 Thread Gábor Csárdi
If you want to link to a package in the documentation, you'll have to add it to Suggests. Gabor On Fri, Aug 7, 2020 at 3:45 PM Helmut Schütz wrote: > > Dear all, > > I'm struggling to understand this NOTE in > r-devel-linux-x86_64-fedora-clang (only) > https://cran.r-project.org/web/checks/check

[R-pkg-devel] NOTE in r-devel-linux-x86_64-fedora-clang

2020-08-07 Thread Helmut Schütz
Dear all, I'm struggling to understand this NOTE in r-devel-linux-x86_64-fedora-clang (only) https://cran.r-project.org/web/checks/check_results_PowerTOST.html emmeans is a great package (THX Russell!) but we don't use it anywhere in ours. Only in two man pages we have ... obtained via \code

Re: [R-pkg-devel] Package can't be imported with Suggests

2020-08-07 Thread Simon Bonner
Hi all, Thanks for the suggestions and comments. I found a way to allow nimble to work and avoid the note when checking the package. My solution is to use: requireNamespace(nimble) attachNamespace("nimble") I have a feeling that this may be against the spirit of the check (I believe that it es