R/utils.R
apptainer_available.Rd
Tests whether apptainer or singularity is installed on PATH and responds to --version.
apptainer
singularity
PATH
--version
apptainer_available(timeout = 5)
Maximum seconds to wait for the version check. Defaults to 5.
5
A single logical value (TRUE if Apptainer/Singularity is usable, FALSE otherwise).
TRUE
FALSE
apptainer_available() #> [1] FALSE