R/check-suggests.R

Defines functions .check_suggests

# Generated by autofun (0.0.0.9000): do not edit by hand!!!
# Please edit source code in spsann-package/R-autofun/check-suggests.R
.check_suggests<-function(...){
expression(id <- !sapply(pkg, requireNamespace, quietly = TRUE), 
    res <- NULL, if (any(id)) {
      pkg <- paste(pkg[which(id)], collapse = " ")
      res <- paste("Package(s) needed for this function to work but not", "installed: ", pkg, sep = "")
    }, if (!is.null(res)) stop (res, call. = FALSE))
}
Laboratorio-de-Pedometria/spsann-package documentation built on Nov. 2, 2023, 3:14 p.m.