Skip to content

Commit

Permalink
update pkgdown
Browse files Browse the repository at this point in the history
  • Loading branch information
nrennie committed May 21, 2022
1 parent a8ba10d commit b16ed90
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-pandoc@v1
- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v1
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: pkgdown
extra-packages: any::pkgdown, local::.
needs: website

- name: Deploy package
Expand Down
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: aRt
Title: Generative Art with R
Version: 1.2.1
Version: 1.2.2
Authors@R:
person(given = "Nicola",
family = "Rennie",
Expand Down Expand Up @@ -37,4 +37,5 @@ Suggests:
MetBrewer,
rcartocolor,
RColorBrewer
Config/Needs/website: nrennie/nrenniepkgdown
URL: https://nrennie.github.io/aRt/
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## aRt 1.2.2

* update pkgdown website

## aRt 1.2.1

* update `waves()` to use vector of colours
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The `bricks()` function draws multiple rectangular polygons in rows.
``` r
bricks(n_y=20, colours=c("#9B1D20", "#3D2B3D", "#CBEFB6", "#635D5C"), bg_col="gray97")
bricks(n_y=200, colours=c("#9B1D20", "#3D2B3D", "#CBEFB6", "#635D5C"), bg_col="gray97")
bricks(n_y=20, colours=carto_pal(7, "Burg"), bg_col="gray97")
bricks(n_y=20, colours=rcartocolor::carto_pal(7, "Burg"), bg_col="gray97")

```
<p align="center">
Expand Down Expand Up @@ -264,7 +264,7 @@ The `polygons()` function draws multiple polygons.
``` r
polygons(n_x=12, n_y=18, gap_size=0.5, deg_jitter=0.1, colours=c("#9B1D20", "#3D2B3D", "#CBEFB6", "#635D5C"), rand = FALSE, bg_col="gray97")
polygons(n_x=6, n_y=9, gap_size=0.2, deg_jitter=0.1, colours=c("#9B1D20", "#3D2B3D", "#CBEFB6", "#635D5C"), rand = FALSE, bg_col="gray97")
polygons(n_x=12, n_y=18, gap_size=0.5, deg_jitter=0.5, colours=carto_pal(7, "Burg"), rand = FALSE, bg_col="gray97")
polygons(n_x=12, n_y=18, gap_size=0.5, deg_jitter=0.5, colours=rcartocolor::carto_pal(7, "Burg"), rand = FALSE, bg_col="gray97")

```
<p align="center">
Expand Down
13 changes: 1 addition & 12 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
url: https://nrennie.github.io/aRt/
template:
package: nrenniepkgdown
bootstrap: 5
authors:
Nicola Rennie:
href: https://nrennie.rbind.io/
home:
links:
- text: Home
href: https://nrennie.github.io/
- text: Website
href: https://nrennie.rbind.io/
- text: Twitter
href: https://twitter.com/nrennie35

0 comments on commit b16ed90

Please sign in to comment.