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

Create individuals() #149

Merged
merged 8 commits into from
Dec 17, 2024
Merged

Create individuals() #149

merged 8 commits into from
Dec 17, 2024

Conversation

sannegovaert
Copy link
Member

fix #148

individuals() returns a tibble with the columns "individualID", "scientificName", "lifeStage" and "sex".
Only individuals with a individualID are returned.

Copy link

codecov bot commented Dec 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.91%. Comparing base (180b088) to head (2600a67).
Report is 9 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #149   +/-   ##
=======================================
  Coverage   99.91%   99.91%           
=======================================
  Files          25       26    +1     
  Lines        1140     1149    +9     
=======================================
+ Hits         1139     1148    +9     
  Misses          1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@peterdesmet peterdesmet left a comment

Choose a reason for hiding this comment

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

  • Fixed function title (a copy/paste error)
  • Indicated in Camtrap DP that we could benefit from some named individuals in example dataset
  • use expect_length(x, 3) rather than expect_equal(nrow(x), 3)

@peterdesmet
Copy link
Member

Correction: expect_length(x, 3) cannot be used instead of expect_equal(nrow(x), 3), so I reverted that.

@peterdesmet peterdesmet merged commit 1484fc9 into main Dec 17, 2024
9 checks passed
@peterdesmet peterdesmet deleted the create_individuals() branch December 17, 2024 13:21
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.

Create individuals() function
2 participants