Skip to contents

Run the programs specified by the pattern, in the order as the pattern select the files. Keep a log of the results. By default the pattern starting with two numbers and ending with .R is selected. They are run in order

Usage

master_txt(
  pattern = "^[0-9][0-9].*\\.R$",
  start = 1,
  stop = Inf,
  logdir = config::get("dirs")$logs,
  rscript_path
)

Arguments

pattern

Regular expression to select the files to run

start

index of the program to start

stop

index of the program to stop

logdir

directory to keep the logs of the files. By default

rscript_path

path to the Rscript file the entry on the config.yml dirs:logs

Value

a data.frame with the files run, running time and exit status

Details

The program add (or create if not exists) the files run, time of execution and exit status in the file master.log of the directory logs.

WARNING: This is a legacy program. Use master instead.