From 6426de8d13fcc536673e06fc8c801be78b1e3ecc Mon Sep 17 00:00:00 2001 From: Felix Mannhardt Date: Wed, 20 Jul 2022 14:14:01 +0200 Subject: [PATCH] Fix for CRAN, release 1.0.5 --- NEWS.md | 4 ++ README.md | 2 +- docs/404.html | 2 +- docs/LICENSE-text.html | 2 +- docs/LICENSE.html | 2 +- docs/articles/index.html | 2 +- .../use-external-data-to-change-tokens.html | 10 ++-- docs/articles/use-shiny-selections.html | 4 +- .../use-timestamp-change-token-aes.html | 10 ++-- docs/articles/use-token_scales.html | 19 +++--- docs/articles/use-with-shiny.html | 8 +-- docs/authors.html | 2 +- docs/index.html | 4 +- docs/news/index.html | 6 +- docs/pkgdown.yml | 6 +- .../reference/activity_select_decoration.html | 2 +- docs/reference/animate_process.html | 10 ++-- docs/reference/attribution_osm.html | 2 +- docs/reference/example_log.html | 2 +- docs/reference/icon_circle.html | 2 +- docs/reference/icon_marker.html | 2 +- docs/reference/index.html | 22 +++---- docs/reference/processanimaterOutput.html | 2 +- docs/reference/renderProcessanimater.html | 2 +- docs/reference/renderer_graphviz.html | 6 +- docs/reference/renderer_leaflet.html | 6 +- docs/reference/token_aes.html | 22 +++---- docs/reference/token_scale.html | 14 ++--- docs/reference/token_select_decoration.html | 2 +- docs/sitemap.xml | 60 +++++++++---------- 30 files changed, 123 insertions(+), 116 deletions(-) diff --git a/NEWS.md b/NEWS.md index 7ff47db..3eda7db 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +## processanimateR 1.0.5 + +* Fix compatibility issue with bupaR 0.5.0 + ## processanimateR 1.0.4 * Change of maintainer e-mail to new affiliation diff --git a/README.md b/README.md index 63ce6e6..55ce95e 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ [![processanimateR example](man/figures/processanimateR-banner.png)](https://bupaverse.github.io/processanimateR/example/processanimateR-banner.html) -Flexible token replay animation for process maps created through the [processmapR](https://github.com/gertjanssenswillen/processmapR/) package from the [bupaR](https://www.bupar.net) suite, which uses [DiagrammeR](https://github.com/rich-iannone/DiagrammeR/) and [viz.js](https://github.com/mdaines/viz.js) library to render process maps using GraphViz. As alternative renderer [Leaflet](https://leafletjs.com/) with fixed coordinates for activities is also supported. +Flexible token replay animation for process maps created through the [processmapR](https://github.com/gertjanssenswillen/processmapR/) package from the [bupaR](https://bupar.net) suite, which uses [DiagrammeR](https://github.com/rich-iannone/DiagrammeR/) and [viz.js](https://github.com/mdaines/viz.js) library to render process maps using GraphViz. As alternative renderer [Leaflet](https://leafletjs.com/) with fixed coordinates for activities is also supported. ProcessanimateR provides a [htmlwidget](https://www.htmlwidgets.org/) using SVG animations ([SMIL](https://www.w3.org/TR/2008/REC-SMIL3-20081201/)) to create the animation. Sizes, colors, and many more aspects of the token shapes are customizable based on trace, event attributes, or a secondary data frame if an attribute does not change according to the original event log. diff --git a/docs/404.html b/docs/404.html index b9806b9..84afb0e 100644 --- a/docs/404.html +++ b/docs/404.html @@ -112,7 +112,7 @@

Page not found (404)

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index c670f49..c5f84ae 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -87,7 +87,7 @@

License

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/LICENSE.html b/docs/LICENSE.html index 83cdf2e..dcf54bb 100644 --- a/docs/LICENSE.html +++ b/docs/LICENSE.html @@ -91,7 +91,7 @@

License

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/articles/index.html b/docs/articles/index.html index 56b2e6a..1110e88 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -92,7 +92,7 @@

All vignettes

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/articles/use-external-data-to-change-tokens.html b/docs/articles/use-external-data-to-change-tokens.html index ce7bb24..8bbc0fb 100644 --- a/docs/articles/use-external-data-to-change-tokens.html +++ b/docs/articles/use-external-data-to-change-tokens.html @@ -95,7 +95,7 @@

Use external data (process context) to change

Felix Mannhardt

-

2022-07-14

+

2022-07-20

Source: vignettes/use-external-data-to-change-tokens.Rmd @@ -114,7 +114,7 @@

2022-07-14

 library(processanimateR)
 library(dplyr)
-library(bupaR)
+library(bupaR)
 # Extract only the lacticacid measurements
 lactic <- sepsis %>%
     mutate(lacticacid = as.numeric(lacticacid)) %>%
@@ -138,8 +138,8 @@ 

2022-07-14

mapping = token_aes(color = token_scale(lactic, scale = "linear", range = c("#fff5eb","#7f2704"))))
-
- +
+ -
-

The colors can be modified through the range argument. +

+

The colors can be modified through the range argument. In this case the scale is reversed with rev() to go from blue to red. See RColorBrewer::brewer.pal.info for all options:

@@ -177,7 +177,7 @@

2022-07-14

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/articles/use-token_scales.html b/docs/articles/use-token_scales.html index fb73818..ccf970a 100644 --- a/docs/articles/use-token_scales.html +++ b/docs/articles/use-token_scales.html @@ -94,7 +94,7 @@

Use token scales

Felix Mannhardt

-

2022-07-14

+

2022-07-20

Source: vignettes/use-token_scales.Rmd @@ -113,14 +113,13 @@

ordinal scaleslibrary(processanimateR) library(eventdataR) library(RColorBrewer) -#> Warning: package 'RColorBrewer' was built under R version 4.1.3 animate_process(patients, legend = "color", mapping = token_aes(color = token_scale("employee", scale = "ordinal", range = RColorBrewer::brewer.pal(8, "Paired")))) -
- +
+

linear scales @@ -128,15 +127,15 @@

linear scales
 library(processanimateR)
 library(dplyr)
-library(bupaR)
+library(bupaR)
 animate_process(sample_n(traffic_fines, 1000) %>% filter_trace_frequency(percentage = 0.95),
                 mode = "relative",
                 legend = "color", 
                 mapping = token_aes(color = token_scale("amount", 
                                                         scale = "linear", 
                                                         range = c("yellow","red"))))

-
- +
+

time scales @@ -148,8 +147,8 @@

time scales= token_aes(color = token_scale("time", scale = "time", range = c("blue","red"))))

-
- +
+ @@ -168,7 +167,7 @@

time scales

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/articles/use-with-shiny.html b/docs/articles/use-with-shiny.html index 97d00fc..132c616 100644 --- a/docs/articles/use-with-shiny.html +++ b/docs/articles/use-with-shiny.html @@ -94,7 +94,7 @@

Use processanimateR in Shiny

Felix Mannhardt

-

2022-07-14

+

2022-07-20

Source: vignettes/use-with-shiny.Rmd @@ -137,7 +137,7 @@

2022-07-14

mainPanel( width = 10, - shinycssloaders::withSpinner(processanimaterOutput("process")) + shinycssloaders::withSpinner(processanimaterOutput("process")) ) ) ) @@ -220,7 +220,7 @@

2022-07-14

Then, the application can be, for example, launched by calling:

 library(eventdataR)
-library(edeaR)
+library(edeaR)
 library(dplyr)
 ianimate_process(sepsis %>%
   filter_trace_frequency(percentage = 0.2) %>%
@@ -246,7 +246,7 @@ 

2022-07-14

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/authors.html b/docs/authors.html index 29fbbe1..1538858 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -110,7 +110,7 @@

Citation

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/index.html b/docs/index.html index 17b719e..d297cc1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -101,7 +101,7 @@

CRAN_Status_Badge lifecycle Travis-CI Build Status

processanimateR example

-

Flexible token replay animation for process maps created through the processmapR package from the bupaR suite, which uses DiagrammeR and viz.js library to render process maps using GraphViz. As alternative renderer Leaflet with fixed coordinates for activities is also supported.

+

Flexible token replay animation for process maps created through the processmapR package from the bupaR suite, which uses DiagrammeR and viz.js library to render process maps using GraphViz. As alternative renderer Leaflet with fixed coordinates for activities is also supported.

ProcessanimateR provides a htmlwidget using SVG animations (SMIL) to create the animation. Sizes, colors, and many more aspects of the token shapes are customizable based on trace, event attributes, or a secondary data frame if an attribute does not change according to the original event log.

Getting Started @@ -251,7 +251,7 @@

Developers

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/news/index.html b/docs/news/index.html index 8c85c1f..c9c3014 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -69,6 +69,10 @@

Changelog

Source: NEWS.md
+
+ +
  • Fix compatibility issue with bupaR 0.5.0
  • +
  • Change of maintainer e-mail to new affiliation
  • @@ -141,7 +145,7 @@
-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index ac3335f..92ecabe 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -1,5 +1,5 @@ -pandoc: 2.17.1.1 -pkgdown: 2.0.5 +pandoc: '2.18' +pkgdown: 2.0.6 pkgdown_sha: ~ articles: use-external-data-to-change-tokens: use-external-data-to-change-tokens.html @@ -7,5 +7,5 @@ articles: use-timestamp-change-token-aes: use-timestamp-change-token-aes.html use-token_scales: use-token_scales.html use-with-shiny: use-with-shiny.html -last_built: 2022-07-14T14:19Z +last_built: 2022-07-20T12:07Z diff --git a/docs/reference/activity_select_decoration.html b/docs/reference/activity_select_decoration.html index 7b5c6b1..ff5a1b2 100644 --- a/docs/reference/activity_select_decoration.html +++ b/docs/reference/activity_select_decoration.html @@ -127,7 +127,7 @@

Examples

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/reference/animate_process.html b/docs/reference/animate_process.html index 34db246..519e459 100644 --- a/docs/reference/animate_process.html +++ b/docs/reference/animate_process.html @@ -227,12 +227,12 @@

Examples

# Animate the process with default options (absolute time and 60s duration) animate_process(example_log) -
-# \donttest{ +
+# \donttest{ # Animate the process with default options (relative time, with jitter, infinite repeat) animate_process(example_log, mode = "relative", jitter = 10, repeat_count = Inf) -
-# } +
+# }
@@ -248,7 +248,7 @@

Examples

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/reference/attribution_osm.html b/docs/reference/attribution_osm.html index 874824b..2598ee7 100644 --- a/docs/reference/attribution_osm.html +++ b/docs/reference/attribution_osm.html @@ -103,7 +103,7 @@

Examples

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/reference/example_log.html b/docs/reference/example_log.html index 6ea82c2..b7da2a4 100644 --- a/docs/reference/example_log.html +++ b/docs/reference/example_log.html @@ -95,7 +95,7 @@

Format

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/reference/icon_circle.html b/docs/reference/icon_circle.html index d6f6dc1..b2cefac 100644 --- a/docs/reference/icon_circle.html +++ b/docs/reference/icon_circle.html @@ -103,7 +103,7 @@

Examples

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/reference/icon_marker.html b/docs/reference/icon_marker.html index e74515a..646728f 100644 --- a/docs/reference/icon_marker.html +++ b/docs/reference/icon_marker.html @@ -103,7 +103,7 @@

Examples

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/reference/index.html b/docs/reference/index.html index 22ad797..0b8428b 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -73,21 +73,13 @@

All functions

-

processanimaterOutput()

+

activity_select_decoration()

-

Create a process animation output element

+

Decoration callback for activity selection

animate_process()

Animate cases on a process map

- -

renderProcessanimater()

- -

Renders process animation output

- -

activity_select_decoration()

- -

Decoration callback for activity selection

attribution_osm()

@@ -104,6 +96,10 @@

All functions icon_marker()

Standard map marker

+ +

processanimaterOutput()

+ +

Create a process animation output element

renderer_graphviz()

@@ -112,6 +108,10 @@

All functions renderer_leaflet()

Render as graph on a geographical map

+ +

renderProcessanimater()

+ +

Renders process animation output

token_aes()

@@ -137,7 +137,7 @@

All functions
-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/reference/processanimaterOutput.html b/docs/reference/processanimaterOutput.html index d924e63..28928ad 100644 --- a/docs/reference/processanimaterOutput.html +++ b/docs/reference/processanimaterOutput.html @@ -102,7 +102,7 @@

Arguments

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/reference/renderProcessanimater.html b/docs/reference/renderProcessanimater.html index 33865da..9a6706e 100644 --- a/docs/reference/renderProcessanimater.html +++ b/docs/reference/renderProcessanimater.html @@ -105,7 +105,7 @@

Arguments

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/reference/renderer_graphviz.html b/docs/reference/renderer_graphviz.html index 2f6ff58..586634b 100644 --- a/docs/reference/renderer_graphviz.html +++ b/docs/reference/renderer_graphviz.html @@ -125,8 +125,8 @@

Examples

# Animate the process with the default GraphViz DOT renderer animate_process(example_log, renderer = renderer_graphviz()) -
- +
+ @@ -141,7 +141,7 @@

Examples

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/reference/renderer_leaflet.html b/docs/reference/renderer_leaflet.html index 9919f31..f7ff8df 100644 --- a/docs/reference/renderer_leaflet.html +++ b/docs/reference/renderer_leaflet.html @@ -171,8 +171,8 @@

Examples

stringsAsFactors = FALSE), options = list(center = c(63.412273, 10.399590), zoom = 12)), duration = 5, repeat_count = Inf) -
- +
+ @@ -187,7 +187,7 @@

Examples

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/reference/token_aes.html b/docs/reference/token_aes.html index c24aeec..989abb1 100644 --- a/docs/reference/token_aes.html +++ b/docs/reference/token_aes.html @@ -129,23 +129,23 @@

Examples

# Change default token sizes / shape animate_process(example_log, mapping = token_aes(size = token_scale(12), shape = "rect")) -
-# \donttest{ +
+# \donttest{ # Change default token color animate_process(example_log, mapping = token_aes(color = token_scale("red"))) -
- +
+ # Change default token opacity animate_process(example_log, mapping = token_aes(opacity = token_scale("0.2"))) -
- +
+ # Change default token image (GIFs work too) animate_process(example_log, mapping = token_aes(shape = "image", size = token_scale(10), image = token_scale("https://upload.wikimedia.org/wikipedia/en/5/5f/Pacman.gif"))) -
- +
+ # A more elaborate example with a secondary data frame library(eventdataR) data(traffic_fines) @@ -155,8 +155,8 @@

Examples

mapping = token_aes(color = token_scale("amount", scale = "linear", range = c("yellow","red")))) -
-# } +
+# } @@ -172,7 +172,7 @@

Examples

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/reference/token_scale.html b/docs/reference/token_scale.html index b71d967..a25a368 100644 --- a/docs/reference/token_scale.html +++ b/docs/reference/token_scale.html @@ -125,8 +125,8 @@

Examples

legend = "color", mapping = token_aes(color = token_scale("res", scale = "ordinal", range = RColorBrewer::brewer.pal(8, "Paired")))) -
- +
+ # (2) Change token color based on second data frame x <- data.frame(case = as.character(rep(c(1,2,3), 2)), time = seq(from = as.POSIXct("2018-10-03 03:41:00"), @@ -140,15 +140,15 @@

Examples

jitter = 10, legend = "color", mapping = token_aes(color = token_scale(x))) -
- +
+ # (3) Constant token color animate_process(example_log, legend = "color", mapping = token_aes(color = token_scale("red"))) -
- +
+ @@ -163,7 +163,7 @@

Examples

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/reference/token_select_decoration.html b/docs/reference/token_select_decoration.html index 9251888..46a40aa 100644 --- a/docs/reference/token_select_decoration.html +++ b/docs/reference/token_select_decoration.html @@ -115,7 +115,7 @@

Examples

-

Site built with pkgdown 2.0.5.

+

Site built with pkgdown 2.0.6.

diff --git a/docs/sitemap.xml b/docs/sitemap.xml index d03ceff..ebd86dd 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -1,93 +1,93 @@ - /LICENSE-text.html + /404.html - /index.html + /articles/index.html - /authors.html + /articles/use-external-data-to-change-tokens.html - /reference/animate_process.html + /articles/use-shiny-selections.html - /reference/add_token_color.html + /articles/use-timestamp-change-token-aes.html - /reference/add_token_size.html + /articles/use-token_scales.html - /reference/renderProcessanimater.html + /articles/use-with-shiny.html - /reference/processanimaterOutput.html + /authors.html - /reference/index.html + /example/processanimateR-banner.html - /reference/ianimate_process.html + /index.html - /reference/activity_select_decoration.html + /LICENSE-text.html - /reference/attribution_osm.html + /LICENSE.html - /reference/example_log.html + /news/index.html - /reference/icon_circle.html + /reference/activity_select_decoration.html - /reference/icon_marker.html + /reference/add_token_color.html - /reference/renderer_graphviz.html + /reference/add_token_size.html - /reference/renderer_leaflet.html + /reference/animate_process.html - /reference/token_aes.html + /reference/attribution_osm.html - /reference/token_scale.html + /reference/example_log.html - /reference/token_select_decoration.html + /reference/ianimate_process.html - /404.html + /reference/icon_circle.html - /LICENSE.html + /reference/icon_marker.html - /articles/index.html + /reference/index.html - /articles/use-external-data-to-change-tokens.html + /reference/processanimaterOutput.html - /articles/use-shiny-selections.html + /reference/renderer_graphviz.html - /articles/use-timestamp-change-token-aes.html + /reference/renderer_leaflet.html - /articles/use-token_scales.html + /reference/renderProcessanimater.html - /articles/use-with-shiny.html + /reference/token_aes.html - /example/processanimateR-banner.html + /reference/token_scale.html - /news/index.html + /reference/token_select_decoration.html