bupaverse / processanimateR

Token replay animation for process maps created with processmapR by using SVG animations (SMIL) and the htmlwidget package.
https://bupaverse.github.io/processanimateR/
Other
66 stars 11 forks source link

Eventlog does not accept 'order' input or generate a default value on macOS #4

Closed HFDockrell closed 6 years ago

HFDockrell commented 6 years ago

Thank you for making this package, it's great! I've been able to make animations of process maps on Windows OS, but am getting an error trying to run the same code on my MacBook.

When I go to create an eventlog, I can't manually set the 'order' parameter (unused argument (order = "auto")). However, when I create an eventlog without the 'order' parameter, the animation is not generated due to the absence of this parameter (Error: .order must resolve to integer column positions, not NULL).

This occurs even when running the simplest example using the patients data: data(patients) animate_process(patients)

Error: .order must resolve to integer column positions, not NULL

And when I try to set it manually: patientLog <- eventlog( eventlog = patientsDF, case_id = "patient", activity_id = "events", activity_instance_id = "handling_id", lifecycle_id = "registration_type", timestamp = "time", resource_id = "employee" )

Error in eventlog(eventlog = patientsDF, case_id = "patient", activity_id = "events", : unused argument (order = "auto")

fmannhardt commented 6 years ago

Thanks for using my package. Which version of the package did you use?

May I ask you to install the last version from Github to test if this is already fixed. There were some changes in the interface to bupaR which may be causing this.

To install the development version please run:

install.packages("devtools")
devtools::install_github("fmannhardt/processanimateR")

Also check whether the bupaR packages are updated to their latest released version.

HFDockrell commented 6 years ago

Ah, thank you! The dev version has fixed this problem for me.

fmannhardt commented 6 years ago

Great. Thanks for the feedback.