diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 0af4cdb..5ea61af 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -15,6 +15,7 @@ jobs: env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v4 diff --git a/R/utils-cff_read.R b/R/utils-cff_read.R index 45ad56d..481e2a4 100644 --- a/R/utils-cff_read.R +++ b/R/utils-cff_read.R @@ -302,7 +302,7 @@ get_gh_topics <- function(x) { # fast the GH api limit (no auth) # Need to auth to increase limit # Try to get an stored token - token <- (Sys.getenv(c("GITHUB_PAT", "GITHUB_TOKEN"))) + token <- c(Sys.getenv(c("GITHUB_TOKEN", "GITHUB_PAT"))) token <- token[!token %in% c(NA, NULL, "")][1] ghtoken <- paste("token", token) diff --git a/codemeta.json b/codemeta.json index 63f99fa..fbfaee1 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": "1624.972KB", + "fileSize": "1623.899KB", "citation": [ { "@type": "ScholarlyArticle", diff --git a/tests/testthat/test-methods.R b/tests/testthat/test-methods.R index 875e108..0a90522 100644 --- a/tests/testthat/test-methods.R +++ b/tests/testthat/test-methods.R @@ -228,9 +228,6 @@ test_that("head and tail", { }) test_that("toBibtex", { - skip_on_os("mac") - skip_on_os("linux") - skip_on_os("solaris") skip_on_cran()