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
Hey there,
Thank you for building zoon! It seems to be such a flexible tool for SDMs.
I'm currently playing with it to build stacked SDMs an encountered a simple bug.
When using an occurrence object of class "tbl_df" "tbl" "data.frame", the ExtractAndCombData() function fails and make the workflow fail, while if it's only a data.frame it works perfectly.
My current workaround is to use as.data.frame() before using the object inside LocalOccurrenceDataFrame().
Thanks for reporting this! As tidyverse is so common now, this will definitely be a recurring problem. We'll check this out.
Actually it might be easiest for us to just put an if(class(data) == 'tibble') data <- as.data.frame(tibble) type check in. Or maybe it's indicative of some other underlying issues.
Hey there,
Thank you for building zoon! It seems to be such a flexible tool for SDMs.
I'm currently playing with it to build stacked SDMs an encountered a simple bug.
When using an occurrence object of class
"tbl_df" "tbl" "data.frame"
, theExtractAndCombData()
function fails and make the workflow fail, while if it's only adata.frame
it works perfectly.My current workaround is to use
as.data.frame()
before using the object insideLocalOccurrenceDataFrame()
.Here is a minimal reprex:
Reproductible Example
Session Info
The text was updated successfully, but these errors were encountered: