Skip to content

Commit 961d4ee

Browse files
authored
Load methods package
Building `md` from `Rmd` in a script like this will break if the `methods` package is not called and the code includes class object routines. See r-spatial/sf#478
1 parent 354a469 commit 961d4ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/generate_md_episodes.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
generate_md_episodes <- function() {
22

3+
library("methods")
4+
35
if (require("knitr") && packageVersion("knitr") < '1.9.19')
46
stop("knitr must be version 1.9.20 or higher")
57

0 commit comments

Comments
 (0)