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

2.3K

Last 30 days

2794th

6.2K

Last 90 days

35.8K

Last year

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

CRAN Check Status

1 ERROR
13 OK
Show all 14 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-macos-arm64 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 ERROR
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (1 non-OK)
ERROR r-patched-linux-x86_64

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:
! /home/hornik/tmp/scratch/check-CRAN-regular-hornik/cache/R/reticulate/uv/python/cpython-3.12.13-linux-x86_64-gnu/lib/libpython3.12.so - /home/hornik/tmp/scratch/check-CRAN-regular-hornik/cache/R/reticulate/uv/python/cpython-3.12.13-linux-x86_64-gnu/lib/libpython3.12.so: cannot enable executable stack as shared object requires: Invalid argument
---
Backtrace:
     ▆
  1. ├─base::ifelse(...)
  2. └─tensorflow::tf_version()
  3.   └─tensorflow::tf_config()
  4.     └─reticulate::py_config()
  5.       └─reticulate:::ensure_python_initialized()
  6.         └─reticulate:::initialize_python()
  7.           └─base::tryCatch(...)
  8.             └─base (local) tryCatchList(expr, classes, parentenv, handlers)
  9.               └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
 10.                 └─value[[3L]](cond)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'bundle.Rmd' failed with diagnostics:
/home/hornik/tmp/scratch/check-CRAN-regular-hornik/cache/R/reticulate/uv/python/cpython-3.12.13-linux-x86_64-gnu/lib/libpython3.12.so - /home/hornik/tmp/scratch/check-CRAN-regular-hornik/cache/R/reticulate/uv/python/cpython-3.12.13-linux-x86_64-gnu/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

Check History

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

Reverse Dependencies (3)

imports

Dependency Network

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

Version History

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