R/dummy_functions.R

Defines functions .dummy_use_tidyverse .dummy_use_purrr .dummy_use_metafor .dummy_use_rlang .dummy_use_stringr .dummy_use_here

# This script serves as a placeholder for the functions that are used inside the internal 'inst/artma' folder logic, so that the R compiler can treat them as 'used' and not throw warnings about unused functions.

# nolint start: box_usage_linter, unused_declared_object_linter.

#' @keywords internal
.dummy_use_here <- function() here::here("R", "dummy_functions.R")

#' @keywords internal
.dummy_use_stringr <- function() stringr::str_trim("")

#' @keywords internal
.dummy_use_rlang <- function() rlang::is_true(TRUE)

#' @keywords internal
.dummy_use_metafor <- function() metafor::rma(yi = 1:10, vi = 1:10)

#' @keywords internal
.dummy_use_purrr <- function() purrr::map_chr(1:10, ~.x)

#' @keywords internal
.dummy_use_tidyverse <- function() tidyverse::tidyverse_packages()


# nolint end: box_usage_linter, unused_declared_object_linter.

Try the artma package in your browser

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

artma documentation built on June 8, 2025, 10:40 a.m.