Commit 961d4ee1 authored by Joseph Stachelek's avatar Joseph Stachelek Committed by GitHub
Browse files

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 https://github.com/r-spatial/sf/issues/478
parent 354a4696
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
generate_md_episodes <- function() {

    library("methods")
    
    if (require("knitr") && packageVersion("knitr") < '1.9.19')
        stop("knitr must be version 1.9.20 or higher")