tests/testthat/test-utilities.R

context("utlities tests")

base_path <- "c:\\packages\\logr\\tests\\testthat"

base_path <- tempdir()


test_that("get_package_versions() works as expected.", {
  
  res <- get_package_versions()
  
  res
  
  expect_equal(length(res), 1)
  
  
})

Try the logr package in your browser

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

logr documentation built on Nov. 10, 2023, 1:07 a.m.