Skip to content

bundle

Serialize Model Objects with a Consistent Interface

v0.1.3 · Dec 10, 2025 · MIT + file LICENSE

Description

Typically, models in 'R' exist in memory and can be saved via regular 'R' serialization. However, some models store information in locations that cannot be saved using 'R' serialization alone. The goal of 'bundle' is to provide a common interface to capture this information, situate it within a portable object, and restore it for use in new settings.

Downloads

CRAN

2.1K

Last 30 days

2733rd

6.7K

Last 90 days

37K

Last year

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

r2u CRAN

303

Last 30 days

849

Last 90 days

5.4K

Last year

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

autoCRAN

7

Last 7 days

78

Last 30 days

0

All-time

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

conda-forge CRAN

90

Last 30 days

272

Last 90 days

1.3K

Last year

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

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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 9, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 24, 2026
ERROR r-devel-linux-x86_64-debian-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘bundle.Rmd’ using rmarkdown

Quitting from bundle.Rmd:15-30 [unnamed-chunk-1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! /tmp
...[truncated]...
/lib/libpython3.12.so: cannot enable executable stack as shared object requires: Invalid argument
--- failed re-building ‘bundle.Rmd’

SUMMARY: processing the following file failed:
  ‘bundle.Rmd’

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

4,811

Files

67

Compiled share

0%

Has compiled src

No

Language breakdown

R 944 (19.6%)Tests 2,081 (43.3%)Docs 1,454 (30.2%)Vignettes 332 (6.9%)

API

Exported functions

5

Internal functions

22

Recent export changes

v0.1.0+5 bundle, bundle_constr, situate_constr +2 more

Testing & CI

Has tests

Yes

Test-to-code ratio

2.20

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

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

4.1

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

4

First release

2022-09-15

Latest release

2025-12-10

Avg cadence

393 days

Cold removal rate

Dep drift

1

LOC over versions

v0.1.0: 4,371 LOCv0.1.1: 4,369 LOCv0.1.2: 4,697 LOCv0.1.3: 4,811 LOC

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

Reverse Dependencies (5)

suggests

Dependency Network

Dependencies Reverse dependencies glue lifecycle purrr rlang withr imanr kumquat ldmppr vetiver kerasnip bundle

Version History

5 tracked
new 0.1.3 Mar 10, 2026
updated 0.1.3 ← 0.1.2 diff Dec 9, 2025
updated 0.1.2 ← 0.1.1 diff Nov 11, 2024
updated 0.1.1 ← 0.1.0 diff Sep 8, 2023
new 0.1.0 Sep 14, 2022