clean_path | R Documentation |
Wrapper utility for sanitizing file.path(...) output
clean_path(..., normalize = TRUE, mustWork = FALSE)
... |
[chr] paths passed to file.path() |
normalize |
[lgl] pass path to normalizePath()? |
mustWork |
[lgl] passed to normalizePath() |
[chr] full file paths with consistent platform-specific structure
clean_path(tempdir(), "/some/other/path/") # build a single path like file.path
clean_path(c(".", tempdir(), "/some/other/path/")) # vectorized
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.