当我跑> blogdown :: serve_site()3次,我得到:
Rendering content/contribute.rmd
Rendering content/promotion.rmd
Rendering content/contribute.rmd
Rendering content/promotion.rmd
Rendering content/contribute.rmd
Rendering content/promotion.rmd
如果我这样做4次,Rstudio会冻结!
使用blogdown :: stop_server()重新初始化,我只获得每次渲染一次。这种额外的渲染只发生在内容文件夹中的.rmd文件中,而不是博客文章中的文件。
整个网站可以从https://github.com/open-science-promoters/RDM-promotion分叉。有人有问题吗?我正在使用
‘blogdown’ version 0.6
#> R version 3.5.0 (2018-04-23)
#> Platform: x86_64-apple-darwin15.6.0 (64-bit)
#> Running under: macOS High Sierra 10.13.4
#>
#> Matrix products: default
#> BLAS: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRblas.0.dylib
#> LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib
#>
#> locale:
#> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> loaded via a namespace (and not attached):
#> [1] compiler_3.5.0 backports_1.1.2 magrittr_1.5 rprojroot_1.3-2
#> [5] tools_3.5.0 htmltools_0.3.6 yaml_2.1.19 Rcpp_0.12.17
#> [9] stringi_1.2.3 rmarkdown_1.10 knitr_1.20 stringr_1.3.1
#> [13] digest_0.6.15 evaluate_0.10.1
答案 0 :(得分:0)
确定问题:.rmd文件缺少新内容的yaml和hugo添加问题处理它。添加
---
categories: []
tags: []
---
在.rmd文件之上的足以处理问题(并将.rmd内容放在单页的普通模板下!)