From 2ffe59a88cfb22b6973f9b4d7208b04b94ea2b9c Mon Sep 17 00:00:00 2001 From: Neal Richardson Date: Sun, 23 Apr 2023 09:35:17 -0400 Subject: [PATCH] Test that features are enabled in r-arrow conda packages --- dev/tasks/conda-recipes/r-arrow/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev/tasks/conda-recipes/r-arrow/build.sh b/dev/tasks/conda-recipes/r-arrow/build.sh index 340b2196a2c8..8eefb51bc292 100755 --- a/dev/tasks/conda-recipes/r-arrow/build.sh +++ b/dev/tasks/conda-recipes/r-arrow/build.sh @@ -14,3 +14,5 @@ fi # ${R_ARGS} necessary to support cross-compilation ${R} CMD INSTALL --build r/. ${R_ARGS} +# Ensure that features are enabled in the R build (feel free to add others) +${R} -s -e 'library(arrow); stopifnot(arrow_with_dataset(), arrow_with_parquet(), arrow_with_s3())'