Skip to content

spatialrd return "unused argument" error #2

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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