Closed geilerloui closed 6 years ago
Hi, after installing the new version of processmapR from Github I got the following error message (see below), I have just used this code to test:
library(bupaR) patients %>% process_map(type = frequency("relative"))
Error in FUN(X[[i]], ...): object '.order' not found Traceback: 1. patients %>% process_map(type = frequency("relative")) 2. withVisible(eval(quote(`_fseq`(`_lhs`)), env, env)) 3. eval(quote(`_fseq`(`_lhs`)), env, env) 4. eval(quote(`_fseq`(`_lhs`)), env, env) 5. `_fseq`(`_lhs`) 6. freduce(value, `_function_list`) 7. withVisible(function_list[[k]](value)) 8. function_list[[k]](value) 9. process_map(., type = frequency("relative")) 10. eventlog %>% as.data.frame() %>% droplevels %>% select(act = !(!activity_id_(eventlog)), . aid = !(!activity_instance_id_(eventlog)), case = !(!case_id_(eventlog)), . time = !(!timestamp_(eventlog)), .order) %>% group_by(act, . aid, case) %>% summarize(start_time = min(time), end_time = max(time), . min_order = min(.order)) 11. withVisible(eval(quote(`_fseq`(`_lhs`)), env, env)) 12. eval(quote(`_fseq`(`_lhs`)), env, env) 13. eval(quote(`_fseq`(`_lhs`)), env, env) 14. `_fseq`(`_lhs`) 15. freduce(value, `_function_list`) 16. function_list[[i]](value) 17. select(., act = !(!activity_id_(eventlog)), aid = !(!activity_instance_id_(eventlog)), . case = !(!case_id_(eventlog)), time = !(!timestamp_(eventlog)), . .order) 18. select.data.frame(., act = !(!activity_id_(eventlog)), aid = !(!activity_instance_id_(eventlog)), . case = !(!case_id_(eventlog)), time = !(!timestamp_(eventlog)), . .order) 19. select_vars(names(.data), !(!(!quos(...)))) 20. map_if(ind_list, !is_helper, eval_tidy, data = names_list) 21. map(.x[matches], .f, ...) 22. lapply(.x, .f, ...) 23. FUN(X[[i]], ...)
You will also need the recent eventdataR, bupaR and edeaR from github. There have been important changes to the internal workings. All these new versions will normally be on cran by the end of the week.
Hi, after installing the new version of processmapR from Github I got the following error message (see below), I have just used this code to test: