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

R crash #9

Closed
Nowosad opened this issue May 28, 2024 · 6 comments
Closed

R crash #9

Nowosad opened this issue May 28, 2024 · 6 comments

Comments

@Nowosad
Copy link
Contributor

Nowosad commented May 28, 2024

The example below crashes my R session:

devtools::load_all()
geolife_vect = terra::vect(geolife_sandiego,
                           geom = c("lon", "lat"),
                           crs = "EPSG:4326") |>
  terra::project("EPSG:32611")
# activity space for data.frame 'data'
exposure_PO(data = geolife_vect, cellsize = 50,
            normalize = "range", group_split = date)
@Nowosad
Copy link
Contributor Author

Nowosad commented May 28, 2024

Same with:

exposure_DR(data = geolife_vect, bandwidth = 200,
   cellsize = 50, normalize = "range", group_split = date)

@Nowosad
Copy link
Contributor Author

Nowosad commented May 29, 2024

Graczykowski added a commit that referenced this issue Jun 1, 2024
@Graczykowski
Copy link
Owner

Error introduced in new version of terra (1.7-78) - until the bug is fixed package will require terra version 1.7-65 or older which works correctly

@Nowosad
Copy link
Contributor Author

Nowosad commented Jun 1, 2024

@Graczykowski is this bug already reported by someone else at the terra GitHub issue? If not -- please try to isolate the error (reprex) and report it. In general, R packages should not require old versions of the packages.

@Graczykowski
Copy link
Owner

bug reported in rspatial/terra#1530

@Graczykowski
Copy link
Owner

Issue closed with terra fix

Graczykowski added a commit that referenced this issue Jul 8, 2024
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