Package: r-other-iwrlars / 0.9-5-4

fix_escape_sequence.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Andreas Tille <tille@debian.org>
Last-Update: Wed, 12 Feb 2014 14:16:59 +0100
Description: Fix invalid escape sequence otherwise leading to
 ** R
 Error : '\e' is an unrecognized escape in character string starting ""Variables with Variance < \e"
 ERROR: unable to collate and parse R files for package 'iwrlars'

--- a/R/larfuncs.R
+++ b/R/larfuncs.R
@@ -92,7 +92,7 @@ function(x, y, type = c("lasso","plasso"
     inactive<-im[-ignores]
     normx[nosignal]<-eps*sqrt(n)
     if(trace)
-      cat("LARS Step 0 :\t", sum(nosignal), "Variables with Variance < \eps; dropped for good\n")	#
+      cat("LARS Step 0 :\t", sum(nosignal), "Variables with Variance < \\eps; dropped for good\n")	#
   }
   else ignores <- NULL #singularities; augmented later as well
   names(normx) <- NULL