Skip to content

Commit 9dd0b64

Browse files
committed
update pgkd down documentation
renames vignette to standard ggstackplot.Rmd
1 parent fb6e8ee commit 9dd0b64

File tree

7 files changed

+36
-40
lines changed

7 files changed

+36
-40
lines changed

NEWS.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1+
# ggstackplot (development version)
2+
13
# ggstackplot 0.4.1
24

35
* clarify the behaviour of the `switch_axes` parameter for horizontal stackplots
46
* fix issue #30 to enable transformed shared axes
5-
* update the features vignette (now called explore) with new examples
7+
* rename the features vignette to the standard package intro vignette (`ggstackplot.Rmd`)
8+
* update the vignette with additional examples
69
* include an example of a horizontal stackplot in the README
710

811
# ggstackplot 0.4.0

R/ggstackplot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
#'
4444
#' @examplesIf interactive()
4545
#' # many more examples available in the vignette
46-
#' vignette("Explore", "ggstackplot")
46+
#' vignette("ggstackplot")
4747
#'
4848
#' @export
4949
#' @returns `ggstackplot()` returns a ggplot with overlayed plot layers

README.Rmd

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,7 @@ Have you ever wanted to create (partly) overlapping line plots with matched colo
3030

3131
## Installation
3232

33-
To install the current release from [CRAN](https://cran.r-project.org/package=ggstackplot):
34-
35-
```
36-
install.packages("ggstackplot")
37-
```
38-
39-
You can also install the development version of ggstackplot from [GitHub](https://github.com/KopfLab/ggstackplot) with:
33+
Install the latest stable version of ggstackplot from [GitHub](https://github.com/KopfLab/ggstackplot) (the CRAN version may lag behind) with:
4034

4135
```
4236
# install.packages("pak")
@@ -152,8 +146,8 @@ dataset2$data |>
152146
```
153147

154148
```{r "geodata-horizontal-2", message = FALSE}
155-
# or show them side by side (note that this could also be achieved with
156-
# ggplot facets except for the fine-control and coloring of the different x-axes)
149+
# or show them side by side (note that this could also be achieved with ggplot
150+
# facets except for the fine-control and coloring of the different x-axes)
157151
dataset2$data |>
158152
filter(Comp == "C19") |>
159153
arrange(`Depth sed [m]`) |>
@@ -250,4 +244,4 @@ ggplot2::economics |>
250244

251245
## What else can I do with ggstackplot?
252246

253-
- check out our **[Vignette](https://ggstackplot.kopflab.org/articles/explore.html)** to explore the package further with detailed examples for all the different features
247+
- check out our **[Vignette](https://ggstackplot.kopflab.org/articles/ggstackplot.html)** to explore the package further with detailed examples for all the different features

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,9 @@ retaining the powerful grammar of graphics functionality of ggplots.
2525

2626
## Installation
2727

28-
To install the current release from
29-
[CRAN](https://cran.r-project.org/package=ggstackplot):
30-
31-
install.packages("ggstackplot")
32-
33-
You can also install the development version of ggstackplot from
34-
[GitHub](https://github.com/KopfLab/ggstackplot) with:
28+
Install the latest stable version of ggstackplot from
29+
[GitHub](https://github.com/KopfLab/ggstackplot) (the CRAN version may
30+
lag behind) with:
3531

3632
# install.packages("pak")
3733
pak::pak("KopfLab/ggstackplot")
@@ -177,8 +173,8 @@ dataset2$data |>
177173
<img src="man/figures/README-geodata-horizontal-1.png" width="100%" />
178174

179175
``` r
180-
# or show them side by side (note that this could also be achieved with
181-
# ggplot facets except for the fine-control and coloring of the different x-axes)
176+
# or show them side by side (note that this could also be achieved with ggplot
177+
# facets except for the fine-control and coloring of the different x-axes)
182178
dataset2$data |>
183179
filter(Comp == "C19") |>
184180
arrange(`Depth sed [m]`) |>
@@ -280,6 +276,6 @@ ggplot2::economics |>
280276
## What else can I do with ggstackplot?
281277

282278
- check out our
283-
**[Vignette](https://ggstackplot.kopflab.org/articles/explore.html)**
279+
**[Vignette](https://ggstackplot.kopflab.org/articles/ggstackplot.html)**
284280
to explore the package further with detailed examples for all the
285281
different features

_pkgdown.yml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
11
title: ggstackplot
22
url: https://ggstackplot.kopflab.org
33
template:
4+
bootstrap: 5
5+
light-switch: true
6+
bslib:
7+
primary: "#306cc9"
48
params:
5-
bootswatch: simplex
69
ganalytics: G-J5NKSWDWXF
7-
toc_float: true
8-
9-
development:
10-
mode: auto
1110

1211
home:
1312
strip_header: true
1413

14+
development:
15+
mode: auto
16+
1517
navbar:
16-
title: ggstackplot
17-
type: default
18-
left:
19-
- text: Explore
20-
href: articles/explore.html
21-
- text: Reference
22-
href: reference/index.html
23-
right:
24-
- icon: fa-github fa-lg
25-
href: https://github.com/kopflab/ggstackplot
18+
structure:
19+
left: [intro, reference, news]
20+
right: [search, github, lightswitch]
21+
components:
22+
intro:
23+
text: Explore
24+
href: articles/ggstackplot.html
25+
news:
26+
text: News
27+
href: news/index.html

man/ggstackplot.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Explore"
2+
title: "ggstackplot"
33
date: "`r Sys.Date()`"
44
output:
55
rmarkdown::html_vignette:
@@ -13,12 +13,13 @@ output:
1313
editor_options:
1414
chunk_output_type: console
1515
vignette: >
16-
%\VignetteIndexEntry{Explore}
16+
%\VignetteIndexEntry{ggstackplot}
1717
%\VignetteEncoding{UTF-8}
1818
%\VignetteEngine{knitr::rmarkdown}
1919
---
2020

2121
```{r, include = FALSE}
22+
# once in quarto this can go into the front matter
2223
knitr::opts_chunk$set(
2324
collapse = TRUE,
2425
comment = "#>",

0 commit comments

Comments
 (0)