Pkgbuild Versions Save

Find tools needed to build R packages

v1.0.7

4 years ago
  • Additional fixes for Rtools 40

v1.0.6

4 years ago
  • Support for RTools 40 and custom msys2 toolchains that are explicitly set using the CC Makevars (#40).

v1.0.5

4 years ago
  • check_build_tools() gains a quiet argument, to control when the message is displayed. The message is no longer displayed when check_build_tools() is called internally by pkgbuild functions. (#83)

v1.0.4

4 years ago
  • build() gains a clean_doc argument, to control if the inst/doc directory is cleaned before building. (#79, #75)

  • build() and pkgbuild_process now have standard output and error are correctly interleaved, by redirecting the standard error of build process to the standard output (@gaborcsardi, #78).

  • check_build_tools() now has a more helpful error message which points you towards ways to debug the issue (#68).

  • pkgbuild_process now do not set custom compiler flags, and it uses the user's Makevars file (@gaborcsardi, #76).

  • rtools_path() now returns NA on non-windows systems and also works when has_rtools() has not been run previously (#74).

v1.0.3

4 years ago
  • Tests which wrote to the package library are now skipped on CRAN.

  • build() can now build a tar.gz file directly (#55)

v1.0.2

5 years ago
  • build() and compile_dll() gain a register_routines argument, to automatically register C routines with tools::package_native_routines_registration_skeleton() (#50)

  • build() will now warn if trying to build packages on R versions <= 3.4.2 on Windows with a space in the R installation directory (#49)

  • build() will now message if a build contains long paths, which are unsupported on windows (#48)

  • compile_dll() no longer doubles output, a regression caused by the styling callback. (https://github.com/r-lib/devtools/issues/1877)

  • build() output is now styled like that in the rcmdcheck package (https://github.com/r-lib/devtools/issues/1874).

  • build() no longer sets compile flags (#46)

v1.0.1

5 years ago

pkgbuild 1.0.1

  • compile_dll() now does not supply compiler flags if there is an existing user defined Makevars file.

  • local_build_tools() function added to provide a deferred equivalent to with_build_tools(). So you can add rtools to the PATH until the end of a function body.