Dears,
I have to signal that SSDM seems unable to operate after updating to the latest version of R.
The problem might be due to something that clashes with how the function load_occ() internally works.
Here below I post what I get, no matter how I try to set up the .csv file containing the occurrences:
> load_occ(Env = Env, file = "occu.csv", Xcol = "Longitude", Ycol = "Latitude", Spcol = "species")
Occurrences loading
Error in xtfrm.data.frame(x) : not possible xtfrm the data frame
Please note that the above written "occu.csv" is the saved "Occurrences" object provided by default in SSDM, so it must be forcefully complying with the csv setting requirements (which however are very flexible).
Unfortunately I am not able to fully understand the point where the native code of load_occ() recalls xtfrm and crashes. I notice that it uses read.csv2() to upload the file, but then I have not enough knowledge of R to spot where and how it handles it as a dataframe.
Thank you for any suggestions you may have in addressing this issue.
Dears, I have to signal that SSDM seems unable to operate after updating to the latest version of R.
The problem might be due to something that clashes with how the function load_occ() internally works.
Here below I post what I get, no matter how I try to set up the .csv file containing the occurrences:
Please note that the above written "occu.csv" is the saved "Occurrences" object provided by default in SSDM, so it must be forcefully complying with the csv setting requirements (which however are very flexible).
Unfortunately I am not able to fully understand the point where the native code of load_occ() recalls xtfrm and crashes. I notice that it uses read.csv2() to upload the file, but then I have not enough knowledge of R to spot where and how it handles it as a dataframe.
Thank you for any suggestions you may have in addressing this issue.