Re: [R-pkg-devel] Errors from Suggests or Enhances not in mainstream repositories

2018-07-03 Thread Hadley Wickham
On Tue, Jul 3, 2018 at 5:57 AM, Duncan Murdoch wrote: > On 02/07/2018 6:13 PM, Ben Bolker wrote: >> >> I got something similar. I have a few thoughts: >> >> (1) you should use "if (require(citrus)) { ... }" in your examples; >> "Suggests" and "Enhances" packages are supposed to be *optional*,

Re: [R-pkg-devel] Errors from Suggests or Enhances not in mainstream repositories

2018-07-03 Thread Duncan Murdoch
On 02/07/2018 6:13 PM, Ben Bolker wrote: I got something similar. I have a few thoughts: (1) you should use "if (require(citrus)) { ... }" in your examples; "Suggests" and "Enhances" packages are supposed to be *optional*, i.e. examples and tests should be able to run even if they're not

Re: [R-pkg-devel] Errors from Suggests or Enhances not in mainstream repositories

2018-07-03 Thread Duncan Murdoch
On 02/07/2018 4:18 PM, Throm, Allison wrote: Hi all, I'm trying to submit a package to the CRAN that further examines results from the "citrus" package as done for an accepted publication (available on Github: ). I do not get any errors when using

Re: [R-pkg-devel] Errors from Suggests or Enhances not in mainstream repositories

2018-07-02 Thread Uwe Ligges
On 03.07.2018 00:41, Ben Bolker wrote: Thanks, Uwe. Responses inline. On Mon, Jul 2, 2018 at 6:23 PM Uwe Ligges wrote: On 03.07.2018 00:13, Ben Bolker wrote: I got something similar. I have a few thoughts: (1) you should use "if (require(citrus)) { ... }" in your examples;

Re: [R-pkg-devel] Errors from Suggests or Enhances not in mainstream repositories

2018-07-02 Thread Ben Bolker
Thanks, Uwe. Responses inline. On Mon, Jul 2, 2018 at 6:23 PM Uwe Ligges wrote: > > > > On 03.07.2018 00:13, Ben Bolker wrote: > > I got something similar. I have a few thoughts: > > > > (1) you should use "if (require(citrus)) { ... }" in your examples; > > "Suggests" and "Enhances" packages

Re: [R-pkg-devel] Errors from Suggests or Enhances not in mainstream repositories

2018-07-02 Thread Uwe Ligges
On 03.07.2018 00:13, Ben Bolker wrote: I got something similar. I have a few thoughts: (1) you should use "if (require(citrus)) { ... }" in your examples; "Suggests" and "Enhances" packages are supposed to be *optional*, i.e. examples and tests should be able to run even if they're not

Re: [R-pkg-devel] Errors from Suggests or Enhances not in mainstream repositories

2018-07-02 Thread Ben Bolker
I got something similar. I have a few thoughts: (1) you should use "if (require(citrus)) { ... }" in your examples; "Suggests" and "Enhances" packages are supposed to be *optional*, i.e. examples and tests should be able to run even if they're not installed (I would imagine that "Writing R

[R-pkg-devel] Errors from Suggests or Enhances not in mainstream repositories

2018-07-02 Thread Throm, Allison
Hi all, I'm trying to submit a package to the CRAN that further examines results from the "citrus" package as done for an accepted publication (available on Github: ). I do not get any errors when using devtools::check() on my Mac, which already has the