<!-- README.md is generated from README.Rmd. Please edit that file -->
# pkgdown
[](https://travis-ci.org/r-lib/pkgdown)
[](https://www.tidyverse.org/lifecycle/#experimental)
[](https://cran.r-project.org/package=pkgdown)
[](https://codecov.io/github/r-lib/pkgdown?branch=master)
pkgdown is designed to make it quick and easy to build a website for
your package. You can see pkgdown in action at
<http://pkgdown.r-lib.org>: this is the output of pkgdown applied to the
latest version of pkgdown. Learn more in `vignette("pkgdown")` or
`?build_site`.
## Installation
pkgdown is not currently available from CRAN, but you can install the
development version from github with:
``` r
# install.packages("devtools")
devtools::install_github("r-lib/pkgdown")
```
## Usage
Run pkgdown from the package directory each time you release your
package:
``` r
pkgdown::build_site()
```
This will generate a `docs/` directory. The home page will be generated
from your package’s `README.md`, and a function reference will be
generated from the documentation in the `man/` directory. If you are
using GitHub, the easiest way to make this your package website is to
check into git, then go settings for your repo and make sure that the
**GitHub pages** source is set to “master branch /docs folder”.
The package also includes an RStudio add-in which you can bind to a
keyboard shortcut. I recommend `Cmd + Shift + W`: it uses Cmd + Shift,
like all other package development worksheets, it replaces a rarely used
command (close all tabs), and the W is mnemonic for website.
To customise your site, create `_pkgdown.yml` and modify it as described
in the documentation. Alternatively, you can also use
`pkgdown/_pkgdown.yml` if you need other files to customise your site.
## In the wild
As at last count, pkgdown is used [by over 1300
packages](https://github.com/search?utf8=✓&q=pkgdown.css+in%3Apath+path%3Adocs&type=Code).
Here are a few examples created by people contributors to pkgdown:
- [bayesplot](http://mc-stan.org/bayesplot/index.html)
\[[source](https://github.com/stan-dev/bayesplot/tree/gh-pages)\]:
plotting functions for posterior analysis, model checking, and MCMC
diagnostics.
- [valr](https://rnabioco.github.io/valr/)
\[[source](https://github.com/rnabioco/valr)\]: read and manipulate
genome intervals and signals.
- [mkin](http://jranke.github.io/mkin/)
\[[source](https://github.com/jranke/mkin)\]: calculation routines
based on the FOCUS Kinetics Report
- [NMF](http://renozao.github.io/NMF/master/index.html)
\[[source](https://github.com/renozao/NMF)\]: a framework to perform
non-negative matrix factorization (NMF).
Comparing the output with the source is a great way to learn new pkgdown
techniques (particularly because ironically, the pkgdown documentation
isn’t very good yet)
## Code of conduct
Please note that this project is released with a [Contributor Code of
Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree
to abide by its terms.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论





























收起资源包目录





































































































共 229 条
- 1
- 2
- 3
资源评论


好家伙VCC
- 粉丝: 4576
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- vcos_components_configs-智能车资源
- 中职计算机教学中存在的问题及对策探思.docx
- 数字图像处理实验指导说明书zqd.doc
- lanqiao-蓝桥杯资源
- 汇编语言-汇编语言资源
- 通信工程中多网融合技术的探析.docx
- 基于华为云计算技术的多课程教学平台的构建.docx
- cotParam-C语言资源
- klogging-C++资源
- VC数据挖掘在客户关系管理中的实际应用.doc
- (源码)基于Pytorch的CenterNet目标检测模型实现.zip
- 完成Java面向对象程序设计方案实验课的心得体会.doc
- 中职计算机蓝领人才培养的思考与探索.docx
- 海外工程项目管理面临的挑战与对策.docx
- 基于智慧城市的快递寄件系统研究.docx
- 人工智能改善生活.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
