danlwarren / ENMTools

ENMTools R Package
104 stars 30 forks source link

CSV file problem? #232

Closed jacolmen closed 1 year ago

jacolmen commented 1 year ago

Dr. Warren,

I have been trying to run for the first time ENMTools but always get the same error when checking my species object:

Error in if (!is.na(this.species$presence.points)) { : the condition has length > 1

I would appreciate if you help me with this issue.

Thanks,

JC

Screen Shot 2023-03-06 at 9 51 45 PM

Attached are the screenshot of my workspace and the csv file.

eastern2.csv

danlwarren commented 1 year ago

Hi there! Sorry for this, but we are halfway through developing the next version of ENMTools right now and a few things are broken. If you can wait a week or so we'll have a new version that will hopefully fix this. Unfortunately the species objects are going to change a bit, due to changes in the raster package, so it's going to be a little confusing and buggy for a while.