styler (version 1.1.0)

set_and_assert_arg_filetype: Set the file type argument

Description

Sets and asserts the file type argument to a standard format for further internal processing.

Usage

set_and_assert_arg_filetype(filetype)

Arguments

filetype

A character vector with file types to convert to the internal standard format.

Examples

Run this code
# NOT RUN {
styler:::set_and_assert_arg_filetype("rMd")
# }
# NOT RUN {
styler:::set_and_assert_arg_filetype("xyz")
# }

Run the code above in your browser using DataCamp Workspace