View source: R/clean_file_path.R
clean_file_path | R Documentation |
Cleans up a file path:
Remove double slashes
clean_file_path(file_path)
file_path |
path to a file as a string |
a cleaned-up string
Richèl J.C. Bilderbeek
# Does nothing on clean paths
clean_file_path("~/HO_superpopulations")
# Replace the double slashes by single slashes
clean_file_path("~//HO_superpopulations")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.