projects
/
rnaseq-cwl-training.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
354a469
)
Load methods package
author
Joseph Stachelek <jsta@users.noreply.github.com>
Tue, 5 Sep 2017 18:21:19 +0000
(14:21 -0400)
committer
GitHub <noreply@github.com>
Tue, 5 Sep 2017 18:21:19 +0000
(14:21 -0400)
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
bin/generate_md_episodes.R
patch
|
blob
|
history
diff --git
a/bin/generate_md_episodes.R
b/bin/generate_md_episodes.R
index f2a40ba4a7285db9ee2b001ed1a56aabd973a9d8..4ea9835037a81c7e9c657681b12c46cfa30b235f 100644
(file)
--- a/
bin/generate_md_episodes.R
+++ b/
bin/generate_md_episodes.R
@@
-1,5
+1,7
@@
generate_md_episodes <- function() {
+ library("methods")
+
if (require("knitr") && packageVersion("knitr") < '1.9.19')
stop("knitr must be version 1.9.20 or higher")