Releases: NCEAS/arcticdatautils
v0.8.0
- removed a lot of the functions that we don't use (eg get_orcid_*) or have overlapping functionality (eg. set_abstract)
- deprecated the functions (eg. eml_contact) previously mentioned in the datateam training manual for a gentler transition in the case some interns still used them
- switching over to Github Actions
Fixes
eml_otherEntity_to_dataTablesome of the unboxing issues fixedeml_nsf_to_projecthandles different last names better now
New functions
title_to_file_nameget_coord_list
-eml_get_raster_metadata
EML2 Update
This is a major release, refactoring the code to be compatible with the major changes in EML.
All of the metadata helper functions, and some publishing functions, were updated to be compatible with the new version.
Additionally, three new functions were added
get_orcid_emaileml_get_simplereorder_pids
v0.6.4
This is a significant update, but not crucial. It enhances usability and remedies some nagging issues.
NEW
- check for "https" in sysmeta update functions
- helper for setting project data
- logic for multiple
roles - check to see if sysmeta
fileNameis already equal to user input - Travis CI support
eml_abstracthelperifstatement inset_public_read- EML object as an alternative option for
metadata_pathinpublish_update - error checking logic for personnel passed to
eml_project - arguments for
studyAreaDescriptionanddesignDescription - example for resource map parsing
FIXED
- updated error catches to include messages
- updated
eml@packageIdelement inupdate_object - replaced
length()withnchar()inset_abstractsince we are evaluating if a String is >0 characters - missing docs for
update_object - modified
publish_updateto only removeeml@accessifmetadata_pathis not null - updated
eml_partyto include case for personnel - removed validation logic for incorrect test (
roleis not required to be "originator") - removed
resource_map_pidfromparent_child_pidsarg - tests and built .Rds for projects
- various whitespace and line length issues
roxygendoc issues with util.R- changed
:::to::in call togetTriples(was a mistake) roxygentag issue (was causing a check failure)- bug in call to
as(introduced in an earlier commit) - broken
eml_projectexample - example code for
set_abstract - tests so they run on Travis
- removed export from a few functions that are obsolete, added examples, fixed
paramandreturnvalues - various documentation errors
- RD warnings and errors
- regression from removing
remove_public_access - variety of R CMD CHECK issues
- bug in test code that prevents environment from being loaded correctly
pid_to_eml_datatableto acceptattributesandvalidateAttributesas optional arguments- whitesace issues in
pid_to_eml_datatable - reduced dependencies on
ncdf4andyamlfor Travis CI, thanks to @isteves for this one
v0.6.3
This is a minor patch release and is a recommended update for all users.
CHANGED
publish_updateandupdate_resource_mapno longer preserve provenance information across resource map updates as they had been doing for the last few months. The consequence for users of these two functions is that any provenance information will be wiped out and have to be re-added between updates. If you want to preserve provenance information, please use the relevant methods indataone/datapackto update your packages and avoidpublish_updateexcept in cases where the package has no provenance information in it.
v0.6.2
This is a minor update and it is not critical for users to update right away unless they want the new functionality.
NEW
- The package no longer stores a list of DataONE format IDs and instead loads them from the CN when the package is loaded. This should prevent the package's list getting outdated as the CN's list is changed.
- The package (once again) checks to make sure it's the latest installable version and warns the user if their version of out of dated
FIXED
- Usages of
class(x) == yhave been changed to useisinstead thanks @ThomasThelen
v0.6.1
This is a very minor release, mainly just to get the new userId functionality out there for others to use.
NEW
-
The EML party helpers (
eml_party, and its helperseml_creator,eml_contact,eml_associated_partynow take an optionaluserIdargument which takes an ORICD identifier. Thanks @jeanetteclark 🌮 🎉 🌮Use it like
eml_creator("Bryce", "Mecum", userId = "https://orcid.org/0000-0002-0381-3766")
CHANGED
- The package should produce little or no
arcticdata.logfiles. These were helpful in the past but are not necessary any longer and really just cluttered things up for everyone
v0.6
This release adds some handy new functions (see NEW) but, importantly, we've changed the default replication policy to FALSE, numReplicas to 0, and the set of blocked MNs to KNB and UCSB1. As such, this is a strongly recommended update for all users.
FIXED
get_all_versionsshould be much faster now- A number of documentation fixes have been made
eml_projectshould now set funding numbers bettereml_creator,eml_contact, and other EML party functions have been re-written and should work better now
NEW
publish_update,update_object,create_object,create_resource_map, andupdate_resourcemap now all set a default replication policy of allowed = FALSE, numReplicas = 0, and sets KNB and mnUCSB1 as blocked replication targets- New function
mdq_run: You can now run your metadata documents through the Quality engine from R, seemdq_run - New function
show_indexing_status: You can now query the indexing status of all PIDs in an updated package withshow_indexing_status
IMPROVED
update_objectandpublish_objectnow do sanity checks on theformat_idthey are passedpublish_updatenow does even more sanity checking of its arguments. These extra checks shouldn't slow anything down in a noticeable way
v0.5.13
NEW
- Added a new helper function
pid_to_eml_physicalto streamline producingphysicalobjects from PIDs
CHANGED
- The
{sysmeta|pid}_to_eml_{other_entity|physical}functions are now vectorized. - Deprecation:
sysmeta_to_other_entityhas been renamed tosysmeta_to_eml_other_entityto keep names more consistent across the helper functions - Deprecation:
pid_to_other_entityhas been renamed topid_to_eml_other_entityto keep names more consistent across the helper functions
FIXED
publish_objectno longer defaults to a format ID of application/xml for files that end with .xml. This was causing issues in the past where EML XML documents were getting the wrong format ID and the uploader wasn't noticing until later on.get_packageshould now produce more helpful error messages in some cases where it didn't previously
v0.5.11
CHANGED
get_packagenow uses slightly different logic than before. Previously, it would first look for resource maps and then filter out any obsoleted ones. This caused packages in the middle of a version chain to be not findable byget_package(You would've had to callget_packageon the most recent version). Now this is fixed and you should be able to callget_packageon any package in a version chain.eml_add_other_entitieshas been renamed toeml_add_entitiesand now supports adding all entity types in one run, i.e., you can add a mix ofdataTableandotherEntityelements to your document in one call.profilerenamed toview_profileto avoid conflicting with built-in functions and make the name a little more specific
FIXED
- Routines creating EML
physicalsections now add theunitattribute (with value 'bytes') to object sizes. This isn't strictly required by EML but it's better to be explicit.