tests/testthat/test-read_package_configuration.R

library(capeml)

testthat::test_that(
  desc = "read_package_configuration returns expected object types",
  code = {

    expect_type(
      object = capeml::read_package_configuration(),
      type   = "list"
    )

    expect_type(
      object = capeml::read_package_configuration()$identifier,
      type = "integer"
    )

  }
)
CAPLTER/capeml documentation built on Dec. 23, 2024, 6:29 a.m.