-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c4bb827
commit 5aaca64
Showing
3 changed files
with
103 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
^_pkgdown\.yml$ | ||
^docs$ | ||
^pkgdown$ | ||
^README\.Rmd$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
--- | ||
output: github_document | ||
--- | ||
|
||
<!-- README.md is generated from README.Rmd. Please edit that file --> | ||
|
||
```{r, include = FALSE} | ||
knitr::opts_chunk$set( | ||
collapse = TRUE, | ||
comment = "#>", | ||
fig.path = "man/figures/README-", | ||
out.width = "100%" | ||
) | ||
``` | ||
|
||
|
||
# poissontemplate | ||
|
||
<!-- badges: start --> | ||
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable) | ||
[![R-CMD-check](https://github.com/poissonconsulting/poissontemplate/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/poissonconsulting/poissontemplate/actions/workflows/R-CMD-check.yaml) | ||
<!-- badges: end --> | ||
|
||
poissontemplate provides a custom [pkgdown](https://pkgdown.r-lib.org/) template for Poisson consulting packages. | ||
Please don’t use it for your own package. | ||
|
||
## Setup | ||
|
||
In every package where you need to set up poissontemplate usage, run | ||
|
||
``` r | ||
poissontemplate::use_poisson_pkgdown() | ||
``` | ||
|
||
## Installation | ||
|
||
### Release | ||
|
||
To install the release version from [CRAN](https://CRAN.R-project.org/package=poissontemplate). | ||
```r | ||
install.packages("poissontemplate") | ||
``` | ||
|
||
The website for the release version is at <https://poissonconsulting.github.io/poissontemplate/>. | ||
|
||
### Development | ||
|
||
To install the development version from [r-universe](https://poissonconsulting.r-universe.dev/poissontemplate). | ||
```r | ||
install.packages("poissontemplate", repos = c("https://poissonconsulting.r-universe.dev", "https://cloud.r-project.org")) | ||
``` | ||
|
||
or from [GitHub](https://github.com/poissonconsulting/poissontemplate) | ||
```r | ||
# install.packages("remotes") | ||
remotes::install_github("poissonconsulting/poissontemplate") | ||
``` | ||
|
||
## Relevant resources | ||
|
||
- pkgdown documentation about theming: https://pkgdown.r-lib.org/articles/customise.html#theming | ||
- pkgdown documentation on template packages: https://pkgdown.r-lib.org/articles/customise.html#template-packages | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,60 @@ | ||
|
||
<!-- README.md is generated from README.Rmd. Please edit that file --> | ||
|
||
# poissontemplate | ||
|
||
<!-- badges: start --> | ||
|
||
[![Lifecycle: | ||
stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable) | ||
[![R-CMD-check](https://github.com/poissonconsulting/poissontemplate/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/poissonconsulting/poissontemplate/actions/workflows/R-CMD-check.yaml) | ||
<!-- badges: end --> | ||
|
||
poissontemplate provides a custom [pkgdown](https://pkgdown.r-lib.org/) template for Poisson consulting packages. | ||
Please don’t use it for your own package. | ||
poissontemplate provides a custom [pkgdown](https://pkgdown.r-lib.org/) | ||
template for Poisson consulting packages. Please don’t use it for your | ||
own package. | ||
|
||
## Setup | ||
|
||
In every package where you need to set up poissontemplate usage, run | ||
|
||
``` r | ||
poissontemplate::use_poisson_pkgdown() | ||
``` | ||
|
||
## Installation | ||
|
||
You can install the development version of poissontemplate from [GitHub](https://github.com/) with: | ||
### Release | ||
|
||
To install the release version from | ||
[CRAN](https://CRAN.R-project.org/package=poissontemplate). | ||
|
||
``` r | ||
# install.packages("pak") | ||
pak::pak("poissonconsulting/poissontemplate") | ||
install.packages("poissontemplate") | ||
``` | ||
|
||
## Setup | ||
The website for the release version is at | ||
<https://poissonconsulting.github.io/poissontemplate/>. | ||
|
||
In every package where you need to set up poissontemplate usage, run | ||
### Development | ||
|
||
To install the development version from | ||
[r-universe](https://poissonconsulting.r-universe.dev/poissontemplate). | ||
|
||
``` r | ||
poissontemplate::use_poisson_pkgdown() | ||
install.packages("poissontemplate", repos = c("https://poissonconsulting.r-universe.dev", "https://cloud.r-project.org")) | ||
``` | ||
|
||
or from [GitHub](https://github.com/poissonconsulting/poissontemplate) | ||
|
||
``` r | ||
# install.packages("remotes") | ||
remotes::install_github("poissonconsulting/poissontemplate") | ||
``` | ||
|
||
## Relevant resources | ||
|
||
- pkgdown documentation about theming: https://pkgdown.r-lib.org/articles/customise.html#theming | ||
- pkgdown documentation on template packages: https://pkgdown.r-lib.org/articles/customise.html#template-packages | ||
- pkgdown documentation about theming: | ||
<https://pkgdown.r-lib.org/articles/customise.html#theming> | ||
- pkgdown documentation on template packages: | ||
<https://pkgdown.r-lib.org/articles/customise.html#template-packages> |