From 5c7a300cffbe70a78fca72b4341fbe820f2d9c10 Mon Sep 17 00:00:00 2001 From: Hadley Wickham Date: Tue, 1 Sep 2020 14:31:19 -0500 Subject: [PATCH] No-longer export inst() (#2260) Fixes #2218 Co-authored-by: Jim Hester --- NAMESPACE | 2 -- NEWS.md | 2 ++ R/inst.R | 3 --- man/reexports.Rd | 7 +++---- 4 files changed, 5 insertions(+), 9 deletions(-) delete mode 100644 R/inst.R diff --git a/NAMESPACE b/NAMESPACE index 83cae6c9b..3d59f951a 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -32,7 +32,6 @@ export(github_pull) export(github_release) export(has_devel) export(has_tests) -export(inst) export(install) export(install_bioc) export(install_bitbucket) @@ -88,7 +87,6 @@ importFrom(pkgbuild,has_devel) importFrom(pkgbuild,with_debug) importFrom(pkgload,check_dep_version) importFrom(pkgload,check_suggested) -importFrom(pkgload,inst) importFrom(pkgload,parse_deps) importFrom(pkgload,unload) importFrom(remotes,dev_package_deps) diff --git a/NEWS.md b/NEWS.md index 7ea2ed821..926f310be 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,7 @@ # devtools (development version) +* `pkgload::inst()` is no longer re-exported (#2218). + * Old `check_results()` function has been removed. It was not used by any CRAN package, and much better alternatives are available in the [rcmdcheck](http://github.com/r-lib/rcmdcheck) package. diff --git a/R/inst.R b/R/inst.R deleted file mode 100644 index 3fc2ba313..000000000 --- a/R/inst.R +++ /dev/null @@ -1,3 +0,0 @@ -#' @importFrom pkgload inst -#' @export -pkgload::inst diff --git a/man/reexports.Rd b/man/reexports.Rd index 1b7170d6c..413971ab1 100644 --- a/man/reexports.Rd +++ b/man/reexports.Rd @@ -1,10 +1,9 @@ % Generated by roxygen2: do not edit by hand -% Please edit documentation in R/inst.R, R/package-deps.R, R/pkgbuild.R, -% R/pkgload.R, R/remotes.R, R/session-info.R +% Please edit documentation in R/package-deps.R, R/pkgbuild.R, R/pkgload.R, +% R/remotes.R, R/session-info.R \docType{import} \name{reexports} \alias{reexports} -\alias{inst} \alias{parse_deps} \alias{check_dep_version} \alias{with_debug} @@ -25,7 +24,7 @@ below to see their documentation. \describe{ \item{pkgbuild}{\code{\link[pkgbuild]{clean_dll}}, \code{\link[pkgbuild:has_rtools]{find_rtools}}, \code{\link[pkgbuild:has_compiler]{has_devel}}, \code{\link[pkgbuild]{with_debug}}} - \item{pkgload}{\code{\link[pkgload]{check_dep_version}}, \code{\link[pkgload]{inst}}, \code{\link[pkgload]{parse_deps}}, \code{\link[pkgload]{unload}}} + \item{pkgload}{\code{\link[pkgload]{check_dep_version}}, \code{\link[pkgload]{parse_deps}}, \code{\link[pkgload]{unload}}} \item{remotes}{\code{\link[remotes:github_refs]{github_pull}}, \code{\link[remotes:github_refs]{github_release}}}