NCEAS / arcticdatautils

Utility functions in R for processing data for the Arctic Data Center
https://nceas.github.io/arcticdatautils/
Apache License 2.0
10 stars 20 forks source link

arcticdatautils

R build status

Travis build status

The arcticdatautils package contains code for doing lots of useful stuff that's too specific for the dataone package:

Note: The package is intended to be used by NCEAS staff and may not make much sense to others.

Installing

To install the latest version of this package we recommend installing from Github:


remotes::install_github("nceas/arcticdatautils@main")

Contributing

Support

Testing

Note: The test suite contains a set of tests that call out to a remote server and whether or not these tests are run depends on whether is_token_set() returns true which just checks whether the dataone_test_token option is set.

If you don't want to run integration tests:

devtools::test()

If you do want to run integration tests

  1. Visit https://test.arcticdata.io
  2. Log in
  3. Navigate to My Profile > Settings > Authentication Token
  4. Click the "Token for DataONE R" tab
  5. Copy the code snippet
  6. Modify the first line in the snippet below:
options(dataone_test_token = "{YOUR_TOKEN_HERE}") # <- Modify this line
devtools::test()

Creative Commons License