rapache icon indicating copy to clipboard operation
rapache copied to clipboard

Info handler broken

Open jeroen opened this issue 9 years ago • 1 comments

Using

<Location /RApacheInfo>
    SetHandler r-info
</Location>

on recent versions of Fedora and CentOS gives:

Error in if (is.na(st)) return("NA") : argument is of length zero
In addition: Warning message:
In is.na(st) : is.na() applied to non-(list or vector) of type 'closure'

jeroen avatar Jun 24 '15 14:06 jeroen

line 1540: swap NA and length tests around to this: if (length(st) == 0) return ('length 0 sting'); if (is.na(st)) return('NA'); R handles NA, length and NULL sooo badly. Minor issue in an otherwise great module.

SarumObjects avatar Jan 13 '16 13:01 SarumObjects