tdhock / animint-book

Learn how to create animated interactive ggplots using the animint2 R package
8 stars 5 forks source link

Knitting failed with could not find function "works_with_R" #4

Closed Faye-yufan closed 2 years ago

Faye-yufan commented 2 years ago

I forked this repo and was trying to compile the manual using jekyll build, but there is an error as below:

Error in works_with_R("4.0.2", penaltyLearning = "2020.5.13", future = "1.18.0",  : 
  could not find function "works_with_R"
Execution halted
  Conversion error: Jekyll::RMarkdownConverter encountered an error while converting 'Ch00-preface.Rmd':
                    Knitting failed
jekyll 3.1.6 | Error:  Knitting failed

My jekyll version:

$ jekyll --version
jekyll 3.1.6

and ruby version:

$ ruby --version
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin19]

Is the function works_with_R a prerequisite for compiling? Thanks!

tdhock commented 2 years ago

works_with_R is now defined in knit.R