Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in causal_net: causal_performance() #7

Open
BernardWilliam opened this issue Mar 28, 2022 · 1 comment
Open

Error in causal_net: causal_performance() #7

BernardWilliam opened this issue Mar 28, 2022 · 1 comment
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@BernardWilliam
Copy link

I get an error when trying to generate a causal_performance map


library(eventdataR)
library(heuristicsmineR)
data(traffic_fines)
causal_net(traffic_fines, type = causal_performance(FUN= mean, units = "days"))`

The output is
Error in summarize():
! Problem while recycling bindings_output = first(bindings_output).
x bindings_output must be size 8 or 1, not 0.
i An earlier column had size 8.
i The error occurred in group 4: act = "End", from_id = 4.
Run rlang::last_error() to see where the error occurred.

sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows Server x64 (build 17763)

Matrix products: default

locale:
[1] LC_COLLATE=English_Ireland.1252 LC_CTYPE=English_Ireland.1252 LC_MONETARY=English_Ireland.1252 LC_NUMERIC=C
[5] LC_TIME=English_Ireland.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] eventdataR_0.2.0 heuristicsmineR_0.2.5

loaded via a namespace (and not attached):
[1] zoo_1.8-9 tidyselect_1.1.1 purrr_0.3.4 ggthemes_4.2.4 lattice_0.20-45 processmapR_0.3.4 colorspace_2.0-2
[8] vctrs_0.3.8 generics_0.1.2 viridisLite_0.4.0 miniUI_0.1.1.1 htmltools_0.5.2 utf8_1.2.2 plotly_4.10.0
[15] rlang_1.0.1 later_1.3.0 bupaR_0.4.4 pillar_1.7.0 glue_1.6.1 RColorBrewer_1.1-2 lifecycle_1.0.1
[22] stringr_1.4.0 munsell_0.5.0 gtable_0.3.0 visNetwork_2.1.0 htmlwidgets_1.5.4 forcats_0.5.1 edeaR_0.8.6
[29] fastmap_1.1.0 httpuv_1.6.5 DiagrammeR_1.0.8 fansi_1.0.2 Rcpp_1.0.8 xtable_1.8-4 promises_1.2.0.1
[36] scales_1.1.1 jsonlite_1.7.3 mime_0.12 ggplot2_3.3.5 hms_1.1.1 digest_0.6.29 stringi_1.7.6
[43] dplyr_1.0.8 shiny_1.7.1 grid_4.1.2 cli_3.1.1 tools_4.1.2 magrittr_2.0.2 lazyeval_0.2.2
[50] tibble_3.1.6 crayon_1.5.0 tidyr_1.2.0 pkgconfig_2.0.3 ellipsis_0.3.2 data.table_1.14.2 lubridate_1.8.0
[57] rstudioapi_0.13 httr_1.4.2 R6_2.5.1 shinyTime_1.0.1 compiler_4.1.2

@fmannhardt fmannhardt added the bug Something isn't working label Aug 4, 2022
@fmannhardt fmannhardt self-assigned this Aug 4, 2022
@fmannhardt
Copy link
Member

I can reproduce this issue, need to investigate what is happening there. Thank you for reporting.

@fmannhardt fmannhardt added the help wanted Extra attention is needed label Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants