/usr/share/doc/r-cran-pillar/tests/testthat/test-format_date.R is in r-cran-pillar 1.0.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 | context("format_date")
test_that("output test", {
expect_pillar_output(as.Date("2017-07-28"), filename = "date.txt")
})
|