Running examples in 'epicontacts-Ex.R' failed
The error most likely occurred in:

> ### Name: as.igraph.epicontacts
> ### Title: Create igraph object from contact data
> ### Aliases: as.igraph.epicontacts
> 
> ### ** Examples
> 
> 
> if (require(outbreaks) && require(igraph)) {
+ ## build data
+ 
+ x <- make_epicontacts(ebola_sim$linelist, ebola_sim$contacts,
+                       id = "case_id", to = "case_id", from ="infector",
+                       directed = TRUE)
+ 
+ 
+ ## subset data - keep 50 cases from linelist with contacts
+ 
+ ids <- get_id(x, "common")[1:50]
+ ids
+ x <- x[ids, ids]
+ 
+ 
+ ## make igraph object with associated attributes from epicontacts object
+ 
+ net <- as.igraph(x)
+ net
+ plot(net, vertex.label = "", vertex.size = 10,
+      vertex.color = cases_pal(50))
+ }
Loading required package: outbreaks
Loading required package: igraph

Attaching package: 'igraph'

The following objects are masked from 'package:stats':

    decompose, spectrum

The following object is masked from 'package:base':

    union

Warning: S3 methods '[.fun_list', '[.grouped_df', 'all.equal.tbl_df', 'anti_join.data.frame', 'anti_join.tbl_df', 'arrange.data.frame', 'arrange.default', 'arrange.grouped_df', 'arrange.tbl_df', 'arrange_.data.frame', 'arrange_.tbl_df', 'as.data.frame.grouped_df', 'as.data.frame.rowwise_df', 'as.data.frame.tbl_cube', 'as.data.frame.tbl_df', 'as.table.tbl_cube', 'as.tbl.data.frame', 'as.tbl.tbl', 'as.tbl_cube.array', 'as.tbl_cube.data.frame', 'as.tbl_cube.matrix', 'as.tbl_cube.table', 'as_data_frame.grouped_df', 'as_data_frame.tbl_cube', 'auto_copy.tbl_cube', 'auto_copy.tbl_df', 'cbind.grouped_df', 'collapse.data.frame', 'collect.data.frame', 'common_by.NULL', 'common_by.character', 'common_by.default', 'common_by.list', 'compute.data.frame', 'copy_to.DBIConnection', 'copy_to.src_local', 'default_missing.data.frame', 'default_missing.default', 'dim.tbl_cube', 'distinct.data.frame', 'distinct.default', 'distinct.grouped_df', 'distinct.tbl_df', 'distinct_.data.frame', 'distinct_.grouped_df', 'dist [... truncated]
Error in namespaceExport(ns, exports) : 
  undefined exports: add_count, add_count_, add_rownames, add_tally, add_tally_, all_equal, all_vars, anti_join, any_vars, arrange, arrange_, arrange_all, arrange_at, arrange_if, as.tbl, as.tbl_cube, auto_copy, bench_tbls, between, bind_cols, bind_rows, case_when, changes, check_dbplyr, coalesce, collect, combine, common_by, compare_tbls, compare_tbls2, compute, contains, copy_to, count, count_, cumall, cumany, cume_dist, cummean, current_vars, db_analyze, db_begin, db_commit, db_create_index, db_create_indexes, db_create_table, db_data_type, db_desc, db_drop_table, db_explain, db_has_table, db_insert_into, db_list_tables, db_query_fields, db_query_rows, db_rollback, db_save_query, db_write_table, dense_rank, desc, dim_desc, distinct, distinct_, do, do_, dr_dplyr, ends_with, eval_tbls, eval_tbls2, everything, explain, failwith, filter_, filter_all, filter_at, filter_if, first, full_join, funs, funs_, group_by, group_by_, group_by_all, group_by_at, group_by_if, group_by_prepare,
Calls: as.igraph ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted