set_and_assert_arg_filetype: Set the file type argument

View source: R/set-assert-args.R

set_and_assert_arg_filetypeR Documentation

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

styler:::set_and_assert_arg_filetype("rMd")
try(styler:::set_and_assert_arg_filetype("xyz"))

krlmlr/styler documentation built on April 24, 2024, 4:14 p.m.