R/divseg-package.R

Defines functions pick_n

## usethis namespace: start
#' @importFrom tibble tibble
## usethis namespace: end
NULL

utils::globalVariables(c('.', 'km'))


pick_n <- function(n) {
  stopifnot(rlang::is_integerish(n, n = 1))
  tibble::deframe(dplyr::across(all_of(n)))
}

Try the divseg package in your browser

Any scripts or data that you put into this service are public.

divseg documentation built on Dec. 28, 2022, 1:53 a.m.