From: Benjamin Auder Date: Fri, 14 Apr 2017 15:37:43 +0000 (+0200) Subject: test auto-indenter X-Git-Url: https://git.auder.net/app_dev.php/%7B%7B%20path%28%27mixstore_user_board%27%29%20%7D%7D?a=commitdiff_plain;h=4464301b48c62cdbad7f1c9a67eaafd596655425;p=valse.git test auto-indenter --- diff --git a/hooks/pre-commit b/hooks/pre-commit index f9649b3..bf5d735 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -15,7 +15,7 @@ indent() { fi # loop on modified files - git diff --cached --name-only $against |while read file; + git diff --cached --name-only $against | while read file; do local ext=$(expr "$file" : ".*\(\..*\)") case $ext in @@ -28,10 +28,6 @@ indent() { # Indent the file with `indent' if this is a R file __indent_R() { - if test ! -x "$INDENT" - then - return; - fi if test ! -f $file then return; diff --git a/pkg/R/constructionModelesLassoRank.R b/pkg/R/constructionModelesLassoRank.R index dc6bcc1..5c742d1 100644 --- a/pkg/R/constructionModelesLassoRank.R +++ b/pkg/R/constructionModelesLassoRank.R @@ -1,7 +1,7 @@ #' constructionModelesLassoRank #' #' Construct a collection of models with the Lasso-Rank procedure. -#' +#' #' @param S output of selectVariables.R #' @param k number of components #' @param mini integer, minimum number of iterations in the EM algorithm, by default = 10