Description Usage Value See Also
Utility function that tries to detecs the file being run, either with Rscript or with 'source', and returns the basename without file extension. If the function is not called as a result of a file being run, it throws a warning and returns an empty string.
1 | whoami()
|
String of basename without file extension.
Other utility functions: quiet_library
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.