Executing tagme() for project fails with 'Join columns must be present in data'

Im a new motus user. Project is USFWS MB R9 Shorebird Project (#337)
Im trying to load our project via tagme() and it fails with error shown below.

My suspicion is the root cause is our project consists of three receivers but as yet we have no birds tagged and registered. I am able to load each receiver via tagme(). So Im not sure if this is expected behavior or a bug. Where is the proper place to report?

proj.num ← 337 ## “USFW MB R9 Shorebird Project”
sql.motus ← tagme(projRecv = proj.num, new = TRUE, update = TRUE, dir = “databases/”)

Please enter a value for login name at motus.org
==>
(myusername)
Please enter a value for password at motus.org
==>
(mypassword)
Checking for new data in project 337
Updating metadata
activity: 0 new batch records to check
nodeData: 0 new batch records to check
Fetching deprecated batches
Error in dplyr::anti_join():
! Join columns must be present in data.
x Problem with batchID.
Run rlang::last_error() to see where the error occurred.

rlang::last_error()
<error/rlang_error>
Error in dplyr::anti_join():
! Join columns must be present in data.
x Problem with batchID.

failedRun.txt (5.66 KB)

Hi Rich,

That does appear to be a bug with the latest motus package version. It should be resolved within the next few days.

However, this shouldn’t affect you that much at the moment anyway.

Calling tagme() on a project number will only download the data for that project’s tags, and in this case there isn’t anything to download. If you want to download the detection data for your receivers, then doing that individually as you have been (or looping through a list) is the way to access that.

cheers

Josh

Josh,

I’m getting this same error with the most recent beta package… receiver specific download for CTT-8E20667AE036, which does have detections reported online…

Reported column at issue is batchID

Any updates?

Thanks,
Adam

The issue is related to deprecated batches. A fix should be available shortly.

For now you should be able to use tagme(..., skipDeprecated = TRUE) to skip the deprecated check and avoid the problem until the fix is available.

We will report again when the update has been made.

Denis Lepage http://avibase.ca http://ebird.ca

7 posts were split to a new topic: Examples of MOUs with landowners