-
Notifications
You must be signed in to change notification settings - Fork 0
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
New function merge_camtrapdp()
#112
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #112 +/- ##
==========================================
+ Coverage 99.89% 99.91% +0.01%
==========================================
Files 23 25 +2
Lines 983 1151 +168
==========================================
+ Hits 982 1150 +168
Misses 1 1 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
…'s and observationID's"
…nerate_deploymentID()`
- Update description - Remove test for merging - Simplify error
Remove merge_additional_resources
- This reduces test length - Snapshot is a datapackage.json which is easier to compare - Properties = NULL won't be present - Properties = NA will have NULL - I checked if the snaps correspond with the previous tests
Otherwise the info is not valid
@peterdesmet : 0f9a28a, why remove the subdir in
Much less an issue for CI, but still, I'm interested to see what negatives you see |
@PietrH regarding removing subdir
My reasoning was mainly: only create subdirs if these is necessary within a test. |
Co-Authored-By: Pieter Huybrechts <[email protected]>
Fair enough, I prefer leaving the clearing of the tempdir() up to the OS, and using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only checked my previous remarks. Well done Sanne! This wasn't an easy development 👍
fix #75
Remarks
Helper functions
I created 6 helper functions. Maybe they can be simplified or reduced in number!
They now live at utils.R.
merge_camtrapdp()
check_duplicate_ids()
add_prefix()
normalize_list()
is_subset()
update_unique()
remove_duplicates()