delete_trailing_blank_lines {fritools2} | R Documentation |
Remove Trailing Blank Lines From Files
Description
Trailing blank lines are classical lints.
Usage
delete_trailing_blank_lines(...)
Arguments
... |
Arguments passed to |
Value
See Also
Other file utilities:
clipboard_path()
,
delete_trailing_whitespace()
,
develop_test()
,
file_copy()
,
file_modified_last()
,
file_save()
,
find_files()
,
get_lines_between_tags()
,
get_mtime()
,
get_unique_string()
,
grep_file()
,
is_files_current()
,
is_path()
,
paths
,
search_files()
,
split_code_file()
,
touch()
Examples
dir <- tempfile()
dir.create(dir)
file.copy(system.file("tinytest", package = "fritools2"), dir,
recursive = TRUE)
delete_trailing_blank_lines(path = dir, recursive = TRUE)
unlink(dir, recursive = TRUE)
[Package fritools2 version 4.1.0 Index]