From ce784e9902212135f70adcc9f38c6c8397b33849 Mon Sep 17 00:00:00 2001 From: bburns632 Date: Wed, 12 Aug 2026 21:38:16 -0500 Subject: [PATCH 1/3] release v0.6.1 Prepare the v0.6.1 patch release for CRAN: - Set DESCRIPTION version to 0.6.1 (drop trailing .9999) - Convert the NEWS.md development section into the pkgnet 0.6.1 section - Add a v0.6.1 submission entry to cran-comments.md - Exclude .pre-commit-config.yaml from the tarball via .Rbuildignore, which otherwise produced a "hidden files and directories" NOTE under R CMD check --as-cran R CMD check --as-cran on the 0.6.1 tarball reports Status: OK. Co-Authored-By: Claude Opus 5 (1M context) --- .Rbuildignore | 1 + DESCRIPTION | 2 +- NEWS.md | 5 ++++- cran-comments.md | 5 +++++ 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.Rbuildignore b/.Rbuildignore index b50cd586..888351a3 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/DESCRIPTION b/DESCRIPTION index acd6b536..d5102d52 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 e0896a8c..c7347331 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 2904fe9e..c1e0748e 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 From eddec3dbacd8543f2081fa8a013381172389c80b Mon Sep 17 00:00:00 2001 From: bburns632 Date: Wed, 12 Aug 2026 21:46:33 -0500 Subject: [PATCH 2/3] [ci] set up R in build-tarball job The build-tarball job called `R CMD build` without ever installing R, which fails on current ubuntu-latest runners with "R: command not found". Every other R-using job in this repo's workflows already has a setup-r step; this one was the lone exception. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0c75724..ad24c2e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -120,6 +120,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@6f6e5bc62fba3a704f74e7ad7ef7676c5c6a2590 # v2.11.4 + with: + r-version: 'release' - name: build tarball for submission to CRAN run: R CMD build $GITHUB_WORKSPACE - name: Grab tarball path From 1a9369b6f06669f306b8572ba707b964d34bade8 Mon Sep 17 00:00:00 2001 From: bburns632 Date: Wed, 12 Aug 2026 21:59:23 -0500 Subject: [PATCH 3/3] [ci] install gettext for macOS source builds macOS runners have no binaries for R devel, so setup-r-dependencies builds every dependency from source. data.table's po.h includes , which is not present in /opt/R/arm64/include (the CRAN toolchain prefix the compiler searches), so the build died with: ./po.h:2:10: fatal error: 'libintl.h' file not found ERROR: compilation failed for package 'data.table' Install gettext from Homebrew and point CPPFLAGS/LDFLAGS at it. gettext is keg-only, so the prefix is resolved via `brew --prefix` rather than hardcoded. The OpenMP warnings in the same log are unrelated and non-fatal -- data.table reports it is continuing without OpenMP support. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/release.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad24c2e7..28ac4373 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 @@ -121,7 +133,7 @@ jobs: - name: Install Tidy Ubuntu run: sudo apt install -y tidy - name: set up R - uses: r-lib/actions/setup-r@6f6e5bc62fba3a704f74e7ad7ef7676c5c6a2590 # v2.11.4 + uses: r-lib/actions/setup-r@d3c5be51b12e724e68f33216ca3c148b66d5f0b6 # v2.12.1 with: r-version: 'release' - name: build tarball for submission to CRAN