tests/testthat/test-motif_ties.R

# tie_motifs <- funs_objs[grepl("tie_x_", names(funs_objs))]
# for(fn in names(tie_motifs)) {
#   for (ob in names(data_objs)) { 
#     test_that(paste(fn, "works on", ob), {
#       if(fn == "x"){
#       } else {
#         expect_s3_class(tie_motifs[[fn]](data_objs[[ob]]), "tie_motif")
#       }
#     })
#   }
# }

Try the netrics package in your browser

Any scripts or data that you put into this service are public.

netrics documentation built on July 24, 2026, 5:07 p.m.