/usr/share/doc/r-cran-dplyr/tests/testthat/test-data_frame.R is in r-cran-dplyr 0.7.4-3.
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 9 10 11 | context("data_frame")
# add_rownames -----------------------------------------------------------
test_that("add_rownames keeps the tbl classes (#882)", {
expect_warning(
res <- mtcars %>% add_rownames("Make&Model"),
"Deprecated"
)
expect_equal(class(res), c("tbl_df", "tbl", "data.frame"))
})
|