Skip to content

pkglite

Compact Package Representations

v0.2.6 · Jun 12, 2026 · GPL-3

Description

A tool, grammar, and standard to represent and exchange R package source code as text files. Converts one or more source packages to a text file and restores the package structures from the file.

Downloads

CRAN

772

Last 30 days

4274th

2.4K

Last 90 days

10.1K

Last year

Trend: +0.8% (30d vs prior 30d)

r2u CRAN

7

Last 30 days

33

Last 90 days

111

Last year

Trend: -22.2% (30d vs prior 30d)

autoCRAN

5

Last 7 days

19

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING r-devel-linux-x86_64-debian-gcc

for code/documentation mismatches

Warning in file(open = "w+") :
  cannot open file '/tmp/Rtmp828TVz/Rfaa14c7b378868': No space left on device
Error in file(open = "w+") : cannot open the connection
Calls: <Anonymous> -> .load_package_quietly -> .try_quietly -> file
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

10,446

Files

111

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,142 (20.5%)Tests 6,887 (65.9%)Docs 908 (8.7%)Vignettes 509 (4.9%)

API

Exported functions

29

Internal functions

43

Recent export changes

v0.2.4+1 pattern_file_src

Testing & CI

Has tests

Yes

Test-to-code ratio

3.22

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

96.6%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

8

First release

2021-03-08

Latest release

2026-06-12

Avg cadence

217 days

Cold removal rate

Dep drift

2

LOC over versions

v0.1.1: 9,464 LOCv0.2.0: 9,990 LOCv0.2.1: 10,387 LOCv0.2.2: 10,337 LOCv0.2.3: 10,377 LOCv0.2.4: 10,444 LOCv0.2.5: 10,445 LOCv0.2.6: 10,446 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies crayon magrittr remotes pkglite

Version History

9 tracked
updated 0.2.6 ← 0.2.5 diff Jun 12, 2026
new 0.2.5 Mar 10, 2026
updated 0.2.5 ← 0.2.4 diff Feb 23, 2026
updated 0.2.4 ← 0.2.3 diff Nov 8, 2024
updated 0.2.3 ← 0.2.2 diff Sep 24, 2024
updated 0.2.2 ← 0.2.1 diff Feb 20, 2024
updated 0.2.1 ← 0.2.0 diff Aug 28, 2022
updated 0.2.0 ← 0.1.1 diff May 21, 2021
new 0.1.1 Mar 7, 2021