Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compareGeom does not have stopiffalse argument #55

Closed
rhijmans opened this issue Mar 14, 2023 · 1 comment
Closed

compareGeom does not have stopiffalse argument #55

rhijmans opened this issue Mar 14, 2023 · 1 comment

Comments

@rhijmans
Copy link

"restoptr" now breaks with the development version of "terra". This is because of a call to terra::compareGeom in restoptr::restopt_solution :

    terra::compareGeom(
      solution_raster, restopt_problem$data$existing_habitat, stopiffalse = FALSE
    )

compareGeom does not have the argument "stopiffalse" (it does have stopOnError). This error went undetected in previous versions, but that has now been fixed.

dimitri-justeau added a commit that referenced this issue Mar 15, 2023
@dimitri-justeau
Copy link
Owner

Hello, thank you for pointing out this error, I just fixed it in 5aa9daf , and I am submitting the fixed package to CRAN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants