# arcticadatautils

The `articadatautils` R package contains code for:

- Inserting large numbers of files into Metacat
- High-level [rdataone](https://github.com/DataONEorg/rdataone) wrappers for
editing objects and Data Packages

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


## Installing

I recommend installing from the latest [release](https://github.com/NCEAS/arcticdatautils/releases) which should be v0.5.7:

```
devtools::install_github("NCEAS/arcticdatautils", ref = "v0.5.8")
```

If you're feeling adventurous, you can install from the bleeding edge:

```
devtools::install_github("NCEAS/arcticdatautils")
```


## Contributing

Please submit suggestions or bugs as [Issues](https://github.com/NCEAS/arcticdatautils/issues).


## Testing

Some tests are dependent on an authentication token being set and be skipped if one is not set.

```
# Skips tests that depend on a Metacat instance:
devtools::test()

# Set a token to run skipped tests:
options(dataone_test_token = "...")
devtools::test()
```

# arcticadatautils

The `articadatautils` R package contains code for:

- Inserting large numbers of files into Metacat
- High-level [rdataone](https://github.com/DataONEorg/rdataone) wrappers for
editing objects and Data Packages

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


## Installing

I recommend installing from the latest [release](https://github.com/NCEAS/arcticdatautils/releases) (aka tag) instead of from `master`. Install from release with:

```
devtools::install_github("NCEAS/arcticdatautils", ref = "{TAG_NAME_HERE}")
```

If you're feeling adventurous, you can install from the bleeding edge:

```
devtools::install_github("NCEAS/arcticdatautils")
```


## Contributing

Please submit suggestions or bugs as [Issues](https://github.com/NCEAS/arcticdatautils/issues).


## Testing

Some tests are dependent on an authentication token being set and be skipped if one is not set.

```
# Skips tests that depend on a Metacat instance:
devtools::test()

# Set a token to run skipped tests:
options(dataone_test_token = "...")
devtools::test()
```

Fix up readme's instructions on installation
Fix up readme's instructions on installation
