SafeMapper1.0.0 package

Fault-Tolerant Functional Programming with Automatic Checkpointing

dot-check_furrr

Check if furrr is Available

dot-cleanup_checkpoint

Cleanup Checkpoint File

dot-create_safe_future_map

Create Safe Future Map Variant

dot-create_safe_future_map2

Create Safe Future Map2 Variant

dot-create_safe_map

Create Safe Map Function Variant

dot-create_safe_map2

Create Safe Map2 Function Variant

dot-empty_sessions_df

Create Empty Sessions Data Frame

dot-execute_batch_with_retry

Execute Batch with Retry Logic

dot-execute_batch

Execute Single Batch

dot-format_output

Format Output According to Type

dot-get_cache_dir

Get Cache Directory

dot-get_checkpoint_path

Get Checkpoint File Path

dot-get_config

Get Configuration (Lazy Loading)

dot-make_fingerprint

Generate Data Fingerprint

dot-safe_execute

Core Safe Execution Engine

dot-save_checkpoint

Save Checkpoint

dot-try_restore

Try to Restore from Checkpoint

null-default

Null-coalescing Operator

s_clean_sessions

Clean Old SafeMapper Sessions

s_configure

Configure SafeMapper Settings

s_debug_session

Debug a SafeMapper Session

s_future_map

Safe Future Map - Parallel with Auto-Recovery

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

s_list_sessions

List All Available SafeMapper Sessions

s_map

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

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

s_possibly

Safe Possibly - Wrap Function to Return Default on Error

s_quietly

Safe Quietly - Wrap Function to Capture Side Effects

s_recover_session

Recover a Specific SafeMapper Session

s_safely

Safe Safely - Wrap Function to Capture Errors

s_session_stats

Get SafeMapper Session Statistics

s_version

Get SafeMapper Package Information

s_walk

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

Provides drop-in replacements for 'purrr' and 'furrr' mapping functions with built-in fault tolerance, automatic checkpointing, and seamless recovery capabilities. When long-running computations are interrupted due to errors, system crashes, or other failures, simply re-run the same code to automatically resume from the last checkpoint. Ideal for large-scale data processing, API calls, web scraping, and other time-intensive operations where reliability is critical. For 'purrr' methodology, see Wickham and Henry (2023) <https://purrr.tidyverse.org/>.

  • Maintainer: Zaoqu Liu
  • License: MIT + file LICENSE
  • Last published: 2026-01-31