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

edits made to fix the vctrs type error when running tar_load on flines targets #45

Merged
merged 2 commits into from
Nov 28, 2022

Conversation

msleckman
Copy link
Collaborator

@msleckman msleckman commented Nov 25, 2022

Addresses issue #46

After merge of #39 I and updates to sf, ran into issue where p1_lake_flowlines_huc8_sf could not load (only built) and therefore downstream targets p2_lake_tributaries could not build as well.

Error:

> tar_load(p1_lake_flowlines_huc8_sf)
Error:
! Can't use a name specification with non-vctrs types.
vctrs methods must be implemented for class `sfc_LINESTRING`.
See <https://vctrs.r-lib.org/articles/s3-vector.html>.
Run `rlang::last_error()` to see where the error occurred.

Seems to work when I don't use the default intereration = 'vectors' and instead use interation = 'list'`

new upstream target p1_lake_flowlines_huc8_sf_list created before binding with bind_rows into `p1_lake_flowlines_huc8_sf'

@padilla410 @jesse-ross @elmeraa curious if either you get this to work on your ends since this was something you ran into before me.

@msleckman msleckman merged commit 6de8be6 into USGS-VIZLAB:main Nov 28, 2022
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

Successfully merging this pull request may close these issues.

1 participant