You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>dat<-camtraptor::read_camtrap_dp("https://raw.githubusercontent.com/tdwg/camtrap-dp/1.0-rc.1/example/datapackage.json")
PleasemakesureyouhavetherighttoaccessdatafromthisDataPackageforyourintendeduse.Followapplicablenormsorrequirementstocreditthedatasetanditsauthors.Errorin`dplyr::relocate()`:!Can't subset columns that don'texist.
✖ Column`cameraSetup`doesn't exist.Run `rlang::last_trace()` to see where the error occurred.
It used to work in the past, but it seems to be broken (maybe because I updated my version of R (4.1.xx -> 4.3.0) or maybe because the example dataset changed since I last tried).
The text was updated successfully, but these errors were encountered:
LisaNicvert
changed the title
Error for read_camtrap_df on example camtrapDP dataset
Error for read_camtrap_dp on example camtrapDP dataset
Jul 12, 2023
LisaNicvert
changed the title
Error for read_camtrap_dp on example camtrapDP dataset
Error for read_camtrap_dp on example camtrapDP dataset
Jul 12, 2023
The problem is that the example dataset changed, indeed. As you see, the version mentioned in the link is "v1.0-rc.1".
We are working on allowing camtraptor to read cameratrap datapackages written following version 1.0-rc.1, where rc-1 stays for release candidate number 1. Up to now, camtraptor supports data using camtrap-dp format version 0.1.6. If you are using Agouti, notice that the legacy Agouti exports are not yet written following version 1.0-rc.1.
We are tackling this issue (#196) in PR #223 (still a draft, work in progress). It will be solved asap (= very likely next few days, for sure in July).
Thank you for your answer, it's clearer now. I noticed the issue #196 you linked in your answer, but I was unsure this was linked to my problem. Sorry for the duplicate!
Hello! I am trying to use camtrapDP for a package I am creating. When I try to read the camtrapDP example dataset (from https://github.com/tdwg/camtrap-dp/tree/1.0-rc.1/example), I get the following error:
Here is the output of
rlang::last_trace
:It used to work in the past, but it seems to be broken (maybe because I updated my version of R (4.1.xx -> 4.3.0) or maybe because the example dataset changed since I last tried).
Below is my session info:
Do you know what is going on? Thanks!
The text was updated successfully, but these errors were encountered: