From 5ec61b5c871ba98d7078f33c4240113a307ac9e4 Mon Sep 17 00:00:00 2001 From: Github Action Date: Mon, 19 Aug 2024 00:02:11 +0000 Subject: [PATCH] New data collected at 2024-08-19_00-02-11 --- .../formattable/R-CMD-check-dev.yaml | 4 +- github-actions/formattable/R-CMD-check.yaml | 22 ++++- github-actions/formattable/revdep.yaml | 2 +- github-actions/here/R-CMD-check-dev.yaml | 4 +- github-actions/here/R-CMD-check.yaml | 22 ++++- github-actions/here/revdep.yaml | 2 +- github-actions/mlflow/devcontainer.yml | 1 + github-actions/pkgdown/R-CMD-check.yaml | 8 +- github-actions/pkgdown/lint.yaml | 4 +- github-actions/pkgdown/netlify.yaml | 5 - github-actions/pkgdown/pkgdown.yaml | 8 +- github-actions/pkgdown/test-coverage.yaml | 8 +- github-actions/quanteda/rhub.yaml | 95 +++++++++++++++++++ github-actions/ranger/pkgdown.yaml | 2 +- pkgdown/iheatmapr_pkgdown.yml | 15 ++- rbuildignore/iheatmapr.Rbuildignore | 1 + rbuildignore/qualtrics.Rbuildignore | 1 + rproj/purrr.Rproj | 2 - travis/igraph.travis.yml | 20 ++-- 19 files changed, 172 insertions(+), 54 deletions(-) create mode 100644 github-actions/quanteda/rhub.yaml diff --git a/github-actions/formattable/R-CMD-check-dev.yaml b/github-actions/formattable/R-CMD-check-dev.yaml index 9b00903c..700486fc 100644 --- a/github-actions/formattable/R-CMD-check-dev.yaml +++ b/github-actions/formattable/R-CMD-check-dev.yaml @@ -101,7 +101,7 @@ jobs: runs-on: ubuntu-22.04 - name: ${{ matrix.package }} + name: 'rcc-dev: ${{ matrix.package }}' # Begin custom: services # End custom: services @@ -147,4 +147,4 @@ jobs: - uses: ./.github/workflows/check with: - results: ${{ matrix.package }} \ No newline at end of file + results: ${{ matrix.package }} diff --git a/github-actions/formattable/R-CMD-check.yaml b/github-actions/formattable/R-CMD-check.yaml index 1102fc60..5c685f59 100644 --- a/github-actions/formattable/R-CMD-check.yaml +++ b/github-actions/formattable/R-CMD-check.yaml @@ -13,11 +13,20 @@ on: branches: - main - master + workflow_dispatch: + inputs: + ref: + description: "Branch or tag to check out" + required: false + default: "main" + merge_group: + types: + - checks_requested schedule: - cron: "10 0 * * *" concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.sha }}-${{ github.base_ref || '' }} + group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.ref || github.head_ref || github.sha }}-${{ github.base_ref || '' }} cancel-in-progress: true name: rcc @@ -35,6 +44,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + ref: ${{ inputs.ref }} - uses: ./.github/workflows/rate-limit with: @@ -59,6 +70,9 @@ jobs: - uses: ./.github/workflows/versions-matrix if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository + - uses: ./.github/workflows/dep-suggests-matrix + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository + - uses: ./.github/workflows/update-snapshots if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository @@ -71,6 +85,8 @@ jobs: - id: commit if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository uses: ./.github/workflows/commit + with: + token: ${{ secrets.GITHUB_TOKEN }} - uses: ./.github/workflows/check with: @@ -151,7 +167,7 @@ jobs: runs-on: ${{ matrix.os }} - name: ${{ matrix.os }} (${{ matrix.r }}) ${{ matrix.desc }} + name: 'rcc: ${{ matrix.os }} (${{ matrix.r }}) ${{ matrix.desc }}' # Begin custom: services # End custom: services @@ -212,7 +228,7 @@ jobs: use-public-rspm: true - id: set-matrix - uses: ./.github/workflows/dep-matrix-suggests + uses: ./.github/workflows/dep-suggests-matrix-read check-suggests-matrix: runs-on: ubuntu-22.04 diff --git a/github-actions/formattable/revdep.yaml b/github-actions/formattable/revdep.yaml index 4a0d511a..0fa67dce 100644 --- a/github-actions/formattable/revdep.yaml +++ b/github-actions/formattable/revdep.yaml @@ -67,7 +67,7 @@ jobs: runs-on: ubuntu-22.04 - name: ${{ matrix.package }} + name: 'revdep: ${{ matrix.package }}' # Begin custom: services # End custom: services diff --git a/github-actions/here/R-CMD-check-dev.yaml b/github-actions/here/R-CMD-check-dev.yaml index 9b00903c..700486fc 100644 --- a/github-actions/here/R-CMD-check-dev.yaml +++ b/github-actions/here/R-CMD-check-dev.yaml @@ -101,7 +101,7 @@ jobs: runs-on: ubuntu-22.04 - name: ${{ matrix.package }} + name: 'rcc-dev: ${{ matrix.package }}' # Begin custom: services # End custom: services @@ -147,4 +147,4 @@ jobs: - uses: ./.github/workflows/check with: - results: ${{ matrix.package }} \ No newline at end of file + results: ${{ matrix.package }} diff --git a/github-actions/here/R-CMD-check.yaml b/github-actions/here/R-CMD-check.yaml index 1102fc60..5c685f59 100644 --- a/github-actions/here/R-CMD-check.yaml +++ b/github-actions/here/R-CMD-check.yaml @@ -13,11 +13,20 @@ on: branches: - main - master + workflow_dispatch: + inputs: + ref: + description: "Branch or tag to check out" + required: false + default: "main" + merge_group: + types: + - checks_requested schedule: - cron: "10 0 * * *" concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.sha }}-${{ github.base_ref || '' }} + group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.ref || github.head_ref || github.sha }}-${{ github.base_ref || '' }} cancel-in-progress: true name: rcc @@ -35,6 +44,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + ref: ${{ inputs.ref }} - uses: ./.github/workflows/rate-limit with: @@ -59,6 +70,9 @@ jobs: - uses: ./.github/workflows/versions-matrix if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository + - uses: ./.github/workflows/dep-suggests-matrix + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository + - uses: ./.github/workflows/update-snapshots if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository @@ -71,6 +85,8 @@ jobs: - id: commit if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository uses: ./.github/workflows/commit + with: + token: ${{ secrets.GITHUB_TOKEN }} - uses: ./.github/workflows/check with: @@ -151,7 +167,7 @@ jobs: runs-on: ${{ matrix.os }} - name: ${{ matrix.os }} (${{ matrix.r }}) ${{ matrix.desc }} + name: 'rcc: ${{ matrix.os }} (${{ matrix.r }}) ${{ matrix.desc }}' # Begin custom: services # End custom: services @@ -212,7 +228,7 @@ jobs: use-public-rspm: true - id: set-matrix - uses: ./.github/workflows/dep-matrix-suggests + uses: ./.github/workflows/dep-suggests-matrix-read check-suggests-matrix: runs-on: ubuntu-22.04 diff --git a/github-actions/here/revdep.yaml b/github-actions/here/revdep.yaml index 4a0d511a..0fa67dce 100644 --- a/github-actions/here/revdep.yaml +++ b/github-actions/here/revdep.yaml @@ -67,7 +67,7 @@ jobs: runs-on: ubuntu-22.04 - name: ${{ matrix.package }} + name: 'revdep: ${{ matrix.package }}' # Begin custom: services # End custom: services diff --git a/github-actions/mlflow/devcontainer.yml b/github-actions/mlflow/devcontainer.yml index e2e759f9..48e0a703 100644 --- a/github-actions/mlflow/devcontainer.yml +++ b/github-actions/mlflow/devcontainer.yml @@ -36,6 +36,7 @@ jobs: arch: [amd64, arm64] steps: - uses: actions/checkout@v4 + - uses: ./.github/actions/free-disk-space - name: Get image name id: image run: | diff --git a/github-actions/pkgdown/R-CMD-check.yaml b/github-actions/pkgdown/R-CMD-check.yaml index c84c01f1..11411bea 100644 --- a/github-actions/pkgdown/R-CMD-check.yaml +++ b/github-actions/pkgdown/R-CMD-check.yaml @@ -44,13 +44,9 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: quarto-dev/quarto-actions/setup@v2 - with: - tinytex: true - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: r-lib/actions/setup-pandoc@v2 + + - uses: r-lib/actions/setup-tinytex@v2 - uses: r-lib/actions/setup-r@v2 with: diff --git a/github-actions/pkgdown/lint.yaml b/github-actions/pkgdown/lint.yaml index c3a09d8d..f9fe2696 100644 --- a/github-actions/pkgdown/lint.yaml +++ b/github-actions/pkgdown/lint.yaml @@ -21,11 +21,13 @@ jobs: - uses: r-lib/actions/setup-r@v2 with: use-public-rspm: true - + - uses: r-lib/actions/setup-r-dependencies@v2 with: extra-packages: any::lintr, local::. needs: lint + + - uses: r-lib/actions/setup-tinytex@v2 - name: Lint run: lintr::lint_package() diff --git a/github-actions/pkgdown/netlify.yaml b/github-actions/pkgdown/netlify.yaml index 3bc4f8eb..10c6fe1e 100644 --- a/github-actions/pkgdown/netlify.yaml +++ b/github-actions/pkgdown/netlify.yaml @@ -16,11 +16,6 @@ jobs: - uses: r-lib/actions/setup-pandoc@v2 - - name: Set up Quarto - uses: quarto-dev/quarto-actions/setup@v2 - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: r-lib/actions/setup-r@v2 with: use-public-rspm: true diff --git a/github-actions/pkgdown/pkgdown.yaml b/github-actions/pkgdown/pkgdown.yaml index bfe16f8d..0927d63f 100644 --- a/github-actions/pkgdown/pkgdown.yaml +++ b/github-actions/pkgdown/pkgdown.yaml @@ -26,12 +26,6 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: quarto-dev/quarto-actions/setup@v2 - with: - tinytex: true - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: r-lib/actions/setup-pandoc@v2 - uses: r-lib/actions/setup-r@v2 @@ -42,6 +36,8 @@ jobs: with: extra-packages: any::pkgdown, local::. needs: website + + - uses: r-lib/actions/setup-tinytex@v2 - name: Build site run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) diff --git a/github-actions/pkgdown/test-coverage.yaml b/github-actions/pkgdown/test-coverage.yaml index fc4241e9..eb25110b 100644 --- a/github-actions/pkgdown/test-coverage.yaml +++ b/github-actions/pkgdown/test-coverage.yaml @@ -21,12 +21,6 @@ jobs: - uses: r-lib/actions/setup-pandoc@v2 - - uses: quarto-dev/quarto-actions/setup@v2 - with: - tinytex: true - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: r-lib/actions/setup-r@v2 with: use-public-rspm: true @@ -35,6 +29,8 @@ jobs: with: extra-packages: any::covr, any::xml2 needs: coverage + + - uses: r-lib/actions/setup-tinytex@v2 - name: Test coverage run: | diff --git a/github-actions/quanteda/rhub.yaml b/github-actions/quanteda/rhub.yaml new file mode 100644 index 00000000..74ec7b05 --- /dev/null +++ b/github-actions/quanteda/rhub.yaml @@ -0,0 +1,95 @@ +# R-hub's generic GitHub Actions workflow file. It's canonical location is at +# https://github.com/r-hub/actions/blob/v1/workflows/rhub.yaml +# You can update this file to a newer version using the rhub2 package: +# +# rhub::rhub_setup() +# +# It is unlikely that you need to modify this file manually. + +name: R-hub +run-name: "${{ github.event.inputs.id }}: ${{ github.event.inputs.name || format('Manually run by {0}', github.triggering_actor) }}" + +on: + workflow_dispatch: + inputs: + config: + description: 'A comma separated list of R-hub platforms to use.' + type: string + default: 'linux,windows,macos' + name: + description: 'Run name. You can leave this empty now.' + type: string + id: + description: 'Unique ID. You can leave this empty now.' + type: string + +jobs: + + setup: + runs-on: ubuntu-latest + outputs: + containers: ${{ steps.rhub-setup.outputs.containers }} + platforms: ${{ steps.rhub-setup.outputs.platforms }} + + steps: + # NO NEED TO CHECKOUT HERE + - uses: r-hub/actions/setup@v1 + with: + config: ${{ github.event.inputs.config }} + id: rhub-setup + + linux-containers: + needs: setup + if: ${{ needs.setup.outputs.containers != '[]' }} + runs-on: ubuntu-latest + name: ${{ matrix.config.label }} + strategy: + fail-fast: false + matrix: + config: ${{ fromJson(needs.setup.outputs.containers) }} + container: + image: ${{ matrix.config.container }} + + steps: + - uses: r-hub/actions/checkout@v1 + - uses: r-hub/actions/platform-info@v1 + with: + token: ${{ secrets.RHUB_TOKEN }} + job-config: ${{ matrix.config.job-config }} + - uses: r-hub/actions/setup-deps@v1 + with: + token: ${{ secrets.RHUB_TOKEN }} + job-config: ${{ matrix.config.job-config }} + - uses: r-hub/actions/run-check@v1 + with: + token: ${{ secrets.RHUB_TOKEN }} + job-config: ${{ matrix.config.job-config }} + + other-platforms: + needs: setup + if: ${{ needs.setup.outputs.platforms != '[]' }} + runs-on: ${{ matrix.config.os }} + name: ${{ matrix.config.label }} + strategy: + fail-fast: false + matrix: + config: ${{ fromJson(needs.setup.outputs.platforms) }} + + steps: + - uses: r-hub/actions/checkout@v1 + - uses: r-hub/actions/setup-r@v1 + with: + job-config: ${{ matrix.config.job-config }} + token: ${{ secrets.RHUB_TOKEN }} + - uses: r-hub/actions/platform-info@v1 + with: + token: ${{ secrets.RHUB_TOKEN }} + job-config: ${{ matrix.config.job-config }} + - uses: r-hub/actions/setup-deps@v1 + with: + job-config: ${{ matrix.config.job-config }} + token: ${{ secrets.RHUB_TOKEN }} + - uses: r-hub/actions/run-check@v1 + with: + job-config: ${{ matrix.config.job-config }} + token: ${{ secrets.RHUB_TOKEN }} diff --git a/github-actions/ranger/pkgdown.yaml b/github-actions/ranger/pkgdown.yaml index 1f31f36c..ceebdf42 100644 --- a/github-actions/ranger/pkgdown.yaml +++ b/github-actions/ranger/pkgdown.yaml @@ -41,7 +41,7 @@ jobs: - name: Deploy to GitHub pages 🚀 if: github.event_name != 'pull_request' - uses: JamesIves/github-pages-deploy-action@v4.6.1 + uses: JamesIves/github-pages-deploy-action@v4.6.3 with: clean: false branch: gh-pages diff --git a/pkgdown/iheatmapr_pkgdown.yml b/pkgdown/iheatmapr_pkgdown.yml index d42e9116..2b9d0d4c 100644 --- a/pkgdown/iheatmapr_pkgdown.yml +++ b/pkgdown/iheatmapr_pkgdown.yml @@ -1,10 +1,15 @@ templates: + bootstrap: 5 params: bootswatch: cerulean navbar: - left: - - text: Vignette - href: articles/full_vignettes/iheatmapr.html - - text: Reference - href: reference/index.html + components: + intro: + text: Vignette + href: articles/full_vignettes/iheatmapr.html + structure: + left: [intro, reference, articles, tutorials, news] + right: [search, github, lightswitch] + +url: https://docs.ropensci.org/iheatmapr/ diff --git a/rbuildignore/iheatmapr.Rbuildignore b/rbuildignore/iheatmapr.Rbuildignore index 43a329e8..96b8e268 100644 --- a/rbuildignore/iheatmapr.Rbuildignore +++ b/rbuildignore/iheatmapr.Rbuildignore @@ -17,3 +17,4 @@ ^CRAN-RELEASE$ ^revdep$ ^\.github$ +^CRAN-SUBMISSION$ diff --git a/rbuildignore/qualtrics.Rbuildignore b/rbuildignore/qualtrics.Rbuildignore index 3af1063a..41559858 100644 --- a/rbuildignore/qualtrics.Rbuildignore +++ b/rbuildignore/qualtrics.Rbuildignore @@ -23,6 +23,7 @@ Changelog\.md$ ^todo\.md$ ^revamp\.md$ ^pkgdown$ +^revdep$ ^cran-comments\.md$ ^CRAN-RELEASE$ ^\.github$ diff --git a/rproj/purrr.Rproj b/rproj/purrr.Rproj index 69b10ac6..cba1b6b7 100644 --- a/rproj/purrr.Rproj +++ b/rproj/purrr.Rproj @@ -19,5 +19,3 @@ BuildType: Package PackageUseDevtools: Yes PackageInstallArgs: --no-multiarch --with-keep.source PackageRoxygenize: rd,collate,namespace - -UseNativePipeOperator: Yes diff --git a/travis/igraph.travis.yml b/travis/igraph.travis.yml index 295272b1..afce718b 100644 --- a/travis/igraph.travis.yml +++ b/travis/igraph.travis.yml @@ -76,17 +76,17 @@ jobs: - mkdir build && cd build - cmake .. -DIGRAPH_USE_INTERNAL_BLAS=OFF -DIGRAPH_USE_INTERNAL_LAPACK=OFF -DIGRAPH_USE_INTERNAL_ARPACK=OFF -DIGRAPH_USE_INTERNAL_GLPK=OFF -DIGRAPH_USE_INTERNAL_GMP=OFF -DIGRAPH_VERIFY_FINALLY_STACK=OFF -DCMAKE_BUILD_TYPE=Debug -DIGRAPH_PRINT_ARITH_HEADER=ON -DUSE_SANITIZER=Address - - name: "Linux ppc64" - os: linux - arch: ppc64le + # - name: "Linux ppc64" + # os: linux + # arch: ppc64le - - name: "Linux s390x" - os: linux - arch: s390x - # Do not enable ASan, as it leads to linking errors. - before_script: - - mkdir build && cd build - - cmake .. -DIGRAPH_USE_INTERNAL_BLAS=ON -DIGRAPH_USE_INTERNAL_LAPACK=ON -DIGRAPH_USE_INTERNAL_ARPACK=ON -DIGRAPH_USE_INTERNAL_GLPK=ON -DIGRAPH_USE_INTERNAL_GMP=ON -DIGRAPH_VERIFY_FINALLY_STACK=ON -DCMAKE_BUILD_TYPE=Debug -DIGRAPH_PRINT_ARITH_HEADER=ON + # - name: "Linux s390x" + # os: linux + # arch: s390x + # # Do not enable ASan, as it leads to linking errors. + # before_script: + # - mkdir build && cd build + # - cmake .. -DIGRAPH_USE_INTERNAL_BLAS=ON -DIGRAPH_USE_INTERNAL_LAPACK=ON -DIGRAPH_USE_INTERNAL_ARPACK=ON -DIGRAPH_USE_INTERNAL_GLPK=ON -DIGRAPH_USE_INTERNAL_GMP=ON -DIGRAPH_VERIFY_FINALLY_STACK=ON -DCMAKE_BUILD_TYPE=Debug -DIGRAPH_PRINT_ARITH_HEADER=ON #notifications: # email: