From 6c36731d233eb28bb078aa36f949195863f0d974 Mon Sep 17 00:00:00 2001 From: Hadley Wickham Date: Thu, 30 Jul 2020 13:51:18 -0500 Subject: [PATCH] No-longer export inst() Fixes #2218 --- 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 ca172c387..1907c5819 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -35,7 +35,6 @@ export(github_pull) export(github_release) export(has_devel) export(has_tests) -export(inst) export(install) export(install_bioc) export(install_bitbucket) @@ -91,7 +90,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 4e16f3557..a8052d5a0 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,7 @@ # devtools (development version) +* `pkgload::inst()` is no longer re-exported (#2218). + * The internal `devtest()` function has been removed. * Now uses (what will become) testthat 3.0.0 to power `test()`, `test_file()`, 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}}}