• R语言已解决
  • 用 R blogdown搭建个人网站时,生成的public文件夹是空的

按照网上视频教程使用Rblogdown搭建个人网站之后,我将项目文件夹上传到了github上,但是netlify部署网站这一步一直报错,显示如下:

9:44:33 PM: Build ready to start
9:44:41 PM: build-image version: 4c96c066e57a5eeea592aa96be2cfdcfceaa7a0c (focal)
9:44:41 PM: buildbot version: 4c96c066e57a5eeea592aa96be2cfdcfceaa7a0c
9:44:42 PM: Fetching cached dependencies
9:44:42 PM: Failed to fetch cache, continuing with build
9:44:42 PM: Starting to prepare the repo for build
9:44:42 PM: No cached dependencies found. Cloning fresh repo

然后我发现,我的public文件夹里什么也没有,请问大家知道是什么原因吗?

CyrusYip 更改标题为「用 R blogdown搭建个人网站时,生成的public文件夹是空的

CyrusYip https://github.com/meiyuPan/test.git 这个是我的网站源代码。我先在Rstudio中建了一个名字为test的网站,然后生成了一个test文件夹,然后我用github桌面版上传整个test文件夹,但是不知道为什么,github上面只有一个.gitattributes文件