Skip to content

Commit

Permalink
ARROW-7859: [R] Minor patches for CRAN submission 0.16.0.2
Browse files Browse the repository at this point in the history
Closes #6426 from nealrichardson/0.16.0.2-patch and squashes the following commits:

04d7e72 <Neal Richardson> News
01d2ffd <Neal Richardson> 0.16.0.2 followup

Authored-by: Neal Richardson <neal.p.richardson@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
nealrichardson authored and kou committed Feb 15, 2020
1 parent 52255a1 commit 0e12a5a
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
4 changes: 4 additions & 0 deletions r/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ check: build
-export _R_CHECK_CRAN_INCOMING_REMOTE_=FALSE && export ARROW_R_DEV=$(ARROW_R_DEV) && export _R_CHECK_TESTS_NLINES_=0 && R CMD check --as-cran --run-donttest arrow_$(VERSION).tar.gz
rm -rf arrow.Rcheck/

release: build
-export _R_CHECK_TESTS_NLINES_=0 && R CMD check --as-cran --run-donttest arrow_$(VERSION).tar.gz
rm -rf arrow.Rcheck/

clean:
-rm src/*.o
-rm src/*.so
Expand Down
9 changes: 5 additions & 4 deletions r/NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@

# arrow 0.16.0.9000


* `write_feather`, `write_arrow` and `write_parquet` now return their input
similar to `write_*` functions from `readr` (#6387, @boshek)
* Dataset filtering is now correctly supported for all Arrow date/time/timestamp column types.
* `install_arrow()` now installs the latest release of `arrow`, including Linux dependencies, either for CRAN releases or for development builds (if `nightly = TRUE`)
* Package installation on Linux no longer downloads C++ dependencies unless the `LIBARROW_DOWNLOAD` or `NOT_CRAN` enviroment variable is set
* `write_feather()`, `write_arrow()` and `write_parquet()` now return their input,
similar to the `write_*` functions in the `readr` package (#6387, @boshek)
* Can now infer the type of an R `list` and create a ListArray when all list elements are the same type (#6275, @michaelchirico)
* Dataset filtering is now correctly supported for all Arrow date/time/timestamp column types.

# arrow 0.16.0

Expand Down
4 changes: 2 additions & 2 deletions r/R/install-arrow.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
#' necessary C++ dependencies. `vignette("install", package = "arrow")` for
#' more ways to tune installation on Linux.
install_arrow <- function(nightly = FALSE,
binary = TRUE,
use_system = FALSE,
binary = Sys.getenv("LIBARROW_BINARY", TRUE),
use_system = Sys.getenv("ARROW_USE_PKG_CONFIG", FALSE),
repos = getOption("repos"),
...) {
if (tolower(Sys.info()[["sysname"]]) %in% c("windows", "darwin", "linux")) {
Expand Down
4 changes: 2 additions & 2 deletions r/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ or if you can’t get a binary version of the latest C++ library
elsewhere, you’ll need to build it from source too.

First, install the C++ library. See the [developer
guide](https://arrow.apache.org/docs/developers/index.html) for details.
guide](https://arrow.apache.org/docs/developers/cpp/building.html) for details.

Note that after any change to the C++ library, you must reinstall it and
run `make clean` or `git clean -fdx .` to remove any cached object code
Expand Down Expand Up @@ -153,7 +153,7 @@ libraries and want to upgrade the R package, you’ll need to update the
Arrow C++ library first.

For any other build/configuration challenges, see the [C++ developer
guide](https://arrow.apache.org/docs/developers/cpp.html#building) and
guide](https://arrow.apache.org/docs/developers/cpp/building.html) and
`vignette("install", package = "arrow")`.

### Editing Rcpp code
Expand Down
4 changes: 2 additions & 2 deletions r/man/install_arrow.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0e12a5a

Please sign in to comment.