Description Usage Arguments Value Examples
View source: R/convert_folder.R
Function goes through folder specified in input_folder and finds files
matching the pattern. If recursive is set to TRUE, scanner
are also subdirectories of the input_folder. Matching files are
converted using convert_file
function.
1 2 | convert_folder(input_folder, output_folder = tempdir(),
recursive = FALSE, pattern = "*.less$")
|
input_folder |
Path to files to be converted |
output_folder |
Output path where converted files should be placed
Files are placed to |
recursive |
Boolean value used when searching for filed to be converted |
pattern |
Pattern which files need to match to be converted |
List of file paths to converted files is returned
1 2 3 4 5 6 | path_to_less_files <- system.file("extdata", package="rless")
convert_folder(path_to_less_files)
convert_folder(path_to_less_files, tempdir())
convert_folder(path_to_less_files, recursive = TRUE)
convert_folder(path_to_less_files, pattern = '*.css$')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.