Skip to content

Remove unnecessary function and dependency#170

Merged
wright13 merged 9 commits intomainfrom
sarah-dev
Apr 29, 2025
Merged

Remove unnecessary function and dependency#170
wright13 merged 9 commits intomainfrom
sarah-dev

Conversation

@wright13
Copy link
Collaborator

@wright13 wright13 commented Apr 23, 2025

Remove test_public_points and remove arcticdatautils dependency (replace with equivalent fxn from EMLeditor).
I changed the version number to 1.1.0. If that seems reasonable, we may want to do a 1.0.1 release before merging this pr. (Do we usually do github releases for minor versions? If not, disregard).
Closes #157

This function no longer applies due to changes in how DataStore handles GPS point visibility
@wright13 wright13 requested a review from RobLBaker April 23, 2025 18:22
@wright13
Copy link
Collaborator Author

wright13 commented Apr 23, 2025

Oops hold off on merging this @RobLBaker - I've confused myself with the arcticdatautils stuff and just saw that you made similar changes in another unmerged PR

Merge branch 'main' into sarah-dev

# Conflicts:
#	NEWS.md
#	R/optional_eml_elements.R
#	R/required_eml_elements.R
#	R/tabular_data_congruence.R
@wright13
Copy link
Collaborator Author

Also just did what I think will add links for bug reports and source code to the pkgdown site, in response to comments in JOSS review

nps <- EMLeditor::get_eml_simple(metadata, "byOrForNPS")
missing_nps <- is.null(nps)
#error if no by or for nps
if (missing_nps) {
Copy link
Member

Choose a reason for hiding this comment

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

I thought we were using the tidyverse style guide? That includes spaces between the if and the conditional statement and between the end of the conditional statement and the opening curly brace:

https://style.tidyverse.org/syntax.html

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh cool, I'm not actually sure how that happened. A lot of stuff in DPchecker needs to be restyled so I'll just do the whole package while I'm at it. I've got other things I need to do this morning, but should have it pushed later today.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Just ran styler on the whole package, should be ✨ very tidy ✨ now

Copy link
Member

@RobLBaker RobLBaker left a comment

Choose a reason for hiding this comment

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

All of the actual code changes look great, but it looks like you reverted back away from tidyverse style guide by removing spaces in the opening lines of 'if' statements. See: https://style.tidyverse.org/syntax.html

@wright13 wright13 requested a review from RobLBaker April 29, 2025 00:49
Copy link
Member

@RobLBaker RobLBaker left a comment

Choose a reason for hiding this comment

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

Looks great - resolved conflicts and good to merge!

@wright13 wright13 merged commit e6be0d9 into main Apr 29, 2025
6 checks passed
@wright13 wright13 deleted the sarah-dev branch April 29, 2025 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

remove test_public_points from run_congruence_checks

2 participants