Skip to content

Commit 58567be

Browse files
authored
Depend on pkgbuild unconditionally (#250)
Closes #249
1 parent 371b849 commit 58567be

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Imports:
2525
fs,
2626
glue,
2727
methods,
28+
pkgbuild,
2829
rlang (>= 1.1.1),
2930
rprojroot,
3031
utils,
@@ -35,7 +36,6 @@ Suggests:
3536
mathjaxr,
3637
mockr,
3738
pak,
38-
pkgbuild,
3939
Rcpp,
4040
remotes,
4141
rstudioapi,

NEWS.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
# pkgload (development version)
22

3-
* `load_all()` no longer standardises version number in namespace metadata
3+
* pkgload now depends unconditionally on pkgbuild (#249).
4+
5+
* `load_all()` no longer standardises version number in namespace metadata
46
(#231).
5-
7+
68
* New `pkg_version_raw()` to get raw package version as a string.
79

10+
811
# pkgload 1.3.2
912

1013
* Fixes for CRAN checks.

R/load.R

-2
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,9 @@ load_all <- function(path = ".",
149149
}
150150

151151
if (isTRUE(compile)) {
152-
rlang::check_installed("pkgbuild", reason = "to compile packages with a `src/` directory.")
153152
pkgbuild::clean_dll(path)
154153
pkgbuild::compile_dll(path, quiet = quiet)
155154
} else if (identical(compile, NA)) {
156-
rlang::check_installed("pkgbuild", reason = "to compile packages with a `src/` directory.")
157155
pkgbuild::compile_dll(path, quiet = quiet)
158156
} else if (identical(compile, FALSE)) {
159157
# don't compile

0 commit comments

Comments
 (0)