bupaR / pm4py: Object to convert is not a Python object

I am getting an "Object to convert is not a Python object" error in trying to do the illustrative "discovery_alpha" function within the bupaR package. Reprex below. Any ideas?

library("pm4py")
library("bupaR")
#> Loading required package: edeaR
#> Loading required package: eventdataR
#> Loading required package: processmapR
#> Loading required package: xesreadR
#> Loading required package: processmonitR
#> Loading required package: petrinetR
#> 
#> Attaching package: 'bupaR'
#> The following object is masked from 'package:stats':
#> 
#>     filter
#> The following object is masked from 'package:utils':
#> 
#>     timestamp
patients_completes <- patients %>% filter_lifecycle("complete")
discovery_alpha(patients_completes) -> PN
#> Error in py_to_r.default(X[[i]], ...): Object to convert is not a Python object

Created on 2020-02-07 by the reprex package (v0.3.0)

I reinstalled / updated version of pm4py package and this now works. Mods, please go ahead and close.

If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.