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

Bug in sf.kde #66

Open
dsjohnson opened this issue Aug 30, 2024 · 0 comments
Open

Bug in sf.kde #66

dsjohnson opened this issue Aug 30, 2024 · 0 comments

Comments

@dsjohnson
Copy link

If you provide a spatRaster for ref, it creates an error if you do not give a scaler value for res because line 33 checks:
if (terra::res(ref)[1] != res) ... where res <- terra::res(ref) from line 14. Because res is a 2-vector, the logical check throws an error.

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

1 participant