Skip to content
Prev 5969 / 12125 Next

[R-pkg-devel] CRAN, API packages, Keys and tests

Hi Rainer,

You could set an environment variable with the API key, and only run
the tests if the variable is set.

Here's an example that I use:
https://github.com/joshuaulrich/quantmod/blob/master/tests/test_getSymbols.R#L4

Best,
Josh
On Fri, Sep 4, 2020 at 3:25 AM Rainer M Krug <Rainer at krugs.de> wrote: