GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To do reverse of read_file() and read_lines() (should always write as utf-8)
Could these return the path to the file they just wrote?
But I also see that would be inconsistent with write_delim() et al, which return the data frame they just wrote.
@jennybc I'm pretty confident now that the general principle is that if a function is called primarily for its side-effects, then it should invisibly return it's first argument.
write_lines() function to write lines to a file