tests/testthat/in/parsable-roxygen-success.R

#' Some function
#' 
#' This function is great!
#' 
#' @param x A parameter.
#'
#' @returns Invisible `NULL`.
#' 
#' @examples
#' some_function(10)
#' 
#' @export
some_function <- function(x) {
  x
}

# To check whether code was evaluated
print("A random print statement")
lorenzwalthert/precommit documentation built on Feb. 7, 2025, 4:31 p.m.