Skip to content

load_occ not working but loads fine in gui() #126

Description

@ikonig

Hi!

I am trying to model by manually typing in the connsole but I have an issue with using load_occ function.

Occurrences loading
Error in .xyValues(x, as.matrix(y), ...) : xy should have 2 columns only.
Found these dimensions: 850, 0

However, when I load with gui, it doesn't have any error.

I'm using this code:
load_occ(path = getwd(), Env, file = "Main_Occurrence_CL.csv", Xcol = "longitude",
Ycol = "latitude", Spcol = "species", GeoRes = FALSE, verbose = TRUE, GUI = FALSE)

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions