0byt3m1n1
Path:
C:
/
Program Files
/
R
/
R-4.2.2
/
library
/
yaml
/
tests
/
[
Home
]
File: test_write_yaml.R
test_output_is_written_to_a_file_when_a_filename_is_specified <- function() { filename <- tempfile() write_yaml(1:3, filename) output <- readLines(filename) unlink(filename) checkEquals(c("- 1", "- 2", "- 3"), output) }