Comments (8)
目前我只把文字部分推到项目里了,有些前处理的代码和图片比较乱,暂时没时间整理,还没有推过来。待我先把 pdf 书稿搞定了再回头弄这个。
from msg.
我接着修了几个问题,只能走到这一步了:https://travis-ci.com/github/XiangyunHuang/MSG-Book/builds/179483251 感觉是来自 https://github.com/yihui/MSG/blob/master/inst/examples/pork-price2.R 但我不明白为什么 patchwork 加载了还是出错。
label: pork-price (with options)
List of 4
$ fig.scap : chr "(ref:pork-price-s)"
$ fig.cap : chr "(ref:pork-price)"
$ dev : chr "tikz"
$ fig.showtext: logi FALSE
Quitting from lines 771-772 (_main.Rmd)
Error in p1 | p2 :
operations are possible only for numeric, logical or complex types
Calls: <Anonymous> ... msg -> source -> withVisible -> eval -> eval -> print
Execution halted
The command "Rscript -e 'bookdown::render_book("index.Rmd")'" exited with 1.
from msg.
在这个 Rmd 是不是还加载了 cowplot 或者别的什么?@yihui 不要浪费时间在这个上面了, @pzhaonet 既然一直都是离线在处理,我们是没法知道究竟干了什么的,此外用 msg()
函数把代码隐藏起来,更是加大了排错的难度,我已经放弃了。
既然 @pzhaonet 线下已经搞了一套,其实我之前 edition1 分支的内容都是可以删掉的,然后换上大鹏的新内容,这样两个就不会打架,也好排错,同时也不要管 Travis 报错了,浪费大家的精力。所以我先把这个 issues 关闭了!
from msg.
我不太习惯在一个总是报错的分支上做开发工作。如果只是自己用,那也无所谓,只要自己能编出来就好了。如果是别人可以贡献的公开库,我觉得最好还是把问题修正了,这样好知道别人贡献来的代码是不是有问题,有问题好早发现。
我觉得最终最好还是把这个 edition1 分支合并到主分支中吧。
from msg.
我可以弄个在线处理的完好项目,用 travis-ci 自动编译 bookdown 项目出来 pdf,但是得放弃 docker,因为这个东西我实在搞不定。
from msg.
容器别弄了
from msg.
Travis 不必编出 PDF 来,只要 gitbook 格式能编出来就够了。我的书一般都只提供网页版,PDF 我自己在本地编出来给出版社。
from msg.
我也是这么认为,想弄 PDF 的,自己学去
from msg.
Related Issues (20)
- 部分包有被提及但是没有使用 HOT 3
- 14 年后取消限制条款的出处? HOT 1
- 表 6.1 的显示有点乱 HOT 2
- ! Package caption Error: \caption outside float. HOT 1
- 转向 GithHub Action 测试
- 直播活动收集来的问题及谢大的回复 HOT 1
- Why not Noto? HOT 2
- 【数据】卫星图像的效果出不来 HOT 3
- 收集关于 MSG 的评论介绍
- 图书二维码
- 【封面】 MSG 书籍封面 HOT 4
- 此处编译 pdf 似乎已经无法通过,会生成一个 animategraphics HOT 1
- pandoc 和 rmarkdown 还支持 ascii_identifiers 吗? HOT 3
- 【第一版出版事宜】 HOT 14
- 致谢 HOT 10
- LaTeX 输出的 pdf 代码格式里引号和中文字符之间的空格问题 HOT 4
- 1986 挑战者号失事的 O 型环故障与温度的关系图 HOT 6
- 部分目录链接错误
- 5.5.4 地图,建议更改显示地区
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msg.