diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 7147b0f..3ff510e 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -1,4 +1,4 @@ -# Workflow derived from https://github.com/r-lib/actions/tree/master/examples +# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help on: push: @@ -13,6 +13,7 @@ jobs: runs-on: ubuntu-latest env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} steps: - uses: actions/checkout@v4 @@ -28,10 +29,12 @@ jobs: - name: Test coverage run: | + token <- Sys.getenv("CODECOV_TOKEN", "") covr::codecov( quiet = FALSE, clean = FALSE, - install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package") + install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package"), + token = if (token != "") token ) shell: Rscript {0} @@ -39,7 +42,7 @@ jobs: if: always() run: | ## -------------------------------------------------------------------- - find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true + find '${{ runner.temp }}/package' -name 'testthat.Rout*' -exec cat '{}' \; || true shell: bash - name: Upload test results diff --git a/README.md b/README.md index c4f6e9b..72e1cdf 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ file and the `CITATION` file (if present) of your package. Note that **cffr** works best if your package pass `R CMD check/devtools::check()`. -As per 2024-05-27 there are at least 249 repos on GitHub using **cffr**. +As per 2024-05-30 there are at least 243 repos on GitHub using **cffr**. [Check them out here](https://github.com/search?q=cffr%20path%3A**%2FCITATION.cff&type=code). @@ -904,8 +904,7 @@ for more info. ## References -
+
diff --git a/codecov.yml b/codecov.yml deleted file mode 100644 index e0b7679..0000000 --- a/codecov.yml +++ /dev/null @@ -1,3 +0,0 @@ -codecov: - token: a51a6c16-1e9f-4d0b-8961-739f4525b0ef - diff --git a/codemeta.json b/codemeta.json index e13fbdb..917bfa7 100644 --- a/codemeta.json +++ b/codemeta.json @@ -200,7 +200,7 @@ }, "isPartOf": "https://ropensci.org", "keywords": ["attribution", "citation", "credit", "citation-files", "cff", "metadata", "r", "r-package", "citation-file-format", "rstats", "ropensci", "cran"], - "fileSize": "1602.18KB", + "fileSize": "1602.139KB", "citation": [ { "@type": "ScholarlyArticle", diff --git a/data/cran_to_spdx.rda b/data/cran_to_spdx.rda index 5cbf32e..a781d11 100644 Binary files a/data/cran_to_spdx.rda and b/data/cran_to_spdx.rda differ diff --git a/pkgdown/_pkgdown.yml b/pkgdown/_pkgdown.yml index 0a8e8b1..1694f45 100644 --- a/pkgdown/_pkgdown.yml +++ b/pkgdown/_pkgdown.yml @@ -28,6 +28,10 @@ reference: Lists of valid keys and fields as defined by the CFF schema.json **(v1.2.0)**. contents: has_concept("schemas") +- subtitle: Documentation + desc: > + Learn more about the `cff` class system and S3 methods implemented. + contents: cff_class - title: Additional features - subtitle: Coercing objects desc: >