Description Usage Arguments Value Examples
Fetches the files for a problem via the Exercism API and writes them into a new problem folder in the Exercism directory
1 2 | fetch_problem(slug, track_id = "r", force = FALSE, open = TRUE,
start_testing = FALSE)
|
slug |
a normalized, url-safe identifier for a problem e.g. "hello-world" |
track_id |
a normalized, url-safe identifier for a language track. e.g. r, python, javascript etc |
force |
logical, indicating whether existing problem files should be overwritten |
open |
logical, indicating whether to open the problem files immediately after fetching |
start_testing |
logical, indicating whether to run |
Prints confirmation message upon success
1 2 3 4 | ## Not run:
fetch_problem("hello-world", "r")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.