tests/testthat/test_multiline.R

test_that("multiline values", {
    x <- read_ods('../testdata/multiline_cells.ods', col_names = FALSE)
    expect_equal(x[[1, 1]], "Multiline cell, line 1\nMultiline cell, line 2")
})

Try the readODS package in your browser

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

readODS documentation built on Sept. 11, 2023, 1:08 a.m.