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

Ralf Stubner r@lf@@tubner @ending from d@q@n@@com
Fri Sep 7 16:02:03 CEST 2018


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 test_package(package_name) function makes
> this easy. [...] This setup has the additional advantage that users
> can make sure your package works correctly in their run-time
> environment."

Tests in 'inst/test' got deprecated later on:

https://github.com/r-lib/testthat/commit/0a7d27bb9ea545be7da1a10e511962928d888302

Greetings
Ralf

-- 
Ralf Stubner
Senior Software Engineer / Trainer

daqana GmbH
Dortustraße 48
14467 Potsdam

T: +49 331 23 61 93 11
F: +49 331 23 61 93 90
M: +49 162 20 91 196
Mail: ralf.stubner using daqana.com

Sitz: Potsdam
Register: AG Potsdam HRB 27966 P
Ust.-IdNr.: DE300072622
Geschäftsführer: Prof. Dr. Dr. Karl-Kuno Kunze


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://stat.ethz.ch/pipermail/r-package-devel/attachments/20180907/eafa744a/attachment.sig>


More information about the R-package-devel mailing list