简体   繁体   English

github gh-pages中的R包帮助

[英]R package help in github gh-pages

Given an R package with a git repo on github, I'm looking for an optimal way to build a github hosted (gh-pages) site from the function documentation within the package (in the form roxygen2 comments). 给定一个在github上带有git repo的R包,我正在寻找一种最佳方法,可从该包内的功能文档(以roxygen2注释的形式)构建一个github托管(gh页)的站点。 It'd be great to be able to include vignettes as well. 能够包含小插图也很棒。 Can anyone offer some pointers as to how to get started? 谁能提供一些入门指南?

I've finally got around to trying pkgdown . 我终于可以尝试使用pkgdown了 It's still something of a work in progress, but very usable even at this stage. 它仍在进行中,但即使在此阶段也非常有用。 It does what I want. 它可以满足我的要求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM