/usr/share/doc/r-cran-plyr/tests/testthat/quickdf.r is in r-cran-plyr 1.8.4-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 6 7 8 | context("quickdf")
test_that("make_names handles NAs", {
x <- 1:3
names(x) <- c("", "a", NA)
expect_equal(make_names(x), c("X1", "a", NA))
})
|