Description Usage Arguments Value Examples
View source: R/fix_filenames.R
Some filenames have been altered in order to comply with portability requirements on CRAN. This function converts the filenames between the CRAN forms and the book forms.
1 2 | fix_filenames(x = c("tobook", "tocran"),
dir = system.file("extdata", packages = "learningr"))
|
x |
Either “tocran” or “tobook”. |
dir |
Directory containing the files. |
A logical vector of length 4, TRUE
for each file
whose name was changed.
1 2 3 4 5 6 7 | ## Not run:
#To convert the files to the book form, use:
fix_filenames("tobook")
#The files were converted to CRAN form using:
fix_filenames("tocran", "learningr/inst/extdata")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.