callr-compatible function that monitors the process's resources
Source:R/profile.R
callr_profile.Rd
This should be used as the value of callr_function
for tar_make()
.
Arguments
- ...
Extra arguments are passed to the processx::process constructor.
- monitor_path
Path to the RDS where the results will be saved. Character scalar.
- monitor_interval
Amount of time in seconds between resource polls. Double vector of length 1.