Skip to content

Commit

Permalink
readme.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
joethorley committed Jan 3, 2025
1 parent c4bb827 commit 5aaca64
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 10 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
^_pkgdown\.yml$
^docs$
^pkgdown$
^README\.Rmd$
63 changes: 63 additions & 0 deletions README.Rmd
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

49 changes: 39 additions & 10 deletions README.md
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>

0 comments on commit 5aaca64

Please sign in to comment.