
Install system dependencies for an R package
install_pkg_sys_deps.Rd
This function uses a shared cache approach with safe concurrency controls:
Preserves shared pak cache to avoid redundant downloads/builds
Uses operation-specific mutexes to prevent cache corruption
Implements retry logic with exponential backoff for transient failures
Cleans up stale lock files automatically
Usage
install_pkg_sys_deps(
package_name,
tag,
local_clone_dir,
platform = platform,
aggressive_cleanup = FALSE
)