character, one of "stop", "warning", "quiet". specifying what
should be done when the script path cannot be determined:
"stop" causes an error to be generated,
"warn" generates a warning message and returns NA,
"quiet" silently returns NA.
These function should work with Rscript
, source()
,
Rmarkdown
RStudio
's "Run selection", and the RStudio
Console.