Learn R Programming

SafeMapper

Fault-Tolerant Functional Programming with Automatic Checkpointing

Never lose your computational progress again.


Copy Link

Version

Install

install.packages('SafeMapper')

Version

1.0.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Zaoqu Liu

Last Published

January 31st, 2026

Functions in SafeMapper (1.0.0)

.get_cache_dir

Get Cache Directory
.get_checkpoint_path

Get Checkpoint File Path
s_list_sessions

List All Available SafeMapper Sessions
s_walk

Safe Walk - Drop-in Replacement for purrr::walk with Auto-Recovery
s_map

Safe Map - Drop-in Replacement for purrr::map with Auto-Recovery
null-default

Null-coalescing Operator
s_future_map2

Safe Future Map2 - Parallel Two-Input with Auto-Recovery
s_imap

Safe IMap - Drop-in Replacement for purrr::imap with Auto-Recovery
.try_restore

Try to Restore from Checkpoint
.safe_execute

Core Safe Execution Engine
.save_checkpoint

Save Checkpoint
s_version

Get SafeMapper Package Information
s_session_stats

Get SafeMapper Session Statistics
s_future_map

Safe Future Map - Parallel with Auto-Recovery
s_debug_session

Debug a SafeMapper Session
s_quietly

Safe Quietly - Wrap Function to Capture Side Effects
s_possibly

Safe Possibly - Wrap Function to Return Default on Error
.create_safe_map

Create Safe Map Function Variant
s_configure

Configure SafeMapper Settings
s_clean_sessions

Clean Old SafeMapper Sessions
.check_furrr

Check if furrr is Available
.execute_batch

Execute Single Batch
.create_safe_map2

Create Safe Map2 Function Variant
.empty_sessions_df

Create Empty Sessions Data Frame
.get_config

Get Configuration (Lazy Loading)
.execute_batch_with_retry

Execute Batch with Retry Logic
.create_safe_future_map

Create Safe Future Map Variant
.format_output

Format Output According to Type
.cleanup_checkpoint

Cleanup Checkpoint File
.make_fingerprint

Generate Data Fingerprint
.create_safe_future_map2

Create Safe Future Map2 Variant
s_safely

Safe Safely - Wrap Function to Capture Errors
s_recover_session

Recover a Specific SafeMapper Session
s_map2

Safe Map2 - Drop-in Replacement for purrr::map2 with Auto-Recovery
s_pmap

Safe PMap - Drop-in Replacement for purrr::pmap with Auto-Recovery