Closed yihui closed 3 years ago
合并了一下框架, @yihui 益辉看一下有问题吗
粗看了一下,应该差不多。以后合并时要让 Travis 检查显示出绿钩钩了再合并(编译成功),这次是特例,就放过了。
现在没懂 Travis 失败的原因, 是要在 cosname/rmarkdown-guide 下面再开一个 gh-pages 的分支?
Worker information
0.15s0.00s0.02s0.00s0.01s
system_info
Build system information
0.02s0.01s0.48s0.21s0.05s0.00s0.04s0.00s0.01s0.01s0.01s0.01s0.01s0.00s0.00s0.02s0.00s0.01s0.36s0.00s0.00s0.00s0.01s0.00s0.10s0.00s0.79s0.00s0.08s6.03s0.00s2.41s0.00s2.28s
docker_mtu
resolvconf
Please file any issues at https://travis-ci.community/c/languages/r
and mention @jeroen and @jimhester in the issue
R-install
Installing R
0.00s
git.checkout
0.54s$ git clone --depth=50 --branch=master https://github.com/cosname/rmarkdown-guide.git cosname/rmarkdown-guide
0.01s
Setting environment variables from repository settings
$ export GITHUB_PAT=[secure]
cache.1
Setting up build cache
package
Setting up package cache
R-session-info
R session information
R-dependencies
Installing package dependencies
0.74s$ make gitbook
Rscript --quiet _render.R "bookdown::gitbook"
[1] "/home/travis/build/cosname/rmarkdown-guide/_book/index.html"
The command "make gitbook" exited with 0.
0.34s$ ./_deploy.sh
Cloning into 'book-output'...
fatal: Remote branch gh-pages not found in upstream origin
The command "./_deploy.sh" exited with 128.
cache.2
store build cache
0.00s1.99schanges detected (content changed, file is created, or file is deleted):\n/home/travis/R/Library/remotes/DESCRIPTION
/home/travis/R/Library/remotes/help/paths.rds
/home/travis/R/Library/remotes/help/remotes.rdb
/home/travis/R/Library/remotes/help/remotes.rdx
/home/travis/R/Library/remotes/Meta/package.rds\n
changes detected, packing new archive
uploading master/cache--linux-xenial-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--R-4.0.0.tgz
cache uploaded
Done. Your build exited with 1.
对,我刚建了这个分支。
请 @enixam 把 bookdown 的基本文件加进来。书名暂定《R Markdown 指南》吧,其它信息知道的就写,不知道的就暂时留空,以后再慢慢填。
待办事项:
[x] 基本框架可以参考:https://github.com/yihui/bookdown-chinese
[x] 让 Travis 能成功编译(去掉这里的 true 和注释符之后):https://github.com/cosname/rmarkdown-guide/blob/02d0b82cff8e84af31f1eee7ea76681dc0d211e3/.travis.yml#L5-L7
[ ] 发布书稿到 bookdown.org 然后把这个代码里的“谁?”替换为你相应的用户名:https://github.com/cosname/rmarkdown-guide/blob/master/_render.R
不知道你是否熟悉 Github 合并请求(Pull request,简称 PR),这次你可以试试,这样以后你也熟悉怎么审阅和合并别人的 PR。