Pkgbuild Versions Save

Find tools needed to build R packages

v1.4.4

2 months ago
  • pkgbuild now supports R 4.4.x and Rtools44 (#183).

v1.4.3

5 months ago
  • pkgbuild now does not need the crayon, rprojroot and prettyunits packages.

v1.4.2

10 months ago

v1.4.1

11 months ago
  • New Config/build/extra-sources DESCRIPTION option to make pkgbuild aware of extra source files to consider in needs_compile().

  • New Config/build/bootstrap DESCRIPTION option. Set it to TRUE 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 user Makevars files (#156).

v1.4.0

1 year ago
  • pkgbuild can now avoid copying large package directories when building a source package. See the PKG_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 to TRUE or by setting the PKG_BUILD_STOP_FOR_WARNINGS environment variable to true (#114).

  • need_compile() now knows about Rust source code files, i.e. Cargo.toml and *.rs (#115).

  • Now pkgbuild::build() will not clean up inst/doc by default if the Config/build/clean-inst-doc entry in DESCRIPTION is set to FALSE (#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

2 years ago
  • 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 now
    PATH="${RTOOLS40_HOME}\usr\bin;${RTOOLS40_HOME}\ucrt64\bin;${PATH}"
    
    to make Rtools40 work with both R 4.2.x (devel currently) and R 4.1.x and R 4.0.x.

v1.3.0

2 years ago
  • pkgbuild now supports Rtools 4.2.

  • pkgbuild now returns the correct path for R 3.x (#96).

  • build() now always returns the path of the built package (#108).

  • pkgbuild output now looks better in .Rmd documents and in general in non-dynamic terminals. You can also force dynamic and non-dynamic output now (#64).

  • pkgbuild does not build the PDF manual now if pdflatex is not installed, even if manual = TRUE (#123).

v1.2.1

2 years ago

v1.1.0

3 years ago
  • compile_dll() now supports automatic cpp11 registration if the package links to cpp11.
  • rtools_needed returns correct version instead of "custom" (@burgerga, #97)

v1.0.8

3 years ago
  • Fixes for capability RStudio 1.2. and Rtools 40, R 4.0.0