pkglite
Compact Package Representations. Contribute to Merck/pkglite development by creating an account on GitHub.
pkglite's whole job is knowing which files in an R package are text — and it keeps getting better at guessing.
◆Recent moves
- 5mo ago
Maintainer email and CI workflow updates
Housekeeping only — maintainer email and GitHub Actions workflow versions. The first release in over a year, and it contains no functional change.
View source ↗ - 1y ago
Handles Stan-interfacing packages and ML binary formats
Widens `file_src()` coverage so packages with `src/Makevars` or `src/Makefile` — the rstan-interfacing pattern — get the right file collection, and expands the binary extension dictionary for formats common in machine learning frameworks. Targeted fixes for two package families whose layouts defeated the defaults.
View source ↗ - 1y ago
Extension dictionary rebuilt from 21,369 CRAN packages
Rebuilds the text and binary extension dictionary from a survey of the entire CRAN corpus rather than from accumulated bug reports. The right way to solve a classification problem whose failures are silent — measure what actually exists instead of waiting for each miss to surface.
View source ↗ - 2y ago
Test helpers moved to helper.R
Relocates test-file-scoped logic into `tests/testthat/helper.R` to follow testthat conventions. Internal tidying with no user-facing effect.
View source ↗ - 3y ago
More file types recognised; cli dependency dropped
Adds `.stan`, `.brew` and other extensions to the dictionary, and removes the cli dependency in favour of internally tested replacements. For a package that has to run inside locked-down validated environments, shedding a dependency is worth more than the convenience it provided.
View source ↗ - 5y ago
File collections gain merge, prune, and a tests template
The release that established the working API: a `file_tests()` specification template, `merge()` and `prune()` methods for composing and trimming file collections, and a vignette on curating them. Everything since has refined discovery rather than changed this interface.
View source ↗