Skip to content

Update tests to support data.gov data transfers#185

Merged
RobLBaker merged 10 commits into
DOI-NPS:mainfrom
RobLBaker:main
May 20, 2026
Merged

Update tests to support data.gov data transfers#185
RobLBaker merged 10 commits into
DOI-NPS:mainfrom
RobLBaker:main

Conversation

@RobLBaker

Copy link
Copy Markdown
Member

closes #183

@RobLBaker RobLBaker self-assigned this May 19, 2026
@RobLBaker RobLBaker added documentation Improvements or additions to documentation enhancement New feature or request labels May 19, 2026
@RobLBaker RobLBaker requested review from aserrantes and wright13 May 19, 2026 17:05
Comment thread docs/reference/test_dp_abstract.md Outdated
indicate improper formatting. Otherwise the test passes.
abstract. The test Fails with an error if the abstract is absent or
greater than 10,000 characters (required for data.gov). If the abstract
is present, the test fails with a warning if the abstract is \<20 words,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be "passes with a warning"?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely... I think I fixed it, but if not I'll get it in the next round.

Comment thread R/required_eml_elements.R Outdated
Comment thread R/required_eml_elements.R
#' @inheritParams test_pub_date
#'
#' @return invisilbe(meatadatda)
#' @return invisible(meatadatda)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MEATDATA

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha! how did I see invisilbe but not meatdata?

Comment thread R/required_eml_elements.R Outdated

@wright13 wright13 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider changing language from "fails with warning" to "succeeds with warning." Made a few suggestions for more precise language and typo fixes. Good to merge once these are addressed!

RobLBaker and others added 3 commits May 20, 2026 08:38
Co-authored-by: Sarah Wright <sewright@nps.gov>
Corrected the test behavior description for the abstract length and formatting checks.
Co-authored-by: Sarah Wright <sewright@nps.gov>
@RobLBaker RobLBaker mentioned this pull request May 20, 2026
@RobLBaker RobLBaker merged commit 3758495 into DOI-NPS:main May 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

data.gov compliance

2 participants