file_to_lines: Read a file and convert it to a vector of strings, in...

Description Usage Arguments Value Author(s) Examples

Description

Read a file and convert it to a vector of strings, in complexity O(2n)

Usage

1
file_to_lines(filename)

Arguments

filename

the name of a file

Value

the text of the filename as a vector

Author(s)

Richel Bilderbeek

Examples

1
2
3
  text <- wiritttea::file_to_lines(
    filename = wiritttea::find_path("add_alignments_ok.log"))
  testit::assert(length(text) == 50)

richelbilderbeek/wiritttea documentation built on May 27, 2019, 8:02 a.m.