Description Usage Arguments Value Examples
saves the following metadata . filename (if savefnc is not NULL) or else . current date and time . sessionInfo() #sessioninfo::session_info() . github log, if current or parent dir is a github dir
1 | utils_saveMeta(savefnc = NULL, doPrint = F, path_log = NULL, ...)
|
savefnc |
a function to write some file to disk. If given as object is converted to character, default NULL |
doPrint |
print output to screen? useful if directin Rscript stdout to a log file (&>), default F |
path_log |
specify log file path; defaults to creating a file in current working dir, default NULL |
... |
named arguments to savefnc |
None
1 2 3 4 | utils_saveMeta(savefnc=ggplot2::ggsave, doPrint=F, path_log = "~/log.txt", width=10)
TODO add pander pandoc markdown output option?
TODO add MD5SUM save
TODO add overwrite argument
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.