Skip to content

Commit

Permalink
dplyr error catch
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejohnson51 committed Oct 24, 2024
1 parent b25feb3 commit c814102
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions R/refactor_wrapper.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ refactor = function (gpkg = NULL,

outlets <- pois %>%
inner_join(select(st_drop_geometry(network_list$flowpaths),
totdasqkm, match_id,
dnhydroseq),
all_of(totdasqkm, match_id, dnhydroseq)),
by = c("hf_id" = match_id))

# Need to avoid modification to flowlines immediately downstream of POIs
Expand Down
2 changes: 0 additions & 2 deletions R/split_catchment.R
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,6 @@ split_catchment_divide <- function(catchment, fline, fdr, fac, lr = FALSE,
group_by(L1) %>%
filter(dplyr::row_number() == n()) %>%
ungroup()

fline = st_set_crs(fline, 5070)

suppressWarnings(fdr_matrix <- prep_cat_fdr_fac(catchment, fdr, fac))

Expand Down

0 comments on commit c814102

Please sign in to comment.