R/aaa.R

Defines functions .onLoad

.onLoad <- function(lib, pkg) {
  loadNamespace("gmp")    # to use as.character.bigq
  loadNamespace("Matrix") # to use as.matrix
  # Work around bug in code checking in R 4.2.2 for use of packages
  dummy_gmp <- function(x) gmp::as.bigq(x)
  dummy_matrix <- function(x) Matrix::as.matrix(x)
}

#' @title Pipe operator
#' @description This is the 'magrittr' pipe operator. We import it in this
#' package in order to help the user to construct the \code{model} argument of
#' the \code{\link{getAb}} function.
#'
#' @importFrom magrittr %>%
#' @export %>%
#' @docType import
#' @name pipe-operator
#' @aliases %>%
NULL

Try the polyhedralCubature package in your browser

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

polyhedralCubature documentation built on Nov. 22, 2023, 5:07 p.m.