File: test-description.R

package info (click to toggle)
r-cran-pkgload 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,164 kB
  • sloc: sh: 13; cpp: 9; ansic: 8; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 226 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
local_load_all_quiet()

test_that("Parse DESCRIPTION file", {
  pkg <- pkg_desc("testNamespace")

  expect_identical(package_version("0.1"), pkg$get_version())
  expect_identical("testNamespace", pkg_name("testNamespace"))
})