We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If the user feeds a filtered version of the strata map to the stratify function: e.g.,
strata_alt <- load_map("bbs_cws") %>% filter(bcr != 3) s <- stratify(by = "bbs_cws", strata_custom = strata_alt, species = "Canada Goose")
everything works fine until the generate indices function where it throws the following error:
Error in 'as_tibble()": ! All columns in a tibble must be vectors. X Column 'geom' is a 'sfc_MultiPolygon/sfc' object.
This error relates to the meta_strata object which gets included as an sf object instead of the data frame the functions expect.
Insert a check into stratify_() to make sure any geometry is dropped when creating the metastrata object.
stratify_()
The text was updated successfully, but these errors were encountered:
AdamCSmithCWS
No branches or pull requests
If the user feeds a filtered version of the strata map to the stratify function: e.g.,
everything works fine until the generate indices function where it throws the following error:
This error relates to the meta_strata object which gets included as an sf object instead of the data frame the functions expect.
Insert a check into
stratify_()
to make sure any geometry is dropped when creating the metastrata object.The text was updated successfully, but these errors were encountered: