> library(pm4py)
>
> # Most of the data structures are converted in their bupaR equivalents
> library(bupaR)
>
> # As Inductive Miner of PM4PY is not life-cycle aware, keep only `complete` events:
> patients_completes <- patients[patients$registration_type == "complete", ]
>
> # Discovery with Inductive Miner
> pn <- discovery_inductive(patients_completes)
Gives the following error:
Error in py_to_r.default(X[[i]], ...) :
Object to convert is not a Python object
install_pm4py was executed without error. pm4py_available returns TRUE.
Could reproduce it and might be related to updates in reticulate as this did not happen in my environment before I upgraded to the most recent versions.
Gives the following error:
install_pm4py was executed without error. pm4py_available returns TRUE.