Checks that all filenames in the directory R/ are lower case and the file extension matches .extension

check_r_filenames(path = ".", extension = "R")

Arguments

path

Location of the package

extension

Preferred R file extension. Default R.

Examples

check_r_filenames()
#>
#> ── Checking file extensions...check_r_filenames()
#> 0 R files found
#> Extensions look good
#> Filenames look good