Hello,
Trying to add tests for my package. I Used usethis::use_testthat()
to add the testthat package folders. Set on the testthat folder the following test:
test-obj_class.R
context("Test extract_grid function")
test_that(desc = "Test object class",
{
expect_equal(TRUE, TRUE)
})
and testthat.R
file as:
library(testthat)
library(UKgrid)
test_check("UKgrid")
When running the last one I am getting the following error:
Error: No tests found for UKgrid
Did I miss something? Any suggestions?
Thanks,
Rami