check_wd | R Documentation |
Check whether a file exists
check_wd(state, path, missing_msg = NULL)
state |
the state to start from |
path |
Path to the file you want to check |
missing_msg |
Custom feedback message in case the file is missing |
## Not run: # Example 1 solution code: # write("hello", file = "test.txt") # SCT ex() %>% check_wd("test.txt") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.