R/easynem_example.R

Defines functions easynem_example

Documented in easynem_example

#' @title Path to example files
#' @description This function returns the path to the example files.
#' @param path The path to the example files.
#' @return The path to the example files.
#' @export
easynem_example <- function(path = NULL) {
  if (is.null(path)) {
    dir(system.file("extdata", package = "easynem"))
  } else {
    system.file("extdata", path, package = "easynem", mustWork = TRUE)
  }
}

Try the easynem package in your browser

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

easynem documentation built on Nov. 5, 2025, 7:39 p.m.