Sets and asserts the file type argument to a standard format for further internal processing.
set_and_assert_arg_filetype(filetype)
A character vector with file types to convert to the internal standard format.
styler:::set_and_assert_arg_filetype("rMd") try(styler:::set_and_assert_arg_filetype("xyz"))
Run the code above in your browser using DataLab