Re: [Rd] Suggested dependencies in context of R CMD check

2016-04-06 Thread Jan Górecki
Hi Hadley and Gabriel, What do you think about new field in DESCRIPTION? For me it does perfect sense to have new field that lists those from Suggested deps which are truly needed to run check. The same way as vignetteBuilder. So couldn't be escaped with `if (requireNamespace(.)) ...`, or it would

Re: [Rd] Suggested dependencies in context of R CMD check

2016-04-04 Thread Duncan Murdoch
On 04/04/2016 7:12 PM, Paul Gilbert wrote: On 04/04/2016 01:56 PM, Duncan Murdoch wrote: On 04/04/2016 1:35 PM, Dirk Eddelbuettel wrote: On 4 April 2016 at 07:25, Hadley Wickham wrote: | On Sat, Apr 2, 2016 at 5:33 AM, Jan Górecki wrote: | | In principle, I believe a package should pass R CM

Re: [Rd] Suggested dependencies in context of R CMD check

2016-04-04 Thread Paul Gilbert
On 04/04/2016 01:56 PM, Duncan Murdoch wrote: On 04/04/2016 1:35 PM, Dirk Eddelbuettel wrote: On 4 April 2016 at 07:25, Hadley Wickham wrote: | On Sat, Apr 2, 2016 at 5:33 AM, Jan Górecki wrote: | | In principle, I believe a package should pass R CMD check if no | suggested packages are insta

Re: [Rd] Suggested dependencies in context of R CMD check

2016-04-04 Thread Duncan Murdoch
On 04/04/2016 1:35 PM, Dirk Eddelbuettel wrote: On 4 April 2016 at 07:25, Hadley Wickham wrote: | On Sat, Apr 2, 2016 at 5:33 AM, Jan Górecki wrote: | | In principle, I believe a package should pass R CMD check if no | suggested packages are installed. However, since this is not currently The r

Re: [Rd] Suggested dependencies in context of R CMD check

2016-04-04 Thread Dirk Eddelbuettel
On 4 April 2016 at 07:25, Hadley Wickham wrote: | On Sat, Apr 2, 2016 at 5:33 AM, Jan Górecki wrote: | | In principle, I believe a package should pass R CMD check if no | suggested packages are installed. However, since this is not currently The relevant manual says The 'Suggests' field u

Re: [Rd] Suggested dependencies in context of R CMD check

2016-04-04 Thread Gabriel Becker
Jan and Hadley, There's also the issue of tests, vignettes, or examples requiring Suggested packages (one of the core applications of Suggests, in fact). These are all checked by R CMD check, so to ensure any package which should pass check would do so without suggested packages installed would re

Re: [Rd] Suggested dependencies in context of R CMD check

2016-04-04 Thread Hadley Wickham
On Sat, Apr 2, 2016 at 5:33 AM, Jan Górecki wrote: > Dear R team, > > Are suggested dependencies mandatory in context of `R CMD check` when > using env var `_R_CHECK_FORCE_SUGGESTS_=FALSE`? > > Suggested dependencies are nice because are optional. > But that feature often isn't valid when trying t