Re: [R-pkg-devel] Package used unconditionally only in testing

2021-01-08 Thread Dirk Eddelbuettel
On 8 January 2021 at 11:32, Henrik Bengtsson wrote: | R CMD check --as-cran will give an ERROR if not all Suggest:ed | packages are installed and available when it runs. This can be overridden with R_CHECK_FORCE_SUGGESTS_=false which may be helpful if Suggests: has a long tail of dependencies, o

Re: [R-pkg-devel] Package used unconditionally only in testing

2021-01-08 Thread Henrik Bengtsson
the NAMESPACE file when I don’t > > want it to be. > > > > > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > > Windows 10 > > > > > > > > *From: *Duncan Murdoch > > *Sent: *Friday, January 8, 20

Re: [R-pkg-devel] Package used unconditionally only in testing

2021-01-08 Thread Greg Freedman Ellis
is still in the NAMESPACE file when I don’t > want it to be. > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows 10 > > > > *From: *Duncan Murdoch > *Sent: *Friday, January 8, 2021 11:15 AM > *To: *Greg Freedman Ellis ; >

Re: [R-pkg-devel] Package used unconditionally only in testing

2021-01-08 Thread Jeff Newmiller
This is normally where the Suggests field is used. On January 8, 2021 6:17:58 AM PST, Greg Freedman Ellis wrote: >Hi all, > >I'm trying to update a package to conform to pass tests given >`_R_CHECK_DEPENDS_ONLY_=TRUE`. > >In this package, we only use the package `httptest` during testing, but >t

Re: [R-pkg-devel] Package used unconditionally only in testing

2021-01-08 Thread Duncan Murdoch
On 08/01/2021 9:17 a.m., Greg Freedman Ellis wrote: Hi all, I'm trying to update a package to conform to pass tests given `_R_CHECK_DEPENDS_ONLY_=TRUE`. In this package, we only use the package `httptest` during testing, but the tests are (almost) meaningless if it is not installed, so I would