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
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: