Skip to content

Commit 209d50c

Browse files
maraab23cran-robot
authored andcommitted
version 0.8.3
1 parent a2c3ea8 commit 209d50c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+3384
-3421
lines changed

DESCRIPTION

Lines changed: 7 additions & 7 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.2
3+
Version: 0.8.3
44
Authors@R:
55
person("Marcel", "Raab", , "marcel.raab@gmail.com", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0002-3097-1591"))
@@ -14,21 +14,21 @@ Description: A set of wrapper functions that mainly re-produces most of the
1414
URL: https://maraab23.github.io/ggseqplot/,
1515
https://github.com/maraab23/ggseqplot
1616
BugReports: https://github.com/maraab23/ggseqplot/issues
17-
Depends: R (>= 4.1.0)
17+
Depends: R (>= 4.1.0), TraMineR (>= 2.2-5), ggplot2 (>= 3.4.0)
1818
License: GPL (>= 3)
1919
Encoding: UTF-8
2020
RoxygenNote: 7.2.3
2121
RdMacros: Rdpack
22-
Imports: colorspace, dplyr, forcats, ggh4x, ggplot2, ggrepel, ggtext,
23-
glue, patchwork, purrr, Rdpack, rlang, tidyr, TraMineR (>=
24-
2.2-5), usethis
22+
Imports: colorspace, dplyr (>= 1.1.0), forcats (>= 1.0.0), ggh4x,
23+
ggrepel, ggtext, glue, patchwork, purrr, Rdpack, rlang, tidyr,
24+
usethis
2525
Suggests: covr, ggthemes, hrbrthemes, knitr, rmarkdown, testthat (>=
2626
3.0.0)
2727
VignetteBuilder: knitr
2828
Config/testthat/edition: 3
2929
NeedsCompilation: no
30-
Packaged: 2023-03-15 11:51:27 UTC; ba3gh6
30+
Packaged: 2023-09-22 21:16:30 UTC; ba3gh6
3131
Author: Marcel Raab [aut, cre] (<https://orcid.org/0000-0002-3097-1591>)
3232
Maintainer: Marcel Raab <marcel.raab@gmail.com>
3333
Repository: CRAN
34-
Date/Publication: 2023-03-15 12:10:15 UTC
34+
Date/Publication: 2023-09-22 21:30:02 UTC

MD5

Lines changed: 43 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
1-
9c4ea1cd12a07500b346c09709274050 *DESCRIPTION
2-
33f2294aba39088d3587ecf4b45bd28d *NAMESPACE
3-
46fb1ae5bab1f6bd11f106a93b448983 *NEWS.md
4-
a134b630d918599532732ff3b624e992 *R/ggseqdplot.R
5-
abea769b06cae0cc83235817bb4a7f8c *R/ggseqeplot.R
6-
644a2db1a57b7f7e3c2ef9abf958ab6c *R/ggseqfplot.R
7-
8648756fa225ade8e473c66f30cace67 *R/ggseqiplot.R
8-
8dd90ffb0b5f2f6b59b8f3affd32fb89 *R/ggseqmsplot.R
9-
0950588fab1b07dacb013446614eeab9 *R/ggseqmtplot.R
10-
bee42aca8ac767a7de5732c8ff83eb97 *R/ggseqplot-package.R
11-
8e2d26081a8869a18fdf69cca719d3ca *R/ggseqrfplot.R
12-
a037e4d95f50affa190a039a3cdc3952 *R/ggseqrplot.R
13-
fd3348d2bb0f87a7a8afda683147b283 *R/ggseqtrplot.R
14-
f3590a408dfcd78fcc58db1bd0574593 *R/internal_helpers.R
1+
5d0c71b364b4192845b12ffa5e129e94 *DESCRIPTION
2+
d830d6b6a7570388cd47496b67656841 *NAMESPACE
3+
5acea2c246d0d8801e1b7a1356551bf8 *NEWS.md
4+
0816afcc5f6324cc189e99e5b196c418 *R/ggseqdplot.R
5+
d44c14d762f9bdaba36b86cc08b92608 *R/ggseqeplot.R
6+
db4ddba45a836e347a640843c45a4453 *R/ggseqfplot.R
7+
353421e9235aabe74897573b02d9863f *R/ggseqiplot.R
8+
196722ad5c3dcd830de28bc74667b3d5 *R/ggseqmsplot.R
9+
d0a7e32dc37f8e3d2ea0b1bac7fa4732 *R/ggseqmtplot.R
10+
40497fb0b2b2faba57f94fd5a6cb62b1 *R/ggseqplot-package.R
11+
85bb6f149bbe30303f672a1afb0fbb50 *R/ggseqrfplot.R
12+
62d85208e913d9e3183ce4e9cf6ca5c1 *R/ggseqrplot.R
13+
0228f41f09be62633f45beac4b2ffb63 *R/ggseqtrplot.R
14+
bebaf918d9449bd439471782157bd911 *R/internal_helpers.R
15+
a78d44a26d5f852b1f7b4e16d4e1b275 *R/zzz.R
1516
c8964244610ec8c6b6e17fd4fea268c7 *README.md
16-
687e3e8e03102131f48ada391d807bf0 *build/partial.rdb
17-
4d043d8ec881012d936f0179dee28844 *build/vignette.rds
18-
8b7dc4f451842ed0381639236681b1fe *inst/CITATION
17+
ec6237ac88e60c1e7ef64e76464c21fe *build/partial.rdb
18+
926b84b166d3b5bd30caa0e4ef01e12b *build/vignette.rds
19+
d4181156e1c44689a6855dafe42f3909 *inst/CITATION
1920
d975bd9930cfa30644934bb7359e30ba *inst/REFERENCES.bib
20-
0581ca6fb324a60879a4719f42ce754c *inst/doc/ggseqplot.R
21-
4dca36d1ecddcb57957ce43a17dd487f *inst/doc/ggseqplot.Rmd
22-
7df34a0feac2f10bb79f624743983477 *inst/doc/ggseqplot.html
21+
bdbb1be398ce77d7e2235b52026d848e *inst/doc/ggseqplot.R
22+
4e992a7c3ebaf94ff4703da0da5b0398 *inst/doc/ggseqplot.Rmd
23+
9e91b06377d8eb17864bf8978f9004af *inst/doc/ggseqplot.html
2324
441fb46be1612086d7ea49567c01fa0f *man/figures/README-ggseqdplot1-1.png
2425
fa6ecb6406f222a8c7f18832fda9ac59 *man/figures/README-ggseqdplot2-1.png
2526
2b4ccbde4e94508ecb42516330971d2d *man/figures/README-ggseqeplot1-1.png
@@ -35,27 +36,27 @@ e4bdee6ea6dc7db8b9c8e58043b8e5bc *man/figures/README-seqiplot2-1.png
3536
e4110e018e5be64b02a72c36eaad72c5 *man/figures/README-seqiplot3-1.png
3637
0e555a91e15ff18516b7f9bf2410f950 *man/figures/README-seqplot.rf1-1.png
3738
d4852713e6dd16952596233d7cb79262 *man/figures/logo.png
38-
b9274dfdfdecfbd570f7327b6fc0dca0 *man/ggseqdplot.Rd
39-
9e44b439f7c6e0a4440e5f1d03fbf3d5 *man/ggseqeplot.Rd
40-
4f5918af38c348e4b77acd9dc99929d5 *man/ggseqfplot.Rd
41-
541f306580ee3f46c484b861517146fb *man/ggseqiplot.Rd
42-
80f43982e63e3f39ac164bf0ebeeced0 *man/ggseqmsplot.Rd
43-
383b404267a825af338a319bfb0fcc4a *man/ggseqmtplot.Rd
44-
175c60be86072261cff04c2814a5957d *man/ggseqplot-package.Rd
45-
26089ef33c8e48dd0d58b173063e3b02 *man/ggseqrfplot.Rd
39+
df0cd4edbf2641e5bf3f913e5a8f7250 *man/ggseqdplot.Rd
40+
f604cf026d078dffae348e3818ffb563 *man/ggseqeplot.Rd
41+
1f0484a0c43444233de7ec2d8d4ce763 *man/ggseqfplot.Rd
42+
7f79eb00591f3a308a73539d604efcf2 *man/ggseqiplot.Rd
43+
695835b7510938fcfe46806b02cce08b *man/ggseqmsplot.Rd
44+
5036b22b73924e088d50cfa4b134e15b *man/ggseqmtplot.Rd
45+
38cb4f16a2885c78fd0346333a9e5984 *man/ggseqplot-package.Rd
46+
64cb593a4e07de160236aebff62fddb2 *man/ggseqrfplot.Rd
4647
9472c4ee0858f878fabc1e0ce54f6c0f *man/ggseqrplot.Rd
47-
534f36d5ab43019d5bb787e81d7f8f8a *man/ggseqtrplot.Rd
48-
3bc2a687a7d1df2f3288d53ad3b62a9e *tests/testthat.R
49-
0e6d216e4c32c05c2052f4e9c8cd84bc *tests/testthat/test-ggseqdplot.R
50-
33bdb36141ee40ed0e424552b948115c *tests/testthat/test-ggseqeplot.R
51-
b22c2d5586ffccd1c1d4bbf91eec3ecc *tests/testthat/test-ggseqfplot.R
52-
4ea8ba616f00ce90fbaeb2169c92038f *tests/testthat/test-ggseqiplot.R
53-
9d34ed07d284c1afb7ba816fc0f1833f *tests/testthat/test-ggseqmsplot.R
54-
e05e27256db2f56f50ed52cefc570f38 *tests/testthat/test-ggseqmtplot.R
55-
a568b1cad477ce67178d2669f1c76842 *tests/testthat/test-ggseqrfplot.R
56-
0f459b5e95d0d4ec711111d3445fb088 *tests/testthat/test-ggseqrplot.R
57-
6ceba1964e4a1221c6efdc3c57c632e6 *tests/testthat/test-ggseqtrplot.R
58-
a4b5f30fd19f2de28f0cd30c893efbf2 *tests/testthat/test-internal_helper.R
59-
3163a0d1c73e1c77762ce0fea5020b02 *vignettes/apa.csl
60-
4dca36d1ecddcb57957ce43a17dd487f *vignettes/ggseqplot.Rmd
48+
397e815e15fe0ee6345d182cc65aab4e *man/ggseqtrplot.Rd
49+
a8be1bdac14762a71772005e5162c930 *tests/testthat.R
50+
9ea1da91c6030fb300b89a0bcfc9a8b9 *tests/testthat/test-ggseqdplot.R
51+
7f4101ef4a0ebd746a8a6255dfbc7388 *tests/testthat/test-ggseqeplot.R
52+
4698e8ad9c3df597a5fda0c658d56269 *tests/testthat/test-ggseqfplot.R
53+
5bfc2d5e8ee4e91a8ae3e370c21aa997 *tests/testthat/test-ggseqiplot.R
54+
e2fb410fd9854ecb1d2da5271e621996 *tests/testthat/test-ggseqmsplot.R
55+
0ba27501c15ffb6f719bb15e5499e1f9 *tests/testthat/test-ggseqmtplot.R
56+
31c07c74f98b44caa2ed321ff8af0692 *tests/testthat/test-ggseqrfplot.R
57+
51a90c3fb002c72676bf4e80dc9579cd *tests/testthat/test-ggseqrplot.R
58+
81ac12f1178706090e26f3e2da0bdf4d *tests/testthat/test-ggseqtrplot.R
59+
3aa8d3a644772bc5e39f6aca328f113f *tests/testthat/test-internal_helper.R
60+
36a395f5a0f358198529c0c44c054eeb *vignettes/apa.csl
61+
4e992a7c3ebaf94ff4703da0da5b0398 *vignettes/ggseqplot.Rmd
6162
f5dd7b005604e4fad4ba0d642598e54c *vignettes/references.bib

NAMESPACE

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# Generated by roxygen2: do not edit by hand
2-
3-
export(ggseqdplot)
4-
export(ggseqeplot)
5-
export(ggseqfplot)
6-
export(ggseqiplot)
7-
export(ggseqmsplot)
8-
export(ggseqmtplot)
9-
export(ggseqrfplot)
10-
export(ggseqrplot)
11-
export(ggseqtrplot)
12-
import(TraMineR)
13-
import(ggplot2)
14-
importFrom(Rdpack,reprompt)
15-
importFrom(patchwork,plot_layout)
16-
importFrom(rlang,.data)
1+
# Generated by roxygen2: do not edit by hand
2+
3+
export(ggseqdplot)
4+
export(ggseqeplot)
5+
export(ggseqfplot)
6+
export(ggseqiplot)
7+
export(ggseqmsplot)
8+
export(ggseqmtplot)
9+
export(ggseqrfplot)
10+
export(ggseqrplot)
11+
export(ggseqtrplot)
12+
import(TraMineR)
13+
import(ggplot2)
14+
importFrom(Rdpack,reprompt)
15+
importFrom(patchwork,plot_layout)
16+
importFrom(rlang,.data)

NEWS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# ggseqplot 0.8.3
2+
3+
* added missing minimum versions for dependencies & imports (ggplot2, dplyr, forcats)
4+
* changed default for sorting sequences in ggseqrfplot to match behavior TraMineR::seqrfplot
5+
* added `{TraMineR}` and `{ggplot2}` as dependencies
6+
17
# ggseqplot 0.8.2
28

39
* implemented changes required due to recent tidyverse updates

R/ggseqdplot.R

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,7 @@
6363
#' \insertAllCited{}
6464
#'
6565
#' @examples
66-
#' # Use examples from TraMineR & load ggplot for fine-tuning the plot
67-
#' library(TraMineR)
68-
#' library(ggplot2)
69-
#'
70-
#' # actcal data set
66+
#' # Use example data from TraMineR: actcal data set
7167
#' data(actcal)
7268
#'
7369
#' # We use only a sample of 300 cases
@@ -335,7 +331,8 @@ ggseqdplot <- function(seqdata,
335331
ggdplot <- ggdplot +
336332
{if(dissect == "row")facet_wrap(~rev(.data$state), nrow = 1)} +
337333
{if(dissect == "col")facet_wrap(~rev(.data$state), ncol = 1)} +
338-
scale_y_continuous(limits = c(0,1)) +
334+
scale_y_continuous(limits = c(0,1),
335+
expand = expansion(add = 0)) +
339336
theme(panel.grid.major.x = element_blank(),
340337
panel.grid.minor = element_blank(),
341338
panel.spacing = unit(2, "lines"),
@@ -349,7 +346,8 @@ ggseqdplot <- function(seqdata,
349346
ggdplot <- ggdplot +
350347
{if(dissect == "row")facet_grid(vars(.data$grouplab), vars(rev(.data$state)), switch = "y")} +
351348
{if(dissect == "col")facet_grid(vars(.data$state), vars(.data$grouplab), switch = "y")} +
352-
scale_y_continuous(limits = c(0,1)) +
349+
scale_y_continuous(limits = c(0,1),
350+
expand = expansion(add = 0)) +
353351
theme(panel.grid.major.x = element_blank(),
354352
panel.grid.minor = element_blank(),
355353
panel.spacing = unit(2, "lines"),

R/ggseqeplot.R

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@
4040
#' \insertAllCited{}
4141
#'
4242
#' @examples
43-
#' # Use examples from TraMineR
44-
#' library('TraMineR')
45-
#'
46-
#' # actcal data set
43+
#' # Use example data from TraMineR: actcal data set
4744
#' data(actcal)
4845
#'
4946
#' # We use only a sample of 300 cases

R/ggseqfplot.R

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,7 @@
4747
#' \code{\link[ggseqplot:ggseqiplot]{ggseqiplot}}
4848
#'
4949
#' @examples
50-
#' # Use examples from TraMineR & load ggplot for fine-tuning the plot
51-
#' library(TraMineR)
52-
#' library(ggplot2)
53-
#'
54-
#' # actcal data set
50+
#' # Use example data from TraMineR: actcal data set
5551
#' data(actcal)
5652
#'
5753
#' # We use only a sample of 300 cases

R/ggseqiplot.R

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,7 @@
7070
#' \insertAllCited{}
7171
#'
7272
#' @examples
73-
#' # Use examples from TraMineR
74-
#' library(TraMineR)
75-
#'
76-
#' # actcal data set
73+
#' # Use example data from TraMineR: actcal data set
7774
#' data(actcal)
7875
#'
7976
#' # We use only a sample of 300 cases

R/ggseqmsplot.R

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@
3535
#' \insertAllCited{}
3636
#'
3737
#' @examples
38-
#' # Use examples from TraMineR
39-
#' library(TraMineR)
40-
#'
41-
#' # actcal data set
38+
#' # Use example data from TraMineR: actcal data set
4239
#' data(actcal)
4340
#'
4441
#' # We use only a sample of 300 cases

R/ggseqmtplot.R

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,7 @@
4545
#' \insertAllCited{}
4646
#'
4747
#' @examples
48-
#' # Use examples from TraMineR & load ggplot for fine-tuning the plot
49-
#' library(TraMineR)
50-
#' library(ggplot2)
51-
#'
52-
#' # actcal data set
48+
#' # Use example data from TraMineR: actcal data set
5349
#' data(actcal)
5450
#'
5551
#' # We use only a sample of 300 cases

0 commit comments

Comments
 (0)