Description Usage Arguments Value Examples
Check Leanpub Course
1 2 3 4 5 6 7 8 9 |
course_dir |
directory with course materials |
save_metrics |
Should an 'rds' file be saved of the 'data.frame'? |
timezone |
Timezone to be used? |
require_authorization |
Should you authorize for Google Slides and such to check the modified time? |
use_book |
Use |
check_youtube_links |
Should YouTube links be checked? If starting a
course, set to |
... |
arguments to pass to |
A list of data frames of the checked course. Will have
class course_check
1 2 3 4 5 6 7 8 9 10 11 | root_path = tempfile()
course_name = "test this out2"
book_txt = system.file("extdata", "Book.txt", package = "didactr")
sc = create_course(course_name, root_path, book_txt = book_txt)
course_dir = sc$course_dir
in_ci <- function() {
nzchar(Sys.getenv("CI"))
}
if (!in_ci()) {
object = check_course(sc$course_dir, require_authorization = FALSE)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.