rres_render_solutions_date | R Documentation |
This function assumes the YAML header of a .qmd file uses a parameter called solutions, params: solutions which has two values, TRUE and FALSE. The file may use this parameter to adjust the R markdown chunk options such as eval or echo when rendering to output the solutions to exercises.
rres_render_solutions_date(input, fext = "html", ...)
input |
text: the name of the file to be rendered |
fext |
text for the file extension |
... |
text: other parameters to be passed to the render function |
The function works as a standalone function called in the console or script.
creates two output files in the default directory. Both have the current date appended to the file name. One has no solutions in the output and the second has solutions and the word solutions in the output file name.
# rresutils::rres_render_solutions_date("my_path/file")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.