View source: R/delete_trailing_whitespace.R
delete_trailing_whitespace | R Documentation |
Trailing whitespace is a classical lint.
delete_trailing_whitespace(...)
... |
Arguments passed to |
Invisibly
NULL
.
Other file utilities:
clipboard_path()
,
delete_trailing_blank_lines()
,
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()
dir <- tempfile()
dir.create(dir)
file.copy(system.file("tinytest", package = "fritools2"), dir,
recursive = TRUE)
delete_trailing_whitespace(path = dir, recursive = TRUE)
unlink(dir, recursive = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.