摘要:在win7上找不到bash(git bash可用)
blogdown::new_site(theme = "yihui/hugo-xmin")
恭喜!您的新 Hugo 站点在 C:\Users\John\repos\openemr-blog3 中创建。
只需再执行几个步骤,您就可以开始了:
- 将主题下载到同名文件夹中。从https://themes.gohugo.io/中选择一个主题,或者使用“hugo new theme”命令创建自己的主题。
- 也许您想添加一些内容。您可以使用“hugo new \.”添加单个文件。
- 通过“hugo server”启动内置直播服务器。
访问https://gohugo.io/获取快速入门指南和完整文档。尝试 URL ' https://github.com/yihui/hugo-xmin/archive/master.zip ' 内容类型 'application/zip' 长度 78899 字节 (77 KB) 已下载 77 KB
渲染内容/_index.Rmarkdown 运行: bash -c "cd ../..; find .-not -path ' /exampleSite/ ' ( -name ' .html' -o -name ' .css' ) | xargs wc -升"
从第 14-16 行退出 (_index.Rmarkdown) system2 中的错误(cmd, code, stdout = TRUE, stderr = TRUE, env = options$engine.env) : '"bash"' not found Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> 执行停止运行命令 '"C:/PROGRA~1/R/R-34~1.1/bin/x64/Rscript" "C:/Users/John/Documents/R/win-library /3.4/blogdown/scripts/render_page.R" "_index.Rmarkdown" "C:/Users/John/repos/openemr-blog3/content"' 在 render_page(f) 中有状态 1Error:无法渲染 '_index.Rmarkdown' [1] TRUE /usr/bin/sed: can't read : No such file or directory 警告信息: running command 'sed -i '' -e '1,6d' -e '34,38d' ../README .md' 的状态为 2
devtools::session_info()
会话信息 ------------------------------------------
setting value
version R version 3.4.1 (2017-06-30) system x86_64, mingw32
ui RStudio (1.0.153)
language (EN) collate
English_United States.1252
tz America/New_York
日期 2017-09-15
软件包------------------------------------------------------
包 * 版本日期源反向
移植 1.1.0 2017-05-22 CRAN (R 3.4.0)
基础 * 3.4.1 2017-06-30 本地
blogdown * 0.1.4 2017-09-15 Github (rstudio/blogdown@ec651e1) bookdown 0.5 2017-08-20 CRAN (R 3.4.1)
编译器 3.4.1 2017-06-30 本地
数据集 * 3.4.1 2017-06-30 本地
devtools 1.13.3 2017-08-02 CRAN (R 3.4.1 )
摘要 0.6.12 2017-01-27 CRAN (R 3.4.0)
评估 0.10.1 2017-06-24 CRAN (R 3.4.1)
图形 * 3.4.1 2017-06-30 本地
grDevices * 3.4.1 2017 -06-30 本地
htmltools 0.3.6 2017-04-28 CRAN (R 3.4.0)
knitr 1.17 2017-08-10 CRAN (R 3.4.1)
magrittr 1.5 2014-11-22 CRAN (R 3.4.0)
memoise 1.1.0 2017-04-21 CRAN (R 3.4.0)
方法 * 3.4.1 2017-06-30 本地
Rcpp 0.12.12 2017-07-15 CRAN (R 3.4.1)
rmarkdown 1.6 2017-06-15 CRAN (R 3.4.1)
rprojroot 1.2 2017-01-16 CRAN (R 3.4.0)
rstudioapi 0.7 2017-09-07 CRAN (R 3.4.1)
统计* 3.4.1 2017-06-30 本地
stringi 1.1.5 2017-04-07 CRAN (R 3.4.0)
stringr 1.2.0 2017-02-18 CRAN (R 3.4.0)
工具 3.4.1 2017-06- 30 个本地实用程序
* 3.4.1 2017-06-30 本地
withr 2.0.0 2017-08-10 Github (jimhester/withr@190d293) yaml 2.1.14 2016-11-12 CRAN (R 3.4.0)