From: Benjamin Auder Date: Sat, 18 Mar 2017 03:45:49 +0000 (+0100) Subject: no need to source self code in a package: function already loaded X-Git-Url: https://git.auder.net/variants/current/vendor/doc/config.php?a=commitdiff_plain;h=2652fb8797f3097361ba23c7f3790be9754db987;p=valse.git no need to source self code in a package: function already loaded --- diff --git a/pkg/R/valse.R b/pkg/R/valse.R index 9bc1f4a..d5d10ce 100644 --- a/pkg/R/valse.R +++ b/pkg/R/valse.R @@ -42,7 +42,6 @@ valse = function(X,Y,procedure = 'LassoMLE',selecMod = 'DDSE',gamma = 1,mini = 1 rhoInit <<- init$rhoInit piInit <<- init$piInit gamInit <<- init$gamInit - source('~/valse/pkg/R/gridLambda.R') grid_lambda <<- gridLambda(phiInit, rhoInit, piInit, gamInit, X, Y, gamma, mini, maxi, eps) if (length(grid_lambda)>100){ diff --git a/reports/essai17mars.R b/reports/essai17mars.R deleted file mode 100644 index e69de29..0000000