We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df9ba82 + 53c0a7f commit 468a433Copy full SHA for 468a433
bin/generate_md_episodes.R
@@ -6,12 +6,12 @@ generate_md_episodes <- function() {
6
if (!require("stringr"))
7
stop("The package stringr is required for generating the lessons.")
8
9
- if (require("checkpoint")) {
+ if (require("checkpoint") && packageVersion("checkpoint") >= '0.4.0') {
10
required_pkgs <-
11
checkpoint:::scanForPackages(project = "_episodes_rmd",
12
verbose=FALSE, use.knitr = TRUE)$pkgs
13
} else {
14
- stop("The checkpoint package is required to build the lessons.")
+ stop("The checkpoint package (>= 0.4.0) is required to build the lessons.")
15
}
16
17
missing_pkgs <- required_pkgs[!(required_pkgs %in% rownames(installed.packages()))]
0 commit comments