diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/check-standard.yaml similarity index 79% rename from .github/workflows/R-CMD-check.yaml rename to .github/workflows/check-standard.yaml index f2313a0..97f5710 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/check-standard.yaml @@ -27,9 +27,8 @@ jobs: env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} R_KEEP_PKG_SOURCE: yes - + steps: - - if: matrix.config.os == 'ubuntu-latest' run: | sudo apt update @@ -38,8 +37,8 @@ jobs: run: | brew update brew install tbb - - - uses: actions/checkout@v4 + + - uses: actions/checkout@v3 - uses: r-lib/actions/setup-pandoc@v2 @@ -54,15 +53,7 @@ jobs: extra-packages: any::rcmdcheck needs: check - # - name: Install remotes - # run: | - # Rscript -e "install.packages('remotes', repos='https://ftp.belnet.be/mirror/CRAN')" - # - # - name: Install quanteda from Github - # run: | - # Rscript -e "remotes::install_github('quanteda/quanteda')" - - uses: r-lib/actions/check-r-package@v2 with: + args: 'c("--no-vignettes", "--no-manual", "--as-cran")' upload-snapshots: true - build_args: 'c("—-no-manual","—-compact-vignettes=gs+qpdf")' diff --git a/DESCRIPTION b/DESCRIPTION index a5330d3..79105ef 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: quanteda.textstats -Version: 0.97.1 +Version: 0.97.2 Title: Textual Statistics for the Quantitative Analysis of Textual Data Description: Textual statistics functions formerly in the 'quanteda' package. Textual statistics for characterizing and comparing textual data. Includes diff --git a/src/keyness.cpp b/src/keyness.cpp index 31a77c3..b31dc87 100644 --- a/src/keyness.cpp +++ b/src/keyness.cpp @@ -1,3 +1,4 @@ +#include #include "lib.h" #include "dev.h" @@ -123,7 +124,7 @@ Rcpp::NumericVector cpp_keyness(arma::sp_mat &mt, std::vector row0 = to_vector(mt.row(0)); std::vector row1 = to_vector(mt.row(1)); DoubleParams stats(mt.n_cols); - + #if QUANTEDA_USE_TBB tbb::task_arena arena(thread); arena.execute([&]{