Skip to content

Commit 3f0dca8

Browse files
maraab23cran-robot
authored andcommitted
version 0.8.7
1 parent 093d43d commit 3f0dca8

File tree

7 files changed

+63
-42
lines changed

7 files changed

+63
-42
lines changed

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: ggseqplot
22
Title: Render Sequence Plots using 'ggplot2'
3-
Version: 0.8.6
3+
Version: 0.8.7
44
Authors@R:
55
person("Marcel", "Raab", , "marcel.raab@gmail.com", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0002-3097-1591"))
@@ -27,8 +27,8 @@ Suggests: covr, ggthemes, hrbrthemes, knitr, rmarkdown, testthat (>=
2727
VignetteBuilder: knitr
2828
Config/testthat/edition: 3
2929
NeedsCompilation: no
30-
Packaged: 2025-05-06 21:57:53 UTC; ba3gh6
30+
Packaged: 2025-06-30 12:51:28 UTC; ba3gh6
3131
Author: Marcel Raab [aut, cre] (ORCID: <https://orcid.org/0000-0002-3097-1591>)
3232
Maintainer: Marcel Raab <marcel.raab@gmail.com>
3333
Repository: CRAN
34-
Date/Publication: 2025-05-06 22:10:02 UTC
34+
Date/Publication: 2025-06-30 21:10:02 UTC

MD5

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
f7b3f773296a9446f440f1f6e3f50a47 *DESCRIPTION
1+
9dcb7a84c4c2d46b20025b495c27b776 *DESCRIPTION
22
d830d6b6a7570388cd47496b67656841 *NAMESPACE
3-
cb4364666e611cc9ab359f3c1e76cf5a *NEWS.md
3+
1362ff929e7a8e3301ebd1894e21e9b6 *NEWS.md
44
d270b2833645f2ea2c10147549a564f4 *R/ggseqdplot.R
55
41a5b62d97d666eed1a4f3c233713854 *R/ggseqeplot.R
66
3f3a60350b6cb11bbff2397f73cae35d *R/ggseqfplot.R
@@ -10,17 +10,17 @@ b607744f172fcccd23ea1e23d0a0a3b6 *R/ggseqiplot.R
1010
40497fb0b2b2faba57f94fd5a6cb62b1 *R/ggseqplot-package.R
1111
a65ebab979329bbed858364743a400fb *R/ggseqrfplot.R
1212
4f96ced49b01506fc1590f75069088fb *R/ggseqrplot.R
13-
c0b78f44dc9a20f07eb3be2b2c37968b *R/ggseqtrplot.R
13+
7fad3a37a045b2a9ed3fe385a2af0739 *R/ggseqtrplot.R
1414
bebaf918d9449bd439471782157bd911 *R/internal_helpers.R
1515
af6531633296c2df88da8c7d880ba141 *R/zzz.R
16-
f6113fe87b6ee8d1c2da992f0031b5a3 *README.md
17-
3b1056aa1ebfe427d5df3118db219aeb *build/partial.rdb
16+
16917c46f80db0d788a7305a58eaabfa *README.md
17+
06188cc217dfc98b9a84f2cf04f597f7 *build/partial.rdb
1818
119285d31f9c658ba9509c1cbbe902b1 *build/vignette.rds
1919
25d9496f6fc25ce8f531bc9b62e7d9a1 *inst/CITATION
2020
d975bd9930cfa30644934bb7359e30ba *inst/REFERENCES.bib
2121
5082b9d158cb9a2bb22b6e5bc86ce163 *inst/doc/ggseqplot.R
2222
9a2ea8af707d9d555600c5b5f7b28c67 *inst/doc/ggseqplot.Rmd
23-
b6970c4878b517d9bb242928ff3d3d4c *inst/doc/ggseqplot.html
23+
8fd066060796f9007e29172167d1b561 *inst/doc/ggseqplot.html
2424
441fb46be1612086d7ea49567c01fa0f *man/figures/README-ggseqdplot1-1.png
2525
fa6ecb6406f222a8c7f18832fda9ac59 *man/figures/README-ggseqdplot2-1.png
2626
2b4ccbde4e94508ecb42516330971d2d *man/figures/README-ggseqeplot1-1.png

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# ggseqplot 0.8.7
2+
3+
* fixed `default_aes` issue in anticipation of upcoming `{ggplot2}` ggplot2 u (#7, thanks to @teunbrand)
4+
15
# ggseqplot 0.8.6
26

37
* fixed ggseqmtplot error if alphabet is numeric (raised and solved by Gilbert Ritschard)

R/ggseqtrplot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ ggseqtrplot <- function(seqdata,
8585

8686
if (is.null(attributes(seqdata)$weights)) weighted <- FALSE
8787

88-
if (is.null(labsize)) labsize <- GeomLabel$default_aes$size
88+
if (is.null(labsize)) labsize <- 11 / .pt
8989

9090
if (!is.null(labsize) & (length(labsize) > 1 | !is.numeric(labsize))) {
9191
stop("labsize must be a single number")

README.md

Lines changed: 44 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ status](https://www.r-pkg.org/badges/version/ggseqplot)](https://cran.r-project.
1212
coverage](https://codecov.io/gh/maraab23/ggseqplot/branch/main/graph/badge.svg)](https://app.codecov.io/gh/maraab23/ggseqplot?branch=main)
1313
[![CRAN
1414
Downloads](https://cranlogs.r-pkg.org/badges/grand-total/ggseqplot)](https://cranlogs.r-pkg.org/badges/grand-total/ggseqplot)
15-
[![Codecov test
16-
coverage](https://codecov.io/gh/maraab23/ggseqplot/graph/badge.svg)](https://app.codecov.io/gh/maraab23/ggseqplot)
15+
[![pkgdown](https://img.shields.io/badge/docs-pkgdown-blue.svg)](https://maraab23.github.io/ggseqplot/)
16+
[![License:
17+
GPL-3](https://img.shields.io/badge/license-GPL--3-blue.svg)](https://cran.r-project.org/web/licenses/GPL-3)
18+
1719
<!-- badges: end -->
1820

1921
The main goal of [`{ggseqplot}`](https://maraab23.github.io/ggseqplot/)
@@ -33,19 +35,19 @@ of the their functions to produce ggplot2-flavored figures.
3335

3436
Note, that this library was not written because I personally dislike the
3537
plots produced by <a href="http://traminer.unige.ch"
36-
target="_blank"><code>{TraMineR}</code></a>, but rather because I am
37-
normally using <a href="https://ggplot2.tidyverse.org/"
38+
target="_blank"><code>{TraMineR}</code></a>, but rather because I
39+
normally use <a href="https://ggplot2.tidyverse.org/"
3840
target="_blank"><code>{ggplot2}</code></a> instead of base R’s `plot`
39-
environment for visualizing data. <a href="http://traminer.unige.ch"
41+
environment for data visualization. <a href="http://traminer.unige.ch"
4042
target="_blank"><code>{TraMineR}</code></a> was developed before
4143
<a href="https://ggplot2.tidyverse.org/"
42-
target="_blank"><code>{ggplot2}</code></a> was as popular as it is today
43-
and back then many users were more familiar with coding base R plots. To
44-
date, however, many researchers and students are more accustomed to
45-
using <a href="https://ggplot2.tidyverse.org/"
46-
target="_blank"><code>{ggplot2}</code></a> and prefer to draw on the
47-
related skills and experiences instead of learning how to refine base R
48-
plots just for the single purpose of visualizing sequence data.
44+
target="_blank"><code>{ggplot2}</code></a> became as popular as it is
45+
today, when most users were more familiar with base R plots. Today,
46+
however, many researchers and students prefer to use
47+
<a href="https://ggplot2.tidyverse.org/"
48+
target="_blank"><code>{ggplot2}</code></a> and draw on their existing
49+
skills rather than learn base R graphics just to visualize sequence
50+
data.
4951

5052
[`{ggseqplot}`](https://maraab23.github.io/ggseqplot/) contains the
5153
following functions:
@@ -54,39 +56,53 @@ following functions:
5456
- `ggseqeplot` (equivalent to `TraMineRextras::seqplot.tentrop`)
5557
- `ggseqmsplot` (equivalent to `TraMineR::seqmsplot`)
5658
- `ggseqmtplot` (equivalent to `TraMineR::seqmtplot`)
57-
- `ggstrqeplot` (based on transitions rates computed with
58-
`TraMineR::seqtrate`)
59+
- `ggstrqeplot` (based on transitions rates from `TraMineR::seqtrate`)
5960
- `ggseqiplot` (equivalent to `TraMineR::seqIplot`)
6061
- `ggseqfplot` (equivalent to `TraMineR::seqfplot`)
6162
- `ggseqrplot` (equivalent to `TraMineR::seqrplot`)
6263
- `ggseqrfplot` (equivalent to `TraMineRextras::seqplot.rf`)
6364

64-
If you have change requests or find errors, [create an
65-
issue](https://github.com/maraab23/ggseqplot/issues/new) on github or
66-
send me an
67-
[email](mailto:marcel.raab@ifb.uni-bamberg.de?subject=ggseqplot%3A%20feature%20request).
68-
6965
A complementing
7066
[vignette](https://maraab23.github.io/ggseqplot/articles/ggseqplot.html)
7167
outlines how [`{ggseqplot}`](https://maraab23.github.io/ggseqplot/)
7268
reshapes sequence data generated with <a href="http://traminer.unige.ch"
73-
target="_blank"><code>{TraMineR}</code></a> functions to visualize them
74-
using <a href="https://ggplot2.tidyverse.org/"
75-
target="_blank"><code>{ggplot2}</code></a>. Moreover, it illustrates how
76-
to adjust the baseline output using familiar
69+
target="_blank"><code>{TraMineR}</code></a> functions for visualization
70+
with <a href="https://ggplot2.tidyverse.org/"
71+
target="_blank"><code>{ggplot2}</code></a>. It also shows how to
72+
customize the plots using familiar
7773
<a href="https://ggplot2.tidyverse.org/"
78-
target="_blank"><code>{ggplot2}</code></a> functions (and add-ons).
74+
target="_blank"><code>{ggplot2}</code></a> functions and extensions.
75+
76+
If you find errors or have feature requests, feel free to [create an
77+
issue](https://github.com/maraab23/ggseqplot/issues/new) on GitHub or
78+
send me an
79+
[email](mailto:marcel.raab@ifb.uni-bamberg.de?subject=ggseqplot%3A%20feature%20request).
80+
81+
## Citation
82+
83+
If you use [`{ggseqplot}`](https://cran.r-project.org/package=ggseqplot)
84+
in your work, please cite it as:
85+
86+
> Raab, M. (2022). *ggseqplot: Render Sequence Plots using ‘ggplot2’*.
87+
> <https://doi.org/10.32614/CRAN.package.ggseqplot>
88+
89+
You can also retrieve the citation in R with:
90+
91+
``` r
92+
citation("ggseqplot")
93+
```
7994

8095
## Installation
8196

8297
You can install the CRAN version of
83-
[`{ggseqplot}`](https://maraab23.github.io/ggseqplot/) by typing:
98+
[`{ggseqplot}`](https://maraab23.github.io/ggseqplot/) with:
8499

85100
``` r
86101
install.packages("ggseqplot")
87102
```
88103

89-
The development version can be installed with:
104+
If a more recent version is available, you can install the development
105+
version from GitHub with:
90106

91107
``` r
92108
devtools::install_github("maraab23/ggseqplot")
@@ -95,4 +111,5 @@ devtools::install_github("maraab23/ggseqplot")
95111
## Acknowledgements
96112

97113
I would like to thank Gilbert Ritschard, Tim Liao, and Emanuela
98-
Struffolino for their comments on earlier versions of this library.
114+
Struffolino for their helpful comments on earlier versions of this
115+
library.

build/partial.rdb

-5 Bytes
Binary file not shown.

inst/doc/ggseqplot.html

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)