Description Usage Arguments Value Examples
View source: R/find_assignment.R
A helper function to validate and locate the a lab file based on its extension being Rmd ipynb. The utility will search recursively up the directory. If multiple candidate files are found, the user will be prompted to select which file they wish.
1 | find_assignment(notebook = NULL)
|
notebook |
A character string specifying the path to the lab. If left blank, labzenr will attempt to find the lab in the current directory recursively. |
The relative filepath to the lab found. Returns NULL if none found.
1 2 3 4 5 | ## Not run:
# Navigate to a UBC-MDS lab repo and type
labzenr:::find_assignment()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.