Generate a random job name

random_job_name()

Value

A character scalar that can be used as job. All names will start with the prefix slurmr-job- and then some random string. This is a wrapper of the function tempfile() and uses as tmpdir argument opts_slurmR$get_tmp_path().

Examples

random_job_name()
#> [1] "slurmr-job-6575d28a7e"