knitr::include_graphics("images/01-notebook-preview.png")
knitr::include_graphics("images/01-dynamic-document.png")
2、build HTML与word都可以,但build PDF出错,不知到写作团队测试过build PDF没有。我是菜鸟,还无法定位解决问题。不过知道PDF中laTeX数学公式等的效果比Word要方便很多和好很多。
···
Error in seq.default(dots[[1L]][[5L]], dots[[2L]][[5L]]) :
'to' must be a finite number
In addition: Warning messages:
1: `guides(<scale> = FALSE)` is deprecated. Please use `guides(<scale> = "none")` instead.
2: In system2("python", c("-c", shQuote(code)), stdout = TRUE) :
running command '"python" -c "print(1 + 1)"' had status 9009
3: In eval_asy() :
System set-up not compatible with Asymptote, so chunks with asy engine will be skipped.
4: In eval_asy() :
System set-up not compatible with Asymptote, so chunks with asy engine will be skipped.
5: In png::readPNG(path, native = TRUE, info = TRUE) :
Image uses 16-bit channels but R native format only supports 8-bit, truncating LSB.
6: In knitr::write_bib(c(.packages(), "bookdown", "knitr", "rmarkdown", :
package(s) flextable, gt, gtsummary, formattable, reactable, rhandsontable, pixiedust, stargazer, tables, tangram, ztable, condformat, printr, styler, ezknitr, rmdformats, learnr, blogdown, spelling, blastula, workflowr, xaringanthemer, diagram, rmdrive, xaringanExtra, fusen not found
7: In utils::citation(..., lib.loc = lib.loc) :
no date field in DESCRIPTION file of package 'datadrivencv'
8: In utils::citation(..., lib.loc = lib.loc) :
could not determine year for 'datadrivencv' from package DESCRIPTION file
9: In utils::citation(..., lib.loc = lib.loc) :
Error in seq.default(dots[[1L]][[5L]], dots[[2L]][[5L]]) :
'to' must be a finite number