This commit is contained in:
assignUser 2020-08-15 23:43:42 +00:00
parent a745a38df9
commit 8baec3bc77
2 changed files with 2 additions and 2 deletions

View file

@ -1699,7 +1699,7 @@ if [ "${VALIDATE_R}" == "true" ]; then
# Lint the R files # # Lint the R files #
####################### #######################
# LintCodebase "FILE_TYPE" "LINTER_NAME" "LINTER_CMD" "FILE_TYPES_REGEX" "FILE_ARRAY" # LintCodebase "FILE_TYPE" "LINTER_NAME" "LINTER_CMD" "FILE_TYPES_REGEX" "FILE_ARRAY"
LintCodebase "R" "lintr" "R --slave -e 'lintr::lint(" ".*\.\(r\|R\|Rmd\|rmd\)\$" "${FILE_ARRAY_R[@]}" LintCodebase "R" "lintr" "${R_LINTER_RULES}" ".*\.\(r\|R\|Rmd\|rmd\)\$" "${FILE_ARRAY_R[@]}"
fi fi
################ ################

View file

@ -215,7 +215,7 @@ function LintCodebase() {
####################################### #######################################
LINT_CMD=$( LINT_CMD=$(
cd "${GITHUB_WORKSPACE}" || exit cd "${GITHUB_WORKSPACE}" || exit
${LINTER_COMMAND}"${DIR_NAME}/$FILE_NAME")' 2>&1 #' R --slave -e "lintr::lint('${DIR_NAME}/$FILE_NAME')" 2>&1
) )
else else
################################ ################################