Skip to content

Commit d9c5c6c

Browse files
Fix htmlwidgets
1 parent 94406e4 commit d9c5c6c

11 files changed

+22
-19
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: processmapR
22
Type: Package
33
Title: Construct Process Maps Using Event Data
4-
Version: 0.5.3
4+
Version: 0.5.5
55
Authors@R: c(person("Gert","Janssenswillen",email = "[email protected]", role = c("aut","cre")),
66
person("Gerard","van Hulzen", email = "[email protected]", role = c("ctb")),
77
person("Benoît","Depaire",email = "[email protected]", role = c("ctb")),

R/dotted_chart.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
#' @param units [`character`] (default `"auto"`): Time units to use on the x-axis in case of relative time: `"auto"`
1717
#' (default, see **Details**), `"secs"`, `"mins"`, `"hours"`, `"days"`, or `"weeks"`.
1818
#' @param add_end_events [`logical`] (default `FALSE`): Whether to add dots for the complete lifecycle event with a different shape.
19-
#' @param scale_color [`ggplot2`] scale function (default [`scale_color_discrete_bupaR`][`bupaR::scale_color_discrete_bupaR`]):
19+
#' @param scale_color `ggplot2` scale function (default [`scale_color_discrete_bupaR`][`bupaR::scale_color_discrete_bupaR`]):
2020
#' Set color scale. Defaults to [`scale_color_discrete_bupaR`][`bupaR::scale_color_discrete_bupaR`]. Replaced with [`scale_color_discrete`][`ggplot2::scale_color_discrete`] when more than 26 activities are present.
21-
#' @param plotly [`logical`] (default `FALSE`): Return a [`plotly`] object, instead of a [`ggplot2`].
21+
#' @param plotly [`logical`] (default `FALSE`): Return a `plotly` object, instead of a `ggplot2`.
2222
#' @param eventlog `r lifecycle::badge("deprecated")`; please use `log` instead.
2323
#'
2424
#' @details

R/render_map.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ render_map <- function(map,
101101
))
102102

103103
htmlwidgets::createWidget(elementId = NULL,
104-
name = "processanimateR",
104+
name = "processmapR",
105105
x = x,
106106
width = NULL, height = NULL,
107107
sizingPolicy = htmlwidgets::sizingPolicy(
@@ -118,5 +118,5 @@ render_map <- function(map,
118118
script = c("viz.js",
119119
"full.render.js"),
120120
all_files = FALSE,
121-
package = "processanimateR")))
121+
package = "processmapR")))
122122
}

R/trace_explorer.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#' @param abbreviate [`logical`] (default `TRUE`): If `TRUE`, abbreviate activity labels.
1818
#' @param show_labels [`logical`] (default `TRUE`): If `FALSE`, activity labels are not shown.
1919
#' @param label_size [`numeric`] (default `3`): Font size of labels.
20-
#' @param scale_fill [`ggplot2`] scale function (default [`scale_fill_discrete_bupaR`][`bupaR::scale_fill_discrete_bupaR`]):
20+
#' @param scale_fill `ggplot2` scale function (default [`scale_fill_discrete_bupaR`][`bupaR::scale_fill_discrete_bupaR`]):
2121
#' Set color scale. Defaults to [`scale_fill_discrete_bupaR`][`bupaR::scale_fill_discrete_bupaR`]. Replaced with [`scale_fill_discrete`][`ggplot2::scale_fill_discrete`] when more than 26 activities are present.
2222
#' @param raw_data [`logical`] (default `FALSE`): Return raw data instead of graph.
2323
#'

README.Rmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ options(tibble.print_min = 5, tibble.print_max = 5)
1919

2020
<!-- badges: start -->
2121
[![CRAN status](https://www.r-pkg.org/badges/version/processmapR)](https://CRAN.R-project.org/package=processmapR)
22-
[![GitHub version](https://img.shields.io/badge/GitHub-0.5.2-blue)](https://github.com/bupaverse/processmapR)
22+
[![GitHub version](https://img.shields.io/badge/GitHub-0.5.4-blue)](https://github.com/bupaverse/processmapR)
2323
[![R-CMD-check](https://github.com/bupaverse/processmapR/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/bupaverse/processmapR/actions/workflows/R-CMD-check.yaml)
2424
[![codecov](https://codecov.io/gh/bupaverse/processmapR/branch/master/graph/badge.svg)](https://app.codecov.io/gh/bupaverse/processmapR?branch=master)
2525
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
@@ -58,7 +58,7 @@ patients %>%
5858
process_map()
5959
```
6060

61-
```{r echo = FALSE}
61+
```{r echo = FALSE, eval = F}
6262
patients %>%
6363
process_map() %>%
6464
DiagrammeRsvg::export_svg() %>%

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![CRAN
99
status](https://www.r-pkg.org/badges/version/processmapR)](https://CRAN.R-project.org/package=processmapR)
1010
[![GitHub
11-
version](https://img.shields.io/badge/GitHub-0.5.2-blue)](https://github.com/bupaverse/processmapR)
11+
version](https://img.shields.io/badge/GitHub-0.5.4-blue)](https://github.com/bupaverse/processmapR)
1212
[![R-CMD-check](https://github.com/bupaverse/processmapR/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/bupaverse/processmapR/actions/workflows/R-CMD-check.yaml)
1313
[![codecov](https://codecov.io/gh/bupaverse/processmapR/branch/master/graph/badge.svg)](https://app.codecov.io/gh/bupaverse/processmapR?branch=master)
1414
[![Lifecycle:
@@ -66,7 +66,10 @@ patients %>%
6666
#> PhantomJS not found. You can install it with webshot::install_phantomjs(). If it is installed, please make sure the phantomjs executable can be found via the PATH variable.
6767
```
6868

69-
![process map](man/figures/README-example1-1.png)
69+
<figure>
70+
<img src="man/figures/README-example1-1.png" alt="process map" />
71+
<figcaption aria-hidden="true">process map</figcaption>
72+
</figure>
7073

7174
``` r
7275
# Dotted chart

inst/htmlwidgets/processanimateR.js inst/htmlwidgets/processmapR.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
processanimateR 1.0.3
2+
processmapR 1.0.3
33
Copyright (c) 2019 Felix Mannhardt
44
Licensed under MIT license
55
*/
66
HTMLWidgets.widget({
77

8-
name: "processanimateR",
8+
name: "processmapR",
99
type: "output",
1010

1111
factory: function(el, width, height) {

inst/htmlwidgets/processanimateR.yaml inst/htmlwidgets/processmapR.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dependencies:
2-
- name: processanimater-libs
2+
- name: processmapR-libs
33
version: 1.0.3
44
src: "htmlwidgets/lib/modules"
55
script:

man/dotted_chart.Rd

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/lined_chart.Rd

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/trace_explorer.Rd

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)