R/zzz.R

Defines functions aaa_Get_Started

Documented in aaa_Get_Started

# Imports ######################################################################

# Standard Lib
#' @import grDevices
#' @import stats
#' @import utils
#' @import parallel
#' @import stats
#' @import graphics
#' @import grDevices
#' @import mathjaxr

# 3rd Party
#' @import withr
#' @import toscutil

# Docs ########################################################################

#' @keywords internal
"_PACKAGE"

#' @export
#' @title Get URL of Metabodecon "Get Started" Page
#' @description
#' `get_started` and `aaa_Get_Started` both return (and optionally open) the URL
#' of the "Get Started" page of the metabodecon documentation. The
#' `aaa_Get_Started` version exists, because functions are listed alphabetically
#' in the reference manual and we want `get_started` to be shown at the top of
#' the list (i.e., it needs to start with an 'a').
#' @param open_browser If TRUE, the "Get Stated" page is opened in the default
#' browser.
#' @return A character string containing the URL of the "Get Started" page.
#' @author 2024-2025 Tobias Schmidt: initial version.
#' @examples
#' get_started(open_browser = FALSE)
#' get_started()
aaa_Get_Started <- function(open_browser = interactive()) {
    url <- "https://spang-lab.github.io/metabodecon/articles/Get_Started.html"
    if (open_browser) utils::browseURL(url)
    url
}

#' @export
#' @rdname aaa_Get_Started
get_started <- aaa_Get_Started

Try the metabodecon package in your browser

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

metabodecon documentation built on Nov. 5, 2025, 7:12 p.m.