Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,spthin team!
thinned_dataset_full <-
thin( loc.data = clean_df,
lat.col = "decimalLatitude", long.col = "decimalLongitude",
thin.par = 20, reps = 1,
locs.thinned.list.return = TRUE,
write.files = TRUE,
max.files = 1,
out.dir = "spthin/", out.base = "name",write.log.file = FALSE)
Beginning Spatial Thinning.
Script Started at: Sat Sep 24 15:43:26 2022Error in
vectbl_as_col_location2()
:! Must extract column with a single valid subscript.
✖ Subscript
which(names(locs.df) == spec.col)
has size 0 but must be size 1.Run
rlang::last_error()
to see where the error occurred.