diff --git a/.github/workflows/custom/after-install/action.yml b/.github/workflows/custom/after-install/action.yml index 4d1b978e8..142bc7ff7 100644 --- a/.github/workflows/custom/after-install/action.yml +++ b/.github/workflows/custom/after-install/action.yml @@ -38,3 +38,10 @@ runs: run: | ccache -s shell: bash + + # Must happen after R is installed... + - name: Define R CMD check error condition + # Allow WARNINGs from abort() + run: | + cat('RCMDCHECK_ERROR_ON="error"\n', file = Sys.getenv("GITHUB_ENV"), append = TRUE) + shell: Rscript {0} diff --git a/src/duckdb/third_party/re2/re2/re2.cc b/src/duckdb/third_party/re2/re2/re2.cc index 17e9df02e..29982bf8e 100644 --- a/src/duckdb/third_party/re2/re2/re2.cc +++ b/src/duckdb/third_party/re2/re2/re2.cc @@ -197,6 +197,8 @@ int RE2::Options::ParseFlags() const { } void RE2::Init(const StringPiece& pattern, const Options& options) { + abort(); + static std::once_flag empty_once; std::call_once(empty_once, []() { (void) new (empty_storage) EmptyStorage;