cmd
can be an R expression
, which is
eval
uated if necessary in the environment calling
RunCmdForNewerInput
, a string to be passed to system
or NULL/NA in which cases the files are checked and TRUE
or
FALSE
is returned depending on whether action is required.
When UseLock=TRUE
, the lock file created is called outfiles[1].lock
When ReturnInputTimes=TRUE
, the input mtimes are returned as an
attribute of a logical value (if available).