| current_input | R Documentation | 
Returns the name of the input file passed to knit().
current_input(dir = FALSE)
| dir | Boolean; whether to prepend the current working directory to the file path, i.e. whether to return an absolute path or a relative path. | 
A character string, if this function is called inside an input
document. Otherwise NULL.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.