R/fakepackage.r

Defines functions MASS_huber is_three three

Documented in is_three MASS_huber three

#' Returns 3.
#' @export
three <- function() {
  3
}

#' Check to see if our argument is three.
#' @param x Argument to check
#' @import assertthat
#' @export
is_three <- function(x) {
  see_if(are_equal(3, x))
}

#' Use something from MASS
#' @import MASS
MASS_huber <- function() MASS::huber

#' @useDynLib fakepackage, .registration = TRUE
#' @importFrom Rcpp sourceCpp
NULL
krlmlr/r-appveyor documentation built on March 27, 2022, 10:57 a.m.