Releases: r-lib/pkgbuild
pkgbuild 1.4.8
-
New
Config/build/never-clean
DESCRIPTION
option to avoid adding
--preclean
toR CMD INSTALL
(e.g., when header files have changed)
(@krlmlr, #204). -
has_rtools()
& co. now work correctly on aarch64 Windows, when
RTOOLS45_AARCH64_HOME
is not set (@remlapmot, #203). -
pkg_build()
andpkgbuild_process
now work corrently when building
binary packages from non-standard file names (#208).
pkgbuild 1.4.7
-
pkgbuild now supports R 4.5.x and Rtools45.
-
has_build_tools()
(and related functions) now do not explicitly check
for Rtools on Windows and R 4.3.0 and later, but rather they try to
compile a simple package, like on Unix, for #199.
pkgbuild 1.4.6
- No changes.
pkgbuild 1.4.5
-
pkgbuild now does a better job at finding Rtools 4.3 and 4.4 if they
were not installed from an installer. -
pkgbuild now detects Rtools correctly from the Windows registry
again for Rtools 4.3 and 4.4
pkgbuild 1.4.4
- pkgbuild now supports R 4.4.x and Rtools44 (#183).
pkgbuild 1.4.3
- pkgbuild now does not need the crayon, rprojroot and prettyunits
packages.
pkgbuild 1.4.2
- Running
bootstrap.R
now works withpkgbuild_process
, so it also works
from pak (r-lib/pak#508).
pkgbuild 1.4.1
-
New
Config/build/extra-sources
DESCRIPTION
option to make pkgbuild aware
of extra source files to consider inneeds_compile()
. -
New
Config/build/bootstrap
DESCRIPTION
option. Set it toTRUE
to run
Rscript bootstrap.R
in the package root prior to building the source
package (#157, @paleolimbot). -
pkgbuild now supports Rtools43.
-
pkgbuild now always appends its extra compiler flags to the ones that
already exist in the system and/or userMakevars
files (#156).
pkgbuild 1.4.0
-
pkgbuild can now avoid copying large package directories when building a
source package. See thePKG_BUILD_COPY_METHOD
enviroment variable in
?build
or the package README (#59).This is currently an experimental feature, and feedback is
appreciated. -
R CMD build
warnings can now be turned into errors, by setting the
pkg.build_stop_for_warnings
option toTRUE
or by setting the
PKG_BUILD_STOP_FOR_WARNINGS
environment variable totrue
(#114). -
need_compile()
now knows about Rust source code files, i.e.Cargo.toml
and*.rs
(#115). -
Now
pkgbuild::build()
will not clean upinst/doc
by default if the
Config/build/clean-inst-doc
entry inDESCRIPTION
is set toFALSE
(#128). -
New
PKG_BUILD_COLOR_DIAGNOSTICS
environment variable to opt out from
colored compiler output (#141). -
pkgbuild now works with a full XCode installation if the XCode Command
Line Tools are not installed, on macOS, in RStudio (#103).
v1.3.1
- Accept Rtools40 for R 4.2, it works well, as long as the PATH includes
both${RTOOLS40_HOME}/usr/bin
and${RTOOLS40_HOME}/ucrt64/bin
.
E.g.~/.Renviron
should contain nowto make Rtools40 work with both R 4.2.x (devel currently) and R 4.1.x andPATH="${RTOOLS40_HOME}\usr\bin;${RTOOLS40_HOME}\ucrt64\bin;${PATH}"
R 4.0.x.