This check tests for windows line breaks and file permissions. It ensures that the file is not executable (txt|md|Rmd|yml|json|).

check_file_permissions(repo_files = NULL, path = ".")

Arguments

repo_files

By default, we use git to determine the files in the repo. By a vector of files can be passed instead.

path

Location of the package

Examples

check_file_permissions()
#>
#> ── Checking file permissions...check_file_permissions()
#> File modes looks good