Skip to content
Prev 3074 / 12125 Next

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

I take a complementary approach; I condition on, my home-made,
R_TEST_ALL variable.  Effectively, I do:

if (as.logical(Sys.getenv("R_TEST_ALL", "FALSE"))) {
   ...
}

and set R_TEST_ALL=TRUE when I want to run that part of the test.  You
can also imagine refined versions of this, e.g. R_TEST_SETS=foo,bar
and test scripts with:

if ("foo" %in% strsplit(Sys.getenv("R_TEST_SETS"), split="[, ]+")[[1]]) {
   ...makes no assumption
}

That avoids making assumptions on where the tests are submitted/run,
may it be CRAN, Bioconductor, Travis CI, ...

/Henrik

On Wed, Sep 5, 2018 at 11:08 AM Spencer Graves
<spencer.graves at effectivedefense.org> wrote:

Thread (38 messages)

Rainer M Krug Submission to CRAN when package needs personal data (API key) Sep 5 Uwe Ligges Submission to CRAN when package needs personal data (API key) Sep 5 Rainer M Krug Submission to CRAN when package needs personal data (API key) Sep 5 Peter Meissner Submission to CRAN when package needs personal data (API key) Sep 5 Spencer Graves Submission to CRAN when package needs personal data (API key) Sep 5 Gábor Csárdi Submission to CRAN when package needs personal data (API key) Sep 5 Spencer Graves Submission to CRAN when package needs personal data (API key) Sep 5 Henrik Bengtsson Submission to CRAN when package needs personal data (API key) Sep 5 Duncan Murdoch Submission to CRAN when package needs personal data (API key) Sep 5 Rainer M Krug Submission to CRAN when package needs personal data (API key) Sep 5 Thierry Onkelinx Submission to CRAN when package needs personal data (API key) Sep 6 Rainer M Krug Submission to CRAN when package needs personal data (API key) Sep 6 Hadley Wickham Submission to CRAN when package needs personal data (API key) Sep 6 Duncan Murdoch Submission to CRAN when package needs personal data (API key) Sep 6 David Hugh-Jones Submission to CRAN when package needs personal data (API key) Sep 6 Rainer M Krug Submission to CRAN when package needs personal data (API key) Sep 7 Duncan Murdoch Submission to CRAN when package needs personal data (API key) Sep 7 Gábor Csárdi Submission to CRAN when package needs personal data (API key) Sep 7 David Hugh-Jones Submission to CRAN when package needs personal data (API key) Sep 7 Spencer Graves Submission to CRAN when package needs personal data (API key) Sep 7 Dirk Eddelbuettel Submission to CRAN when package needs personal data (API key) Sep 7 Gábor Csárdi Submission to CRAN when package needs personal data (API key) Sep 7 Duncan Murdoch Submission to CRAN when package needs personal data (API key) Sep 7 Dirk Eddelbuettel Submission to CRAN when package needs personal data (API key) Sep 7 Iñaki Ucar Submission to CRAN when package needs personal data (API key) Sep 7 Ralf Stubner Submission to CRAN when package needs personal data (API key) Sep 7 Iñaki Ucar Submission to CRAN when package needs personal data (API key) Sep 7 Hadley Wickham Submission to CRAN when package needs personal data (API key) Sep 7 Duncan Murdoch Submission to CRAN when package needs personal data (API key) Sep 7 Spencer Graves Submission to CRAN when package needs personal data (API key) Sep 7 Dirk Eddelbuettel Submission to CRAN when package needs personal data (API key) Sep 7 Dirk Eddelbuettel Submission to CRAN when package needs personal data (API key) Sep 8 Duncan Murdoch Submission to CRAN when package needs personal data (API key) Sep 8 Joshua Ulrich Submission to CRAN when package needs personal data (API key) Sep 8 Gábor Csárdi Submission to CRAN when package needs personal data (API key) Sep 8 Spencer Graves Submission to CRAN when package needs personal data (API key) Sep 8 Rainer M Krug Submission to CRAN when package needs personal data (API key) Sep 10 Rainer M Krug Submission to CRAN when package needs personal data (API key) Sep 10