Page 1 of 1

Error in `.rowNamesDF<-`(x, value = value)

PostPosted: Tue Jun 26, 2018 12:11 pm
by OlivierD
Hi all
With a colleague, we recently encountered the following error when trying to load the trap (transect) file into secr :
Error in `.rowNamesDF<-`(x, value = value) :
duplicate 'row.names' are not allowed
It took us a while to figure out the TransectIDs were numeric, and that transect "10" was considered a duplicate of transect "1"...
The bottom line is that secr expects alphanumeric trap IDs.
Apologies if this is stating the obvious but I couldn't find anything explicit about this in the documentation (I may have missed it), so I thought I'd post here... I might avoid some headache to someone...
Cheers
Olivier

Re: Error in `.rowNamesDF<-`(x, value = value)

PostPosted: Tue Jun 26, 2018 12:25 pm
by murray.efford
I don't think 'secr' expects non-numeric transect ID, or that 1 = 10, so something else is wrong. Maybe you could post a minimal example of the file, with the code you used to read it.