Skip to content

Commit f10dc29

Browse files
Merge pull request #69 from bupaverse/dev
0.5.5
2 parents e16c724 + 04925cd commit f10dc29

Some content is hidden

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

51 files changed

+615
-346
lines changed

DESCRIPTION

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
Package: bupaR
22
Type: Package
33
Title: Business Process Analysis in R
4-
Version: 0.5.2
5-
Date: 2022-09-30
4+
Version: 0.5.5
65
Authors@R: c(person("Gert","Janssenswillen", email = "gert.janssenswillen@uhasselt.be", role = c("aut","cre")),
76
person("Gerard","van Hulzen",email = "gerard.vanhulzen@uhasselt.be", role = c("ctb")),
87
person("Felix","Mannhardt",email = "f.mannhardt@tue.nl", role = c("ctb")),
@@ -11,7 +10,7 @@ Authors@R: c(person("Gert","Janssenswillen", email = "gert.janssenswillen@uhasse
1110
Description: Comprehensive Business Process Analysis toolkit. Creates S3-class for event log objects, and related handler functions. Imports related packages for filtering event data, computation of descriptive statistics, handling of 'Petri Net' objects and visualization of process maps. See also packages 'edeaR','processmapR', 'eventdataR' and 'processmonitR'.
1211
License: MIT + file LICENSE
1312
Encoding: UTF-8
14-
RoxygenNote: 7.2.1
13+
RoxygenNote: 7.3.2
1514
Depends:
1615
R (>= 3.5.0)
1716
Imports:
@@ -45,4 +44,3 @@ Suggests:
4544
testthat (>= 3.1.3)
4645
Roxygen: list(markdown = TRUE)
4746
Config/testthat/edition: 3
48-

NAMESPACE

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ S3method(case_list,eventlog)
3838
S3method(cases,activitylog)
3939
S3method(cases,eventlog)
4040
S3method(cases,log)
41+
S3method(count,grouped_log)
42+
S3method(count,log)
4143
S3method(detect_resource_inconsistencies,activitylog)
4244
S3method(detect_resource_inconsistencies,eventlog)
4345
S3method(durations,activitylog)
@@ -111,6 +113,8 @@ S3method(print,activitylog_mapping)
111113
S3method(print,eventlog_mapping)
112114
S3method(print,grouped_log)
113115
S3method(print,log)
116+
S3method(rename,grouped_log)
117+
S3method(rename,log)
114118
S3method(resource_id,activitylog)
115119
S3method(resource_id,activitylog_mapping)
116120
S3method(resource_id,eventlog)
@@ -191,6 +195,7 @@ export(case_labels)
191195
export(case_list)
192196
export(cases)
193197
export(convert_timestamps)
198+
export(count)
194199
export(detect_resource_inconsistencies)
195200
export(dmy)
196201
export(dmy_h)
@@ -236,6 +241,7 @@ export(n_events)
236241
export(n_resources)
237242
export(n_traces)
238243
export(re_map)
244+
export(rename)
239245
export(resource_id)
240246
export(resource_labels)
241247
export(resources)
@@ -248,7 +254,6 @@ export(scale_fill_continuous_bupaR)
248254
export(scale_fill_discrete_bupaR)
249255
export(scale_fill_gradient2_bupaR)
250256
export(scale_fill_gradient_bupaR)
251-
export(select)
252257
export(select_ids)
253258
export(set_activity_id)
254259
export(set_activity_instance_id)
@@ -293,6 +298,7 @@ importFrom(dplyr,count)
293298
importFrom(dplyr,filter)
294299
importFrom(dplyr,group_by)
295300
importFrom(dplyr,mutate)
301+
importFrom(dplyr,rename)
296302
importFrom(dplyr,sample_n)
297303
importFrom(dplyr,select)
298304
importFrom(dplyr,slice)

NEWS.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
1-
# bupaR 0.5.1 (dev)
1+
# bupaR 0.5.3
2+
3+
## Features
4+
5+
* Added new `rename` method, similar to dplyr's rename, that automatically changes the mapping of the log if the rename concerns any mapping variables.
6+
* Added new `count` method, to increase compatibility with dplyr. `count` will automatically convert the `log` object to a `tibble`.
7+
8+
## Bug Fixes
9+
10+
* `group_by(.data, ..., .add = F)` now works correctly on `grouped_eventlog`. Previously, applying `group_by()` to a `grouped_eventlog`
11+
reverted it to a `data.frame`, which prevented the application of further **bupaR** functions on the returned value.
12+
* The `"raw"` attribute of metrics in **edeaR** (e.g. `throughput_time`) containing the original data is now kept after
13+
applying `group_by()`. This can be useful for further analyses on the output of metrics and can be accessed using `attr(log, "raw")`.
14+
* Fixed bug in `add_start_activity()` and `add_end_activity()` which failed when applied to an `activitylog`.
15+
* Fixed bug in `activitylog`. Failed when not both start and complete columns where available.
16+
* Fixed bug in `assign_instance_id`. Failed when data had a column with the name `status`.
17+
18+
## Other
19+
20+
21+
# bupaR 0.5.1
222

323
## Features
424

0 commit comments

Comments
 (0)