alf_prep_rscript.Rd
Generate a template R script for curating probability distributions from extracted ALFRESCO data.
alf_prep_rscript(out_dir = alfdef()$alf_slurm_dir, file = "alf_prep.R")
out_dir | output directory of R script. |
---|---|
file | R script. |
Create a template R script on disk to be run by a slurm script made using alf_prep_slurm.
This function does not need to be called directly if alf_prep_slurm is run with the default copy_rscript = TRUE
.
This function is intended to be used in conjunction with alf_prep_slurm.
It creates a copy on disk at out_dir
of a template R script contained in the alfresco
package.
# NOT RUN { alf_prep_rscript() # }