diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 14159b7..562fe0f 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -4,9 +4,10 @@ on: push: branches: [main, master] pull_request: - branches: [main, master] -name: R-CMD-check +name: R-CMD-check.yaml + +permissions: read-all jobs: R-CMD-check: diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index a7276e8..bfc9f4d 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -4,12 +4,13 @@ on: push: branches: [main, master] pull_request: - branches: [main, master] release: types: [published] workflow_dispatch: -name: pkgdown +name: pkgdown.yaml + +permissions: read-all jobs: pkgdown: diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 21b8a93..0ab748d 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -4,9 +4,10 @@ on: push: branches: [main, master] pull_request: - branches: [main, master] -name: test-coverage +name: test-coverage.yaml + +permissions: read-all jobs: test-coverage: @@ -23,18 +24,29 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: any::covr + extra-packages: any::covr, any::xml2 needs: coverage - name: Test coverage run: | - covr::codecov( + cov <- covr::package_coverage( quiet = FALSE, clean = FALSE, install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package") ) + print(cov) + covr::to_cobertura(cov) shell: Rscript {0} + - uses: codecov/codecov-action@v5 + with: + # Fail if error if not on PR, or if on PR and token is given + fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }} + files: ./cobertura.xml + plugins: noop + disable_search: true + token: ${{ secrets.CODECOV_TOKEN }} + - name: Show testthat output if: always() run: | diff --git a/DESCRIPTION b/DESCRIPTION index bf1a853..c4f0c8b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,14 +1,14 @@ Package: pkglite Title: Compact Package Representations -Version: 0.2.4 +Version: 0.2.5 Authors@R: c( - person("Nan", "Xiao", email = "nan.xiao1@merck.com", role = c("aut", "cre"), - comment = c(ORCID = "0000-0002-0250-5673")), + person("Nan", "Xiao", role = c("aut"), comment = c(ORCID = "0000-0002-0250-5673")), person("Yilong", "Zhang", role = "aut"), person("Keaven", "Anderson", email = "keaven_anderson@merck.com", role = "aut"), person("Amin", "Shirazi", role = "ctb"), person("Jeff", "Cheng", role = "ctb"), person("Danfeng", "Fu", role = "ctb"), + person("Benjamin", "Wang", email = "benjamin.wang@merck.com", role = c("aut", "cre")), person("Merck & Co., Inc., Rahway, NJ, USA and its affiliates", role = "cph") ) Description: A tool, grammar, and standard to represent and exchange @@ -30,4 +30,4 @@ Suggests: rmarkdown, testthat Roxygen: list(markdown = TRUE) -RoxygenNote: 7.3.2 +RoxygenNote: 7.3.3 diff --git a/NEWS.md b/NEWS.md index 01bf40c..c02b5de 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,10 @@ +# pkglite 0.2.5 + +## Maintenance + +- Update maintainer email (#61). +- Update GitHub Actions workflows to the latest versions (#61). + # pkglite 0.2.4 ## Enhancements diff --git a/README.md b/README.md index 7dcdab0..89828a5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![R-CMD-check](https://github.com/Merck/pkglite/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/Merck/pkglite/actions/workflows/R-CMD-check.yaml) -[![Codecov test coverage](https://codecov.io/gh/Merck/pkglite/branch/master/graph/badge.svg)](https://app.codecov.io/gh/Merck/pkglite?branch=master) +[![Codecov test coverage](https://codecov.io/gh/Merck/pkglite/graph/badge.svg)](https://app.codecov.io/gh/Merck/pkglite) [![CRAN status](https://www.r-pkg.org/badges/version/pkglite)](https://CRAN.R-project.org/package=pkglite) [![CRAN Downloads](https://cranlogs.r-pkg.org/badges/pkglite)](https://CRAN.R-project.org/package=pkglite) diff --git a/man/pkglite-package.Rd b/man/pkglite-package.Rd index 068b16a..b44030b 100644 --- a/man/pkglite-package.Rd +++ b/man/pkglite-package.Rd @@ -20,10 +20,11 @@ Useful links: } \author{ -\strong{Maintainer}: Nan Xiao \email{nan.xiao1@merck.com} (\href{https://orcid.org/0000-0002-0250-5673}{ORCID}) +\strong{Maintainer}: Benjamin Wang \email{benjamin.wang@merck.com} Authors: \itemize{ + \item Nan Xiao (\href{https://orcid.org/0000-0002-0250-5673}{ORCID}) \item Yilong Zhang \item Keaven Anderson \email{keaven_anderson@merck.com} }