-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from nationalparkservice/unit-testing
Unit testing
- Loading branch information
Showing
115 changed files
with
174,476 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,7 @@ | |
^\.Rproj\.user$ | ||
^DPchecker\.Rproj$ | ||
^LICENSE\.md$ | ||
^\.github$ | ||
^_pkgdown\.yml$ | ||
^docs$ | ||
^pkgdown$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,33 @@ | ||
Package: DPchecker | ||
Title: Checks Data Packages for Congruence | ||
Version: 0.0.0.9000 | ||
Author: | ||
person("Rob", "Baker", , "robert_baker@nps.gov", role = c("aut", "cre"), | ||
comment = c(ORCID = "0000-0001-7591-5035")) | ||
Maintainer: rob baker <robert_baker@nps.gov> | ||
Version: 0.1.0 | ||
Authors@R: c( | ||
person("Rob", "Baker", email = "robert_baker@nps.gov", role = c("cre", "aut"), comment = c(ORCID = "0000-0001-7591-5035")), | ||
person(c("Sarah", "E."), "Wright", email = "sarah_wright@nps.gov", role = "aut"), | ||
person("Issac", "Quevedo", role = "ctb"), | ||
person("Amelia", "Sherman", role = "ctb")) | ||
Description: Allows the user (and reviewer) to check a data package and test whether it meets the congruence standards set forth by NPS for upload to DataStore as a datapackage. | ||
License: MIT + file LICENSE | ||
Encoding: UTF-8 | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.2.1 | ||
Suggests: | ||
here, | ||
testthat (>= 3.0.0) | ||
Config/testthat/edition: 3 | ||
Imports: | ||
arcticdatautils (>= 0.7.0), | ||
crayon, | ||
here, | ||
EML, | ||
readr | ||
readr, | ||
magrittr, | ||
lubridate, | ||
EMLeditor (>= 0.0.1.0), | ||
cli, | ||
dplyr, | ||
purrr, | ||
stringr, | ||
tibble | ||
Remotes: | ||
nationalparkservice/EMLeditor, | ||
https://github.com/NCEAS/arcticdatautils | ||
URL: https://nationalparkservice.github.io/DPchecker/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
# Generated by roxygen2: do not edit by hand | ||
|
||
export(DPchecker_example) | ||
export(convert_datetime_format) | ||
export(load_data) | ||
export(load_metadata) | ||
export(run_congruence_checks) | ||
export(test_date_range) | ||
export(test_delimiter) | ||
export(test_dup_data_files) | ||
export(test_dup_meta_entries) | ||
export(test_fields_match) | ||
export(test_file_name_match) | ||
export(test_footer) | ||
export(test_header_num) | ||
export(test_metadata_version) | ||
export(test_numeric_fields) | ||
export(test_validate_schema) | ||
importFrom(magrittr,"%>%") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#' @keywords internal | ||
"_PACKAGE" | ||
|
||
## usethis namespace: start | ||
#' @importFrom magrittr %>% | ||
## usethis namespace: end | ||
NULL |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
url: ~ | ||
template: | ||
bootstrap: 5 | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.