Skip to content

spatialrd return "unused argument" error #2

@Julio-Mugnol

Description

@Julio-Mugnol

Trying to execute the function spatialrd returns

Error in s2::s2_distance_matrix(x, y, ...) : 
  unused argument (drop = TRUE)

While calculating the distances from the cutoff points with sf::st_distance, it appears this argument is passed on to s2::s2_distance_matrix, which does not support it and returns the previous error. I was unable to make the function work by changing the arguments, and I'm pretty sure my data is in the right format

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions