R/main.R

Defines functions main

Documented in main

#' @title ARTMA main
#' @param options *\[character\]* Name of the user options file to use.
#' @param options_dir *\[character\]* Path to the directory that contains user options.
#' @return *\[any\]* Depends on the main function definition.
#' @export
main <- function(
    options = NULL,
    options_dir = NULL) {
  runtime_setup( # nolint: box_usage_linter. # Imported on a package-level
    options_file_name = options,
    options_dir = options_dir,
    FUN = function() {
      cli::cli_inform("ARTMA main function")
    }
  )
}

Try the artma package in your browser

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

artma documentation built on April 13, 2025, 9:08 a.m.