#' Copyright(c) 2017-2020 R. Mark Sharp
#' This file is part of nprcgenekeepr
context("createPedOne")
library(testthat)
pedOne <- createPedOne(savePed = FALSE)
test_that("createPedOne makes the right pedigree", {
expect_equal(nrow(pedOne), 8)
expect_equal(ncol(pedOne), 5)
expect_equal(names(pedOne)[1], "ego_id")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.