Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-07 Thread Dirk Eddelbuettel
On 7 September 2018 at 10:38, Hadley Wickham wrote: | On Fri, Sep 7, 2018 at 9:13 AM Iñaki Ucar wrote: | > El vie., 7 sept. 2018 a las 16:03, Ralf Stubner | > () escribió: | > > On 07.09.2018 15:52, Iñaki Ucar wrote: | > > Tests in 'inst/test' got deprecated later on: | > > | > >

Re: [R-pkg-devel] fatal error: 'ilcplex/ilocplex.h' file not found

2018-09-07 Thread Duncan Murdoch
On 07/09/2018 4:28 PM, gangesh beri wrote: Hey, I am trying to submit an R package to CRAN but it shows this particular error fatal error: 'ilcplex/ilocplex.h' file not found, when I run R CMD check --as-cran. I am using this particular library in my package but I am not able to figure out how

[R-pkg-devel] fatal error: 'ilcplex/ilocplex.h' file not found

2018-09-07 Thread gangesh beri
Hey, I am trying to submit an R package to CRAN but it shows this particular error fatal error: 'ilcplex/ilocplex.h' file not found, when I run R CMD check --as-cran. I am using this particular library in my package but I am not able to figure out how to resolve it. I have also attached a file

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-07 Thread Spencer Graves
On 2018-09-07 12:10, Duncan Murdoch wrote: ... I would guess because it can’t. If there would be a standardised way of identifying that the test is run on CRAN, I would use this immediately. Then your package would fail when I ran the tests, because I don't have an API key, and I am

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-07 Thread Duncan Murdoch
On 07/09/2018 3:09 AM, Rainer Krug wrote: On 7 Sep 2018, at 02:16, Duncan Murdoch > wrote: On 06/09/2018 10:32 AM, Hadley Wickham wrote: On Wed, Sep 5, 2018 at 3:03 PM Duncan Murdoch mailto:murdoch.dun...@gmail.com>> wrote: On 05/09/2018 2:20 PM, Henrik

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-07 Thread Hadley Wickham
On Fri, Sep 7, 2018 at 9:13 AM Iñaki Ucar wrote: > > El vie., 7 sept. 2018 a las 16:03, Ralf Stubner > () escribió: > > > > On 07.09.2018 15:52, Iñaki Ucar wrote: > > > For the record, this is what the testthat paper in the R Journal says: > > > > > > "[...] I recommend storing your tests in

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-07 Thread Iñaki Ucar
El vie., 7 sept. 2018 a las 16:03, Ralf Stubner () escribió: > > On 07.09.2018 15:52, Iñaki Ucar wrote: > > For the record, this is what the testthat paper in the R Journal says: > > > > "[...] I recommend storing your tests in inst/tests/ (so users also > > have access to them), then including

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-07 Thread Ralf Stubner
On 07.09.2018 15:52, Iñaki Ucar wrote: > For the record, this is what the testthat paper in the R Journal says: > > "[...] I recommend storing your tests in inst/tests/ (so users also > have access to them), then including one file in tests/ that runs all > of the package tests. The

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-07 Thread Iñaki Ucar
El vie., 7 sept. 2018 a las 15:28, Dirk Eddelbuettel () escribió: > > > On 7 September 2018 at 13:08, Gábor Csárdi wrote: > | On Fri, Sep 7, 2018 at 12:29 PM Dirk Eddelbuettel wrote: > | > > | > > | > On 7 September 2018 at 09:27, Gábor Csárdi wrote: > | > | When are users running tests for

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-07 Thread Dirk Eddelbuettel
On 7 September 2018 at 13:08, Gábor Csárdi wrote: | On Fri, Sep 7, 2018 at 12:29 PM Dirk Eddelbuettel wrote: | > | > | > On 7 September 2018 at 09:27, Gábor Csárdi wrote: | > | When are users running tests for packages at all? The tests are by default | > | no even installed with the package.

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-07 Thread Duncan Murdoch
On 07/09/2018 4:27 AM, Gábor Csárdi wrote: On Fri, Sep 7, 2018 at 9:01 AM Duncan Murdoch wrote: [...] I think it's useful to think of 3 groups who might run tests: - authors - CRAN - other users of a package. What Hadley was arguing for is that CRAN should identify itself to a

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-07 Thread Gábor Csárdi
On Fri, Sep 7, 2018 at 12:29 PM Dirk Eddelbuettel wrote: > > > On 7 September 2018 at 09:27, Gábor Csárdi wrote: > | When are users running tests for packages at all? The tests are by default > | no even installed with the package. The only time I usually do this is when > > Which some people

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-07 Thread Dirk Eddelbuettel
On 7 September 2018 at 09:27, Gábor Csárdi wrote: | When are users running tests for packages at all? The tests are by default | no even installed with the package. The only time I usually do this is when Which some people consider to be the wrong decision by testthat. Base R has a set of

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-07 Thread Spencer Graves
On 2018-09-07 01:18, David Hugh-Jones wrote: On Fri, 7 Sep 2018 at 01:16, Duncan Murdoch wrote: When packages delete tests just for CRAN, the quality of the repository suffers. Users should be able to check an install by running the tests that passed on CRAN and seeing them pass on their

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-07 Thread David Hugh-Jones
On Fri, 7 Sep 2018 at 09:01, Duncan Murdoch wrote: > > I think it's useful to think of 3 groups who might run tests: > > - authors > - CRAN > - other users of a package. > > What Hadley was arguing for is that CRAN should identify itself to a > package, so that by default a package could

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-07 Thread Gábor Csárdi
On Fri, Sep 7, 2018 at 9:01 AM Duncan Murdoch wrote: [...] > > I think it's useful to think of 3 groups who might run tests: > > - authors > - CRAN > - other users of a package. > > What Hadley was arguing for is that CRAN should identify itself to a > package, so that by default a package

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-07 Thread Rainer Krug
> On 7 Sep 2018, at 02:16, Duncan Murdoch wrote: > > On 06/09/2018 10:32 AM, Hadley Wickham wrote: >> On Wed, Sep 5, 2018 at 3:03 PM Duncan Murdoch >> wrote: >>> >>> On 05/09/2018 2:20 PM, Henrik Bengtsson wrote: I take a complementary approach; I condition on, my home-made,

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-07 Thread David Hugh-Jones
On Fri, 7 Sep 2018 at 01:16, Duncan Murdoch wrote: > > > When packages delete tests just for CRAN, the quality of the repository > suffers. Users should be able to check an install by running the tests > that passed on CRAN and seeing them pass on their system as well. In my limited