Nothing
#' Customize \code{\link[lintr:lint_package]{lintr::lint_package}}
#'
#' \pkg{lintr} now runs \pkg{cyclocomp}, which we use independently and we don't
#' want to run it twice. So this is just a wrapper to
#' code{\link[lintr:lint_package]{lintr::lint_package}} where we hardcode the
#' exclusion of unwanted linters (more may be added to \pkg{lintr}) so other
#' packages using \pkg{packager}'s \file{Makefile} or
#' \code{\link{get_package_makelist}} don't have to care of changes to the
#' default linters in \pkg{lintr}.
#' @param path The path to the package, passed to
#' \code{\link[lintr:lint_package]{lintr::lint_package}}.
#' @return See the return value of
#' \code{\link[lintr:lint_package]{lintr::lint_package}}.
#' @export
lint_package <- function(path) {
# We use cyclocomp anyways, plus it takes time..
linters <- lintr::linters_with_defaults(cyclocomp_linter = NULL)
lints <- lintr::lint_package(path = path, linters = linters)
return(lints)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.