diff --git a/NAMESPACE b/NAMESPACE index 668b9edee..bfd46f0b4 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -86,6 +86,7 @@ export(github_pat) export(github_pull) export(github_release) export(has_tests) +export(inst) export(install) export(install_bioc) export(install_bitbucket) @@ -173,6 +174,7 @@ importFrom(pkgbuild,clean_dll) importFrom(pkgbuild,with_debug) importFrom(pkgload,check_dep_version) importFrom(pkgload,check_suggested) +importFrom(pkgload,inst) importFrom(pkgload,parse_deps) importFrom(pkgload,unload) importFrom(stats,update) diff --git a/R/inst.R b/R/inst.R new file mode 100644 index 000000000..3fc2ba313 --- /dev/null +++ b/R/inst.R @@ -0,0 +1,3 @@ +#' @importFrom pkgload inst +#' @export +pkgload::inst diff --git a/man/reexports.Rd b/man/reexports.Rd index 1c33d40e2..a2ebc86d8 100644 --- a/man/reexports.Rd +++ b/man/reexports.Rd @@ -1,8 +1,11 @@ % Generated by roxygen2: do not edit by hand -% Please edit documentation in R/package-deps.r, R/pkgbuild.R, R/pkgload.R +% Please edit documentation in R/inst.R, R/package-deps.r, R/pkgbuild.R, +% R/pkgload.R \docType{import} \name{reexports} \alias{reexports} +\alias{inst} +\alias{reexports} \alias{parse_deps} \alias{reexports} \alias{check_dep_version} @@ -21,6 +24,6 @@ below to see their documentation. \describe{ \item{pkgbuild}{\code{\link[pkgbuild]{with_debug}}, \code{\link[pkgbuild]{clean_dll}}} - \item{pkgload}{\code{\link[pkgload]{parse_deps}}, \code{\link[pkgload]{check_dep_version}}, \code{\link[pkgload]{unload}}} + \item{pkgload}{\code{\link[pkgload]{inst}}, \code{\link[pkgload]{parse_deps}}, \code{\link[pkgload]{check_dep_version}}, \code{\link[pkgload]{unload}}} }}