-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
When printing an egor object no data head is displayed, just NULL. This happens even though the egor object can be correctly analyzed. It seems to happen for any egor object, including those created in the main egor vignette.
Reproducible:
library(egor)
# Create egor
e1 <- egor(alters = alters32,
egos = egos32,
aaties = aaties32,
ID.vars = list(
ego = ".EGOID",
alter = ".ALTID",
source = ".SRCID",
target = ".TGTID"))
# Prints NULL
e1
# The object is created correctly and can be analyzed
summary(e1)
# Filtering also prints NULL
e1[e1$ego$age.years > 35, ]
e1 %>%
filter(income > 36000)Session info:
R version 4.1.2 (2021-11-01)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Monterey 12.5.1
Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods
[7] base
other attached packages:
[1] egor_1.22.5 tibble_3.1.8 dplyr_1.0.9
loaded via a namespace (and not attached):
[1] pillar_1.8.1 compiler_4.1.2 tools_4.1.2
[4] digest_0.6.29 evaluate_0.16 lifecycle_1.0.1
[7] lattice_0.20-45 pkgconfig_2.0.3 rlang_1.0.4
[10] igraph_1.3.4 Matrix_1.4-0 tidygraph_1.2.2
[13] DBI_1.1.1 cli_3.3.0 rstudioapi_0.13
[16] yaml_2.2.1 xfun_0.32 fastmap_1.1.0
[19] knitr_1.40 srvyr_1.1.1 generics_0.1.3
[22] vctrs_0.4.1 mitools_2.4 grid_4.1.2
[25] tidyselect_1.1.2 glue_1.6.2 R6_2.5.1
[28] fansi_0.5.0 survival_3.2-13 rmarkdown_2.16
[31] bookdown_0.28 purrr_0.3.4 tidyr_1.2.0
[34] magrittr_2.0.3 ellipsis_0.3.2 htmltools_0.5.2
[37] splines_4.1.2 assertthat_0.2.1 utf8_1.2.2
[40] survey_4.1-1 crayon_1.4.2 Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
