Skip to content

Releases: grailbio/rules_r

0.8.0

08 Mar 15:42
Compare
Choose a tag to compare

Changes since 0.7.0

  • gazelle extension is available to auto-generate package BUILD files
  • [BREAKING] Reworked stamping and status file handling (426558a)
  • Support for R 4.1; also the minimum required version now, but should be easy to support 3.6.
  • Source archives are no longer repackaged.
  • Minor fixes to coverage collection
  • Minor fixes to makevars generation

0.7.0

13 Apr 17:48
77a9860
Compare
Choose a tag to compare
  • cc_library from R package native code
  • Improved coverage collection
  • Better reproducibility of artifacts
  • A single staging library directory in builds
  • More unit test coverage

0.6.0

24 Mar 19:21
Compare
Choose a tag to compare
  • minimum bazel version requirement now v3.0.0
  • compatible with new linker input API
  • convenience macros now deprecated
  • data attribute for r_unit_test and r_pkg_test
  • editing staged source files as part of build is now possible
  • workspace root can now be R package root
  • misc fixes for coverage collection
  • misc fixes for r_binary_image
  • other misc fixes

0.5.0

23 Feb 04:40
Compare
Choose a tag to compare

Major changes since 0.4.0:

  • new r_markdown rule
  • workspace status output available in r_binary, r_test and r_markdown rules (see stamp attribute)
  • new metadata attribute for package DESCRIPTION file (can use status vars)
  • usage of coverage_dependencies in WORKSPACE has changed (see section in README)

Other changes since 0.4.0:

  • bazel compatibility fixes
  • improved rsync options
  • support packages that modify source files during build
  • better caching of pkg builds when only test files are modified
  • use darwin sysroot; no need to install C/C++ header files on Mojave

0.4.0

21 Feb 08:53
Compare
Choose a tag to compare
  • Major public and internal interface refactoring and code cleanup
  • Package builds are byte-for-byte reproducible
  • Coverage support in Cobertura XML for r_unit_test
  • Toolchain to specify build environment, flags, tools, etc.
  • Many bug fixes

0.3.0

23 Oct 00:43
Compare
Choose a tag to compare

Changes since 0.2

  • The default Makevars file for macOS now checks the brew install prefix on first run and configures gfortran and clang from brew if available.
  • More efficient r_library rule that does not create an intermediate tar or use R CMD install
  • tar_dir attribute that specifies where the files will be expanded to upon extracting the tar.

0.2.1

12 Oct 03:09
Compare
Choose a tag to compare

Changes since 0.2

  • The default Makevars file for Darwin now checks the brew install prefix on first run.

0.2

28 Sep 06:18
Compare
Choose a tag to compare
0.2

Changes since 0.1.1

  • Redesigned test rules require fewer attributes.
  • cc_deps attribute for cc_library dependencies which will configure your package to statically link the libraries
  • config_override attribute to specify your own configure file for that r_pkg target
  • environment_vars attribute