Re: [Rd] Coping with non-standard evaluation in R program analysis

2018-01-18 Thread Gabriel Becker
Evan, You can look at what CodeDepends (on cran/ github.com/duncantl/CodeDepends ) does for nonstandard evaluation. It is a static code analyzer which allows for custom handler functions for calls to specific functions. The default handlers provided are "NSE-aware" (many of) the common contexts wh

[Rd] wrong matrix dimension in sparseQR

2018-01-18 Thread Serguei Sokol
Hi, I came across a case when the dimensions of matrices returned by qr() operated on a sparse matrix does not coincide with the initial matrix. Here is a spinet code that should produce an example (one of many that I could provide):  m=205  n=199  set.seed(7);  a=matrix(rnorm(m*n), m, n)  a[s