Skip to content

Commit

Permalink
Set subset_x to FALSE by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Robinlovelace committed Oct 5, 2023
1 parent dee8b5b commit dc2b171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/rnet_join.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#' @param key_column The index of the key (unique identifier) column in `rnet_x`.
#' @param subset_x Subset the source route network by the target network before
#' creating buffers? This can lead to faster and better results. Default:
#' `TRUE`.
#' `FALSE`.
#' @param dist_subset The buffer distance in m to apply when breaking up the
#' source object `rnet_y`. Default: 5.
#' @param segment_length Should the source route network be split?
Expand Down Expand Up @@ -82,7 +82,7 @@
#' # mapview(route_network_small)
#' @export
rnet_join <- function(rnet_x, rnet_y, dist = 5, length_y = TRUE, key_column = 1,
subset_x = TRUE, dist_subset = NULL, segment_length = 0,
subset_x = FALSE, dist_subset = NULL, segment_length = 0,
endCapStyle = "FLAT", contains = TRUE, max_angle_diff = NULL,
crs = geo_select_aeq(rnet_x), ...) {
if (is.null(dist_subset)) {
Expand Down

0 comments on commit dc2b171

Please sign in to comment.