Description Usage Arguments Details Value Note Examples
Create or construct filename
1 | make_filename(year)
|
year |
A character containing the year. |
This is a simple function which expects a year as an argument, converts the year to integer, constructs the file name by appending year to the filename and returns it.
This function returns a final filename having the year.
Note that this function fails if argument year is not passed as argument.
1 2 3 4 5 | ## Not run:
make_filename()
make_filename("Test")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.