tests/testthat/test-manynet-tutorials.R

test_that("table_data returns a tibble with expected columns", {
  result <- table_data(pkg = "manynet")
  
  expect_s3_class(result, "tbl_df")
  expect_true(all(c("dataset", "nodes", "ties", "directed") %in% names(result)))
})

Try the manynet package in your browser

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

manynet documentation built on June 23, 2025, 9:07 a.m.