Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Carry prov forward in certain scenarios #151

Open
wants to merge 407 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
407 commits
Select commit Hold shift + click to select a range
8346ada
Try uncaching packages to see if devel/new release will work
isteves May 9, 2018
96ae41f
Try `update: true`
isteves May 9, 2018
5201e95
Merge branch 'publish_update2' of https://github.com/isteves/arcticda…
isteves May 14, 2018
ad7c63a
Merge pull request #85 from isteves/publish_update2
May 14, 2018
b1a7fc2
Update maintenance.md with more details on releases
amoeba May 14, 2018
3555412
created pid_to_eml_entity function
areevesman May 17, 2018
879edbc
cleaned up whitespace
areevesman May 18, 2018
75dddb3
updated to reflect newest version: v0.6.4
May 25, 2018
d9b00b2
updated example
maier-m May 25, 2018
9623fb8
Added checks within function so it does not create dummy objects on a…
sharisochs Jun 12, 2018
d14e6e8
Merge pull request #91 from maier-m/master
Jun 21, 2018
a80ce97
Merge pull request #94 from sharisochs/issue-93
Jun 21, 2018
a70a23b
initial eml_otherEnt_to_dt commit
dmullen17 Jul 5, 2018
06fd03b
eml_otherEntity_to_dataTable function
dmullen17 Jul 6, 2018
34199e2
added unit tests
dmullen17 Jul 6, 2018
b482759
added examples
dmullen17 Jul 6, 2018
332d1a7
updated documentation
dmullen17 Jul 6, 2018
0ca6da5
travis fixes
dmullen17 Jul 6, 2018
f8e18ec
more travis fixes
dmullen17 Jul 6, 2018
b522831
added mitchell's function
dmullen17 Jul 6, 2018
0012d28
syntax updates
dmullen17 Jul 6, 2018
4e3473f
Merge pull request #97 from dmullen17/master
jeanetteclark Jul 6, 2018
946bb03
Update eml.R
dmullen17 Jul 6, 2018
6539ed5
Merge pull request #98 from dmullen17/master
jeanetteclark Jul 6, 2018
30e572e
added checks for current versions
dmullen17 Jul 11, 2018
bff972d
switched checks to getSystemMetadata calls
dmullen17 Jul 11, 2018
f5079e4
added unit tests, moved new checks position in function
dmullen17 Jul 11, 2018
e868981
travis fixes
dmullen17 Jul 11, 2018
686e7bb
revisions from bryce's comments
dmullen17 Jul 12, 2018
ed26220
Merge pull request #100 from dmullen17/publish_update_checks
dmullen17 Jul 12, 2018
7e9b325
Add get_all_sysmeta function
drkrynstrng Aug 9, 2018
e700f11
Update get_all_sysmeta based on Solr query
drkrynstrng Aug 23, 2018
0bfb3dd
Created is_public_read function (access.R) and added a unit test; cor…
robyngit Aug 23, 2018
bfca395
Added documentation for is_public_read function.
robyngit Aug 23, 2018
ede7fbf
clarified description for is_public_read() as per Dominic's feedback
robyngit Aug 23, 2018
d69ffa1
Added myself as a contributor in the description file
robyngit Aug 23, 2018
1a0108b
Merge pull request #102 from robyngit/master
dmullen17 Aug 23, 2018
6af5fcb
Update dataone_format_mappings
drkrynstrng Sep 5, 2018
8e6d926
Merge pull request #103 from drkrynstrng/guess_format_id
jeanetteclark Sep 10, 2018
bff4e47
Add update_package_object from datamgmt
drkrynstrng Sep 11, 2018
6f9c798
Check if getSystemMetadata returns class SystemMetadata
drkrynstrng Sep 12, 2018
d8293a5
Fix update_package_object error message and tempfile
drkrynstrng Sep 13, 2018
410bf57
Merge pull request #105 from drkrynstrng/check-sysmeta-class
jeanetteclark Sep 13, 2018
1bb0656
Merge pull request #104 from drkrynstrng/update_package_object
jeanetteclark Sep 13, 2018
86b5062
remove duplicate encoding line
jeanetteclark Sep 13, 2018
5e4527e
Merge pull request #106 from jeanetteclark/master
jeanetteclark Sep 13, 2018
ff023cb
fixed bug in pid_to_eml_physical
dmullen17 Oct 2, 2018
eddb0a1
Merge pull request #107 from dmullen17/master
dmullen17 Oct 2, 2018
38d09b2
eml_set_shared_attributes
dmullen17 Oct 3, 2018
278327e
fixed incomplete example
dmullen17 Oct 3, 2018
82e94c6
fixed xml_attribute conversion bug
dmullen17 Oct 4, 2018
6cfcfe0
Merge pull request #108 from dmullen17/master
dmullen17 Oct 5, 2018
60ceb11
updated default rows arg in get_package
dmullen17 Oct 8, 2018
811a652
updated docs
dmullen17 Oct 8, 2018
8cb7c7c
Merge pull request #110 from dmullen17/master
dmullen17 Oct 8, 2018
ed35fe4
updated eml_party argsto accept multiple inputs
dmullen17 Oct 9, 2018
8dca63c
Merge branch 'master' of https://github.com/NCEAS/arcticdatautils
dmullen17 Oct 9, 2018
0c29753
travis fix - added dontrun wrapper to examples
dmullen17 Oct 9, 2018
e4653f2
Merge pull request #111 from dmullen17/master
dmullen17 Oct 9, 2018
1e3aeea
Update get_all_sysmeta()
drkrynstrng Oct 26, 2018
10830c9
Merge pull request #101 from drkrynstrng/master
jeanetteclark Oct 30, 2018
eb4ffe3
list_submissions function
dmullen17 Nov 2, 2018
506f344
list_submissions travis updates
dmullen17 Nov 5, 2018
3d4ee8c
list_submissions unit tests + bug
dmullen17 Nov 5, 2018
42817ef
Merge pull request #112 from dmullen17/master
dmullen17 Nov 5, 2018
92b607e
Update helpers.R
dmullen17 Nov 6, 2018
483aa91
Merge pull request #113 from NCEAS/dmullen17-patch-1
dmullen17 Nov 6, 2018
697ba85
Update documentation
drkrynstrng Nov 8, 2018
79468d7
Update tests
drkrynstrng Nov 8, 2018
a1ee812
Update pkgdown site
drkrynstrng Nov 8, 2018
a879d98
Fix merge conflicts
drkrynstrng Nov 8, 2018
1510fef
Merge pull request #114 from drkrynstrng/docs
jeanetteclark Nov 8, 2018
e5a254d
list_submissions paramter fix
dmullen17 Nov 9, 2018
8757ee2
Merge branch 'master' of https://github.com/NCEAS/arcticdatautils
dmullen17 Nov 9, 2018
3ad784a
Merge pull request #116 from dmullen17/master
dmullen17 Nov 16, 2018
3cae9e1
set_public_read_all_versions
dmullen17 Nov 16, 2018
82bc653
Merge branch 'master' of https://github.com/NCEAS/arcticdatautils
dmullen17 Nov 16, 2018
b3c3237
fixed typo in set_public_read_all_versions unit test
dmullen17 Nov 19, 2018
a6a96ed
updates to set_public_read_all_versions from derek code review
dmullen17 Nov 20, 2018
5563ed0
Update docs
drkrynstrng Nov 20, 2018
24e03a2
starting refactor process
jeanetteclark Nov 30, 2018
d294291
fixed last bug, now pid_to_eml_entity produces valid eml!
jeanetteclark Nov 30, 2018
e75640d
initial commit to branch
jeanetteclark Nov 30, 2018
b93e583
remove ability to pass a list of pids to `physical` related functions
jeanetteclark Nov 30, 2018
f7c5285
Merge pull request #120 from drkrynstrng/updates
jeanetteclark Nov 30, 2018
5a11b94
enable additional arguments to be passed where appropriate
jeanetteclark Nov 30, 2018
48e10ac
renaming entity type argument to entity_type since entityType is a sl…
jeanetteclark Nov 30, 2018
a1cc0f9
rewrite pid_to_entity test
jeanetteclark Nov 30, 2018
7d27f95
remove methods helpers
jeanetteclark Nov 30, 2018
e3b36ed
update eml_individual_name
jeanetteclark Nov 30, 2018
32d4fae
update eml_party
jeanetteclark Dec 1, 2018
06e971b
replace if statements thanks to some Bryce magic
jeanetteclark Dec 1, 2018
ee50dd8
remove methods tests, update personnel tests
jeanetteclark Dec 1, 2018
97bc03f
Merge pull request #122 from jeanetteclark/eml2_refactor
jeanetteclark Dec 3, 2018
19d2c31
Merge pull request #119 from dmullen17/master
dmullen17 Dec 4, 2018
fc9c843
Updated set_public_read_all_versions() to catch all versions of all o…
Dec 5, 2018
1ff16e1
refactor `eml_project` and relevant tests
jeanetteclark Jan 4, 2019
1f8a5cd
refactor two tests
jeanetteclark Jan 4, 2019
7cb3b4c
refactor geocov and and address
jeanetteclark Jan 4, 2019
86bb7a2
abstract and validate attributes functions
jeanetteclark Jan 4, 2019
09591d0
remove function
jeanetteclark Jan 29, 2019
63f83c5
updates to more functions
jeanetteclark Jan 29, 2019
027c0aa
rewriting tests
jeanetteclark Jan 29, 2019
1c1b759
publish_update will update EML with new pids
jeanetteclark Jan 29, 2019
8053fe7
Merge pull request #123 from jeanetteclark/eml2_refactor
jeanetteclark Jan 29, 2019
0578ff6
minor update to docs
jeanetteclark Jan 29, 2019
314be55
only change the system if none is given
jeanetteclark Jan 30, 2019
54c191d
fix argument names and remove unncessary constructor calls
jeanetteclark Jan 30, 2019
b8fe9f7
documentation updates
jeanetteclark Jan 30, 2019
1e1f507
update references functions and remove unnecessary function
jeanetteclark Jan 30, 2019
ec2b2c0
documentation updates
jeanetteclark Jan 30, 2019
2b5b9c6
update tests
jeanetteclark Jan 30, 2019
e3fd9ec
make eml helper functions independent of the eml$...() constructor sy…
jeanetteclark Jan 30, 2019
f40cc67
Merge branch 'eml2_refactor' into eml2_refactor
jeanetteclark Jan 30, 2019
20def31
Merge pull request #124 from jeanetteclark/eml2_refactor
jeanetteclark Jan 30, 2019
47608d6
merging in commits from master
jeanetteclark Jan 31, 2019
a4deaa1
Merge branch 'eml2_refactor' of https://github.com/jeanetteclark/arct…
jeanetteclark Jan 31, 2019
59e3240
Merge pull request #125 from jeanetteclark/eml2_refactor
jeanetteclark Jan 31, 2019
e83f191
fix bug adding the data format
jeanetteclark Feb 1, 2019
ec0fdf7
Merge branch 'eml2_refactor' of https://github.com/NCEAS/arcticdataut…
jeanetteclark Feb 1, 2019
f65b86d
documentation updates
jeanetteclark Feb 1, 2019
d1148a1
debugging eml OE to DT function, and added a helper function
jeanetteclark Feb 5, 2019
92c7515
doc update
jeanetteclark Feb 5, 2019
78d628b
added extra validation to `eml_party`
jeanetteclark Feb 5, 2019
aa5beff
added some more checks, and removed a few exports
jeanetteclark Feb 6, 2019
48f51d5
documentation updates
jeanetteclark Feb 6, 2019
cb4b0e9
last bug to fix in this function (I hope)
jeanetteclark Feb 7, 2019
80aad01
fix unnecessary :::
jeanetteclark Feb 21, 2019
dd315ec
update documentation and add function
jeanetteclark Feb 21, 2019
538b708
add tests for new function
jeanetteclark Feb 21, 2019
a08d5e0
remove call to global eml variable
jeanetteclark Feb 21, 2019
b86ad8f
update documentation after running checks
jeanetteclark Feb 21, 2019
f38c0a6
remove call to eml$
jeanetteclark Feb 21, 2019
3de9efb
update publish_object
jeanetteclark Mar 5, 2019
5a9b10b
adding `read_zip_shapefile` helper
jeanetteclark Mar 5, 2019
09c987f
updates to (hopefully) fix travis, and incorporating Dominic's sugges…
jeanetteclark Mar 5, 2019
70ab490
fixing syntax issue
jeanetteclark Mar 6, 2019
af87325
another attempt at fixing travis
jeanetteclark Mar 6, 2019
8227b60
adding more libraries
jeanetteclark Mar 6, 2019
e5f4fcc
Merge pull request #127 from jeanetteclark/master
jeanetteclark Mar 6, 2019
ac47f50
fixed bug in `which_in_eml`
jeanetteclark Mar 6, 2019
001d33f
removing unnecessary rawToChar
jeanetteclark Mar 21, 2019
b75f2d9
bug in read_zip_shapefile where it can call "unzip" from the zip libr…
dmullen17 Apr 15, 2019
873ccfa
Merge pull request #129 from dmullen17/master
dmullen17 Apr 15, 2019
e1a0906
updated publish_object to reformat sysmeta fileNames
dmullen17 May 24, 2019
2999f25
add v8 and jq packages with apt-get utility
dmullen17 May 28, 2019
b24729d
install jq package before v8 to fix travis CI
dmullen17 May 28, 2019
e99b775
downgrade EML to avoid eml2 breaking changes
dmullen17 May 28, 2019
c7dd1da
added remote EML installation
dmullen17 May 28, 2019
deb4ee9
downgrade EML again to fix travis
dmullen17 May 28, 2019
f5bb180
Merge pull request #130 from dmullen17/master
dmullen17 May 28, 2019
912e7ca
issue #131: carry forward prov in certain scenarios
jeanetteclark Jun 19, 2019
7efa127
merge in upstream commits
jeanetteclark Jun 19, 2019
23ffc48
added remove_access sysmeta function
dmullen17 Jun 27, 2019
11cf4f7
Merge branch 'master' of https://github.com/NCEAS/arcticdatautils
dmullen17 Jun 27, 2019
d7b0025
Merge pull request #132 from dmullen17/master
dmullen17 Jun 27, 2019
0ef8c36
added reformat_file_name to publish_update
dmullen17 Jun 28, 2019
2284823
Merge pull request #133 from dmullen17/master
dmullen17 Jun 28, 2019
09fdb28
merge in upstream commits
jeanetteclark Jul 15, 2019
0040f8b
update description
jeanetteclark Jul 15, 2019
2517f4f
update Dom's addition to be compatible with eml2
jeanetteclark Jul 15, 2019
2124b06
replace ::: with ::
jeanetteclark Jul 15, 2019
ab04053
Revert "replace ::: with ::"
jeanetteclark Jul 15, 2019
571c21d
put this back in the correct place
jeanetteclark Jul 15, 2019
da683e5
update to 2.0 on CRAN
jeanetteclark Jul 15, 2019
b06e3b5
update a dummy package function, fix a minor bug in pid_to_eml_entity
jeanetteclark Jul 15, 2019
6cf6c26
update tests
jeanetteclark Jul 15, 2019
21f3aa3
remove nested list
jeanetteclark Jul 15, 2019
e57016a
updated bugs from unit tests
dmullen17 Jul 15, 2019
9cf90b0
Merge pull request #136 from dmullen17/eml2_refactor
jeanetteclark Jul 15, 2019
bbe9f13
add check to ensure entityNames are unique and update test
jeanetteclark Jul 16, 2019
0726190
Fixed a bug in reformat_file_name that Jeanette found if a file name …
dmullen17 Jul 16, 2019
f55f0fb
Merge pull request #137 from dmullen17/master
jeanetteclark Jul 16, 2019
ba52539
updating `update_package_objet` and related functions and tests
jeanetteclark Jul 16, 2019
abd56e2
minor fix to keep `set_physical` from erroring on an empty file
jeanetteclark Jul 16, 2019
c5383ab
merge in changes to master
jeanetteclark Jul 16, 2019
a41c5be
fix ORCID helper and add an email one
jeanetteclark Jul 16, 2019
f2a50b7
doc updates
jeanetteclark Jul 16, 2019
27b5599
update docs
jeanetteclark Jul 16, 2019
8729a09
add a catch in case no ORCID displayName is present, export function
jeanetteclark Jul 17, 2019
b1a440e
Merge pull request #135 from NCEAS/eml2_refactor
jeanetteclark Jul 23, 2019
a645422
just changing the public argument
jeanetteclark Jul 29, 2019
bcf463e
update version
jeanetteclark Jul 30, 2019
2dc9a7f
merge
jeanetteclark Aug 6, 2019
7b85edf
update docs
jeanetteclark Aug 6, 2019
5a1a798
should be able to pass a generic list here
jeanetteclark Sep 11, 2019
9ca49a8
Merge pull request #139 from NCEAS/access_arguments
jeanetteclark Sep 12, 2019
5abcf85
fix the argument as opposed to thworing an error
jeanetteclark Sep 17, 2019
ddf37a7
update other related functions with the same change
jeanetteclark Sep 20, 2019
ef791f6
fixing incorrect syntax
jeanetteclark Sep 20, 2019
854eccb
Merge pull request #140 from NCEAS/set_rights_holder_patch
jeanetteclark Sep 20, 2019
84030bb
update relevant publish functions to be compatible with EML2.2
jeanetteclark Sep 25, 2019
b8065a1
doc updates
jeanetteclark Sep 25, 2019
1208216
Make publish_update use the metadata object's formatId
amoeba Sep 26, 2019
d6b7f82
Relax EML format ID test in reformat_file_name to cover EML 2.2.0
amoeba Sep 26, 2019
0bf5fcc
make `format_eml` and `format_eml_220` one function
jeanetteclark Sep 27, 2019
d325a9c
Author update
rachelsun97 Oct 8, 2019
6de27b0
Added recover_failed_submission function
rachelsun97 Oct 8, 2019
a04d131
Merge pull request #143 from rachelsun97/master
dmullen17 Oct 8, 2019
6868a27
updated typo
rachelsun97 Oct 8, 2019
6e98213
added documentation for recover_failed_submission function
rachelsun97 Oct 10, 2019
bb3bc37
Updated NAMESPACE, helpers.R and recover_failed_submission documentation
rachelsun97 Oct 11, 2019
6930a87
Merge branch 'master' of https://github.com/NCEAS/arcticdatautils
rachelsun97 Oct 11, 2019
db62aaf
helpers.R: fixed error messages
rachelsun97 Oct 15, 2019
5bcbeee
updated test_helpers.R
rachelsun97 Oct 17, 2019
8c5a66b
Merge branch 'master' into eml2_support
jeanetteclark Oct 18, 2019
aa37be9
future proof for additional EML versions
jeanetteclark Oct 18, 2019
a7e6be7
fix malformed DESCRIPTION file
jeanetteclark Oct 18, 2019
3841524
Merge pull request #146 from NCEAS/eml2_support
jeanetteclark Oct 18, 2019
60bac03
changing node to a testing node
rachelsun97 Oct 18, 2019
9b702da
typo fixes
dmullen17 Oct 21, 2019
3f77cfc
Merge pull request #147 from dmullen17/throwaway-branch
dmullen17 Oct 21, 2019
0e7d3d4
add emld to imports
dmullen17 Oct 21, 2019
222f7b2
updated test_helpers.R and helpers.R. Removed emld from DESCRIPTION
rachelsun97 Oct 23, 2019
bae7d7a
Changed the grammar a little (Jeanette's suggestion)
rachelsun97 Oct 24, 2019
9af823d
Merge pull request #144 from rachelsun97/master
dmullen17 Oct 24, 2019
d476cfb
merge in upstream changes
jeanetteclark Nov 14, 2019
9f61964
remove some message output
jeanetteclark Nov 14, 2019
737b55c
allow prov to be carried forward and add recover prov function
jeanetteclark Nov 14, 2019
f4237d3
make dummy metadata creation more accurate and add a dummy prov helper
jeanetteclark Nov 14, 2019
3720283
remove more messages
jeanetteclark Nov 14, 2019
bcffcdc
add tests
jeanetteclark Nov 14, 2019
3582fdb
remove update_package_object and relatives
jeanetteclark Nov 14, 2019
11553d6
update namespace and Rd files
jeanetteclark Nov 14, 2019
11aa4c3
update warning message with correct function name
jeanetteclark Nov 14, 2019
fd927f2
start of the NSF function
jeanetteclark Nov 15, 2019
3788836
update to now cover more failure cases
jeanetteclark Nov 15, 2019
0693996
add tests for nsf to project function
jeanetteclark Nov 15, 2019
8a01bd6
make namespacing more explicit to make the R checks happier
jeanetteclark Nov 15, 2019
b46cf06
update DESCRIPTION, ns, and Rd files
jeanetteclark Nov 15, 2019
d8bed9c
prepend "NSF" to award numbers for funding section
jeanetteclark Nov 15, 2019
d8cc7ed
make the warning output nicer and start clearing a path for EML2.2 su…
jeanetteclark Nov 15, 2019
c2f3117
add support for EML 2.2
jeanetteclark Nov 15, 2019
7090a12
update description and Rd
jeanetteclark Nov 15, 2019
adc5659
add an eml_version argument check and make the spliting of first and …
jeanetteclark Nov 15, 2019
5e4ecd5
remove a dependency we don't need anymore
jeanetteclark Nov 20, 2019
a32850f
update namespace file removing rlang dep
jeanetteclark Nov 20, 2019
65ec9b5
incorporate some of Dom's suggestions
jeanetteclark Nov 20, 2019
a7b4ef4
Merge pull request #149 from NCEAS/nsf_award_helper
jeanetteclark Nov 20, 2019
4568c52
fix bug if co-pis is empty
jeanetteclark Nov 21, 2019
b5f6714
Merge pull request #150 from NCEAS/nsf_award_helper
jeanetteclark Nov 21, 2019
448e0a8
Merge branch 'master' of https://github.com/nceas/arcticdatautils int…
jeanetteclark Nov 26, 2019
4cec070
documenting new keep_prov argument
jeanetteclark Nov 26, 2019
d9a8613
return eml_validate check in eml_otherEntity_to_dataTable
dmullen17 Dec 11, 2019
deb06b9
updated eml_otherEntity_to_dataTable to handle otherEnt lists of leng…
dmullen17 Dec 12, 2019
c045895
Update R/eml.R
dmullen17 Jan 14, 2020
2c371ce
Merge pull request #154 from dmullen17/master
dmullen17 Jan 14, 2020
3282e33
remove duplicate personnel
jeanetteclark Jan 14, 2020
f29d733
Merge pull request #155 from NCEAS/nsf_award_helper
jeanetteclark Jan 14, 2020
51e2aa6
merge in upstream commits
jeanetteclark Jan 15, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
^\.Rproj\.user$
^etc$
^docs$
^\_pkgdown\.yml$
^index\.md$
^\.travis\.yml$
^LICENSE$
^MAINTENANCE\.md$
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r

language: r
r:
- oldrel
- release
- devel
r_packages:
- ncdf4
- sf
sudo: false
cache: packages
addons:
apt:
update: true
packages:
- librdf0-dev
- libnetcdf-dev
- netcdf-bin
- libudunits2-dev # for udunits2
- libgeos-dev # for sf
- libproj-dev # for sf
- libgdal-dev # for sf
- libjq-dev
- libv8-dev
48 changes: 33 additions & 15 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,37 +1,55 @@
Package: arcticdatautils
Title: Arctic Data Utilities
Version: 0.6.2
Title: Utilities for the Arctic Data Center
Version: 0.7.0
Authors@R: c(
person("Bryce", "Mecum", email = "[email protected]", role = c("aut", "cre")),
person("Matt", "Jones", email = "[email protected]", role = "ctb"),
person("Jeanette", "Clark", email = "[email protected]", role = "ctb")
person("Jesse", "Goldstein", email = "[email protected]", role = "ctb", comment = "Maintainer"),
person("Jeanette", "Clark", email = "[email protected]", role = "ctb", comment = "Maintainer"),
person("Dominic", "Mullen", email = "[email protected]", role = "ctb"),
person("Emily", "O'Dean", email = "[email protected]", role = "ctb"),
person("Robyn", "Thiessen-Bock", email = "[email protected]", role = "ctb"),
person("Derek", "Strong", email = "[email protected]", role = "ctb"),
person("Rachel", "Sun", email = "[email protected]", role = "ctb")
)
Description: This package provides a set of utility methods for uploading
and editing data on the Arctic Data Catalog.
Description: A set of utilities for working with the Arctic Data Center
(https://arcticdata.io).
License: Apache License (== 2.0)
URL: https://nceas.github.io/arcticdatautils/
BugReports: https://github.com/NCEAS/arcticdatautils/issues
Encoding: UTF-8
LazyData: true
Depends:
R (>= 3.2.3)
Imports:
digest,
dplyr,
dataone,
datapack,
EML,
dplyr,
digest,
EML (>= 2.0),
httr,
jsonlite,
magrittr,
methods,
ncdf4,
stringr,
stringi,
tools,
uuid,
yaml,
xml2,
XML
License: MIT + file LICENSE
LazyData: true
Suggests:
testthat,
emld,
humaniformat,
knitr,
lubridate,
ncdf4,
RCurl,
purrr,
rmarkdown,
xslt
RoxygenNote: 6.0.1
sf,
testthat,
xslt,
yaml
RoxygenNote: 6.1.1
Roxygen: list(markdown = TRUE)
VignetteBuilder: knitr
85 changes: 85 additions & 0 deletions MAINTENANCE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Maintenance

This document serves as a guide for new maintainers of and contributors to the arcticdatautils package.

*Note: This is a work-in-progress, so expect it to change and improve over time.*


## Releases

### Why release

So users can use new features. Ideally, no one is installing from source, i.e., `remotes::install_github("nceas/arcticdatautils")`.

### When to release

Whenever, really.
Since this package isn't on CRAN, you can release it as much as you like or need to.
You might want to release either when:

- You accrue enough changes to write an interest release announcement ("Hey, look at his cool new release that fixes annoying bug X!")
- You accrue at least one change and users of the package need the fix immediately

### How to release

There are a few steps in releasing a new version of the package:

1. Increment the `Version` tag in the `DESCRIPTION` file to the appropriate next version.

What this is set to specifies what the user sees from R when they run `sessionInfo()` or `devtools::session_info()` and tell you what version they have installed.

This package tries to use [Semantic Versioning](https://semver.org/) (semver) which can be summarized in three bullets:

> Given a version number MAJOR.MINOR.PATCH, increment the:
>
> - MAJOR version when you make incompatible API changes,
> - MINOR version when you add functionality in a backwards-compatible manner, and
> - PATCH version when you make backwards-compatible bug fixes.

Note: A common mistake people make is thinking that the next version after 0.9 is 1.0, but it could be 0.10, then 0.11, and so on.

`git` and GitHub helps us a lot with determining _what_ has changed so we can determine what the next release version number should be. We can compare a previous release to `master` to get a list of all commits what were made between that release and now:

> https://github.com/NCEAS/arcticdatautils/compare/v0.6.3...master


- Make and push a commit with just that diff,

```sh
git add DESCRIPTION
git commit -m "vx.y.z"
git push
```

[Example here](https://github.com/NCEAS/arcticdatautils/commit/87f91179f4820ecdb283672e2179984d4f6cd334).

2. Go to [the releases tab](https://github.com/NCEAS/arcticdatautils/releases) and click "Draft a new release"

- Tag version and Release title should match v{MAJOR}.{MINOR}.{PATCH}, e.g., v6.4.5
- The release description should include:
- A brief, 1-2 sentence description of what's changed since the last release
- Sections for ADDED/FIXED/REMOVED (omit section if not applicable), each with a bulleted list of changes in human-readable prose

Example: https://github.com/NCEAS/arcticdatautils/releases/tag/v0.6.2

- Make liberal use of GitHub's Compare feature: [Example](https://github.com/NCEAS/arcticdatautils/compare/v0.6.3...master) comparing `v0.6.3` to `master`.

You're done, now go tell people to upgrade!

```r
remotes::install_github("nceas/arcticdatautils@*release")
```

Note: `@*release` specifies that the latest release should be installed.


## Pull Requests

- Follow the [tidyverse style conventions](http://style.tidyverse.org/), with the following specific style preferences:
- use underscore for all variable names unless referring to an EML object (e.g., otherEntity, publicationDate, etc.)
- include argument checks in the form of `stopifnot()` statements for all functions
- Before submitting a pull request, please update documentation, check package, and run tests:
- use `devtools::check()`
- fix any ERRORs and test failures to ensure the Travis CI build passes
- Commit messages should follow these [guidelines](https://chris.beams.io/posts/git-commit/)
- If fixing an issue, pull requests should reference that issue (e.g., "This update closes #93.")
92 changes: 36 additions & 56 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,108 +1,88 @@
# Generated by roxygen2: do not edit by hand

export(add_access_rules)
export(add_additional_identifiers)
export(add_admin_group_access)
export(add_methods_step)
export(add_string_to_title)
export(change_eml_name)
export(clear_methods)
export(clear_replication_policy)
export(convert_iso_to_eml)
export(create_dummy_attributes_dataframe)
export(create_dummy_enumeratedDomain_dataframe)
export(create_dummy_metadata)
export(create_dummy_object)
export(create_dummy_package)
export(create_dummy_package_full)
export(create_dummy_parent_package)
export(create_from_folder)
export(create_object)
export(create_resource_map)
export(create_sysmeta)
export(determine_child_pids)
export(eml_add_entities)
export(eml_address)
export(eml_associated_party)
export(eml_contact)
export(eml_creator)
export(eml_individual_name)
export(eml_get_simple)
export(eml_metadata_provider)
export(eml_nsf_to_project)
export(eml_otherEntity_to_dataTable)
export(eml_party)
export(eml_personnel)
export(eml_project)
export(eml_set_reference)
export(eml_set_shared_attributes)
export(eml_validate_attributes)
export(env_get)
export(env_load)
export(filter_obsolete_pids)
export(filter_packaging_statements)
export(find_newest_object)
export(find_newest_resource_map)
export(format_eml)
export(format_iso)
export(generate_resource_map)
export(generate_resource_map_pid)
export(get_all_sysmeta)
export(get_all_versions)
export(get_current_version)
export(get_doc_id)
export(get_identifier)
export(get_latest_release)
export(get_mn_base_url)
export(get_ncdf4_attributes)
export(get_netcdf_format_id)
export(get_or_create_pid)
export(get_orcid_email)
export(get_orcid_name)
export(get_package)
export(get_token)
export(get_token_subject)
export(guess_format_id)
export(insert_file)
export(insert_package)
export(inv_add_extra_columns)
export(inv_add_parent_package_column)
export(inv_init)
export(inv_load_checksums)
export(inv_load_dois)
export(inv_load_files)
export(inv_load_identifiers)
export(inv_load_sizes)
export(inv_update)
export(is_authorized)
export(is_format_id)
export(is_obsolete)
export(is_resource_map)
export(is_public_read)
export(is_token_expired)
export(is_token_set)
export(log_message)
export(list_submissions)
export(mdq_run)
export(new_uuid)
export(object_exists)
export(parse_resource_map)
export(path_join)
export(pid_to_eml_other_entity)
export(pid_to_eml_entity)
export(pid_to_eml_physical)
export(publish_object)
export(publish_update)
export(read_zip_shapefile)
export(recover_failed_submission)
export(recover_prov)
export(remove_access)
export(remove_public_read)
export(replace_package_id)
export(replace_subject)
export(set_abstract)
export(reorder_pids)
export(set_access)
export(set_file_name)
export(set_other_entities)
export(set_public_read)
export(set_public_read_all_versions)
export(set_rights_and_access)
export(set_rights_holder)
export(show_indexing_status)
export(show_random_dataset)
export(substitute_eml_party)
export(sysmeta_to_eml_other_entity)
export(sysmeta_to_eml_physical)
export(sysmeta_to_other_entity)
export(theme_packages)
export(update_object)
export(update_package)
export(update_resource_map)
export(validate_environment)
export(validate_inventory)
export(view_profile)
export(warn_current_version)
export(which_in_eml)
import(EML)
import(XML)
import(dataone)
import(datapack)
importFrom(httr,content)
importFrom(magrittr,'%>%')
importFrom(methods,"slot<-")
importFrom(methods,as)
importFrom(methods,is)
importFrom(methods,new)
importFrom(methods,slot)
importFrom(stats,na.omit)
importFrom(utils,URLencode)
importFrom(utils,head)
importFrom(utils,read.csv)
importFrom(utils,read.delim)
importFrom(utils,setTxtProgressBar)
importFrom(utils,txtProgressBar)
Loading