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
See also r-spatial/sf#1958 - we believe to have improved sf with this issue/PR. The revdep check output is
Package: himach Check: tests New result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [32s/32s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(himach) > > test_check("himach") [ FAIL 2 | WARN 0 | SKIP 1 | PASS 66 ] ══ Skipped tests ═══════════════════════════════════════════════════════════════ • On CRAN (1) ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error (test_routes.R:94:3): find_route works with subsonic option ─────────── Error in `st_sf(x, ..., agr = agr, sf_column_name = sf_column_name)`: sf_column_name %in% all_sfc_names is not TRUE Backtrace: ▆ 1. ├─utils::capture.output(...) at test_routes.R:94:2 2. │ └─base::withVisible(...elt(i)) 3. ├─... %>% summarise_routes_for_test() 4. ├─himach (local) summarise_routes_for_test(.) 5. │ └─... %>% ... at test_routes.R:17:2 6. ├─dplyr::mutate(...) 7. ├─dplyr::summarise(...) 8. ├─dplyr::group_by(., fullRouteID) 9. ├─sf::st_drop_geometry(.) 10. ├─dplyr::mutate(., envelope = st_area(envelope)) 11. ├─dplyr::mutate(., across(c(gc, crow), st_length), gc_length = gc) 12. └─dplyr:::mutate.data.frame(...) 13. ├─dplyr::dplyr_col_modify(.data, cols) 14. ├─sf:::dplyr_col_modify.sf(.data, cols) 15. ├─base::NextMethod() 16. └─dplyr:::dplyr_col_modify.data.frame(.data, cols) 17. └─dplyr::dplyr_reconstruct(out, data) 18. ├─dplyr:::dplyr_reconstruct_dispatch(data, template) 19. └─sf:::dplyr_reconstruct.sf(data, template) 20. ├─sf::st_as_sf(data, sf_column_name = sfc_name, crs = crs, precision = prec) 21. └─sf:::st_as_sf.data.frame(...) 22. └─sf::st_sf(x, ..., agr = agr, sf_column_name = sf_column_name) 23. └─base::stopifnot(sf_column_name %in% all_sfc_names) ── Error (test_routes.R:134:3): Find multiple routes for multiple aircraft ───── Error in `st_sf(x, ..., agr = agr, sf_column_name = sf_column_name)`: sf_column_name %in% all_sfc_names is not TRUE Backtrace: ▆ 1. ├─utils::capture.output(...) at test_routes.R:134:2 2. │ └─base::withVisible(...elt(i)) 3. ├─... %>% summarise_routes_for_test() 4. ├─himach (local) summarise_routes_for_test(.) 5. │ └─... %>% ... at test_routes.R:17:2 6. ├─dplyr::mutate(...) 7. ├─dplyr::summarise(...) 8. ├─dplyr::group_by(., fullRouteID) 9. ├─sf::st_drop_geometry(.) 10. ├─dplyr::mutate(., envelope = st_area(envelope)) 11. ├─dplyr::mutate(., across(c(gc, crow), st_length), gc_length = gc) 12. └─dplyr:::mutate.data.frame(...) 13. ├─dplyr::dplyr_col_modify(.data, cols) 14. ├─sf:::dplyr_col_modify.sf(.data, cols) 15. ├─base::NextMethod() 16. └─dplyr:::dplyr_col_modify.data.frame(.data, cols) 17. └─dplyr::dplyr_reconstruct(out, data) 18. ├─dplyr:::dplyr_reconstruct_dispatch(data, template) 19. └─sf:::dplyr_reconstruct.sf(data, template) 20. ├─sf::st_as_sf(data, sf_column_name = sfc_name, crs = crs, precision = prec) 21. └─sf:::st_as_sf.data.frame(...) 22. └─sf::st_sf(x, ..., agr = agr, sf_column_name = sf_column_name) 23. └─base::stopifnot(sf_column_name %in% all_sfc_names) [ FAIL 2 | WARN 0 | SKIP 1 | PASS 66 ] Error: Test failures Execution halted
The text was updated successfully, but these errors were encountered:
closes david6marsh/himach#22 ; #1958
45016c5
We repaired this on the sf side. You may wish to remove some obsolete st_drop_geometry() calls, but they don't hurt.
sf
st_drop_geometry()
Sorry, something went wrong.
No branches or pull requests
See also r-spatial/sf#1958 - we believe to have improved sf with this issue/PR. The revdep check output is
The text was updated successfully, but these errors were encountered: