Skip to content

Commit

Permalink
rm explict hyRefactor call
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejohnson51 committed Jun 3, 2024
1 parent 0fbf387 commit 2c7309c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/reconcile.R
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ par_split_cat <- function(fid, to_split_ids, fline_ref, catchment, fdr, fac,
Sys.getpid(), " catchment: ", fid))

# nolint start
requireNamespace("hyRefactor", quietly = TRUE)
requireNamespace("terra", quietly = TRUE)
#requireNamespace("hyRefactor", quietly = TRUE)
#requireNamespace("terra", quietly = TRUE)
# nolint end

if(!inherits(fdr, "SpatRaster")){
Expand Down
2 changes: 1 addition & 1 deletion R/refactor_wrapper.R
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ refactor = function (gpkg = NULL,
network_list$flowpaths <-
st_as_sf(sf::st_zm(filter(network_list$flowpaths, refactor == 1)))

hyRefactor::refactor_nhdplus(
refactor_nhdplus(
nhdplus_flines = network_list$flowpaths,
split_flines_meters = split_flines_meters,
split_flines_cores = cores,
Expand Down

0 comments on commit 2c7309c

Please sign in to comment.