diff --git a/.Rbuildignore b/.Rbuildignore index b50cd58..888351a 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -14,6 +14,7 @@ ^CONTRIBUTING\.md$ ^test\.sh$ ^CODEOWNERS +^\.pre-commit-config\.yaml$ ^vignettes.* ^release_testing* ^CLAUDE.md$ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0c7572..28ac437 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,6 +80,18 @@ jobs: tlmgr update --all tlmgr install titling framed inconsolata tlmgr install collection-fontsrecommended + # macOS runners have no binaries for R devel, so dependencies are built + # from source. data.table needs gettext's libintl.h, which is absent from + # the CRAN toolchain prefix the compiler searches. + - name: Install gettext for source builds (macOS) + if: runner.os == 'macOS' + run: | + brew install gettext + mkdir -p ~/.R + { + echo "CPPFLAGS += -I$(brew --prefix gettext)/include" + echo "LDFLAGS += -L$(brew --prefix gettext)/lib -lintl" + } >> ~/.R/Makevars - uses: r-lib/actions/setup-r-dependencies@d3c5be51b12e724e68f33216ca3c148b66d5f0b6 # v2.12.1 with: extra-packages: any::rcmdcheck @@ -120,6 +132,10 @@ jobs: run: sudo apt update - name: Install Tidy Ubuntu run: sudo apt install -y tidy + - name: set up R + uses: r-lib/actions/setup-r@d3c5be51b12e724e68f33216ca3c148b66d5f0b6 # v2.12.1 + with: + r-version: 'release' - name: build tarball for submission to CRAN run: R CMD build $GITHUB_WORKSPACE - name: Grab tarball path diff --git a/DESCRIPTION b/DESCRIPTION index acd6b53..d5102d5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: pkgnet Type: Package Title: Get Network Representation of an R Package -Version: 0.6.0.9999 +Version: 0.6.1 Authors@R: c( person("Brian", "Burns", email = "brian.burns.opensource@gmail.com", role = c("aut", "cre")), person("James", "Lamb", email = "jaylamb20@gmail.com", role = c("aut")), diff --git a/NEWS.md b/NEWS.md index e0896a8..c734733 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,7 +1,10 @@ -# development +# pkgnet 0.6.1 ## NEW FEATURES ## CHANGES +* Removed commented-out `expect_silent` tests from the test suite. (#342) +* CI now enforces `zizmor` checks on Github Actions workflows, and `codecov` reporting has been dropped. (#346) +* Added `.pre-commit-config.yaml` to `.Rbuildignore` so it is excluded from the built tarball. ## BUGFIXES * Fixed runtime error when `FunctionReporter` extract edges from a function containing expressions of `externalptr` type. `FunctionReporter` will generally now ignore unknown expression types and instead log a warning. (#344) diff --git a/cran-comments.md b/cran-comments.md index 2904fe9..c1e0748 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,5 +1,10 @@ # CRAN Submission History +## v 0.6.1 + +### Submission on August 12th, 2026 +This is a patch release that fixes a runtime error in `FunctionReporter` when parsing functions containing `externalptr` expressions, along with minor test suite and CI maintenance. Please see `NEWS.md` for details. + ## v 0.6.0 ### Submission on January 26th, 2026