这里:https://bookdown.org/yihui/blogdown/a-quick-example.html
然后:blogdown::new_site()
------------------------------------?一
怎么没有public这个文件?
下面这些都有
content/
themes/
static/
。。。
------------------------------------?二
'C:\Users\pengfei\AppData\Roaming\Hugo\hugo.exe" new site ".' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
------------------------------------rstudio界面:
blogdown::new_site()
Error: C:\R_new\RSTUDIO_BLOGDOWN already exists and is not empty
Error: C:\R_new\RSTUDIO_BLOGDOWN already exists and is not empty
'C:\Users\pengfei\AppData\Roaming\Hugo\hugo.exe" new site ".' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Error in shell(cmd, mustWork = TRUE, intern = intern) :
'"C:\Users\pengfei\AppData\Roaming\Hugo\hugo.exe" new site "." -f toml' execution failed with error code 1
In addition: Warning messages:
1: In blogdown::new_site() : The directory '.' is not empty
2: running command '"C:\Users\pengfei\AppData\Roaming\Hugo\hugo.exe" new site "." -f toml' had status 65535
3: running command '"C:\Users\pengfei\AppData\Roaming\Hugo\hugo.exe" new site "." -f toml' had status 65535
4: running command 'C:\windows\system32\cmd.exe /c "C:\Users\pengfei\AppData\Roaming\Hugo\hugo.exe" new site "." -f toml' had status 1