Software
Placeholder

carrier

Create standalone functions for remote execution

R

The carrier package provides tools for packaging R functions so they can be safely sent to remote R sessions or different processes. It helps you explicitly control what data and dependencies are bundled with your functions and monitor the size of the packaged result.

The package addresses the problem of implicit dependencies and hidden data references that can cause functions to fail when moved to different environments. It requires explicit namespace prefixes for non-base functions and provides two methods for packaging data: passing objects as named arguments or unquoting them inline with !!. The crated functions display their total size and break down the size of each component, making it easy to track what you’re sending to remote processes.

Contributors