[R-sig-Geo] BUG in set.pluginOption() in spGRASS6
Rainer M. Krug
Rainer at krugs.de
Tue Apr 2 11:09:40 CEST 2013
Roger Bivand <Roger.Bivand at nhh.no> writes:
> On Fri, 29 Mar 2013, Rainer M Krug wrote:
>> using spgrass6_0.7-15 on Ubuntu, there is an error in the function
>> set.pluginOption() as it always raises an error "logical argument required".
>> The Check
>> if (!is.logical(value) || !is.null(value)) stop("logical argument required")
>> always returns TRUE and therefore always raises the error.
> Please try the recent commit to R-forge, spgrass6 module, rspatial
just installed the one from R-forge and it is working for TRUE and FALSE
- but it is not possible to set it to NULL - is this by design?
As I want tu use FALSE, I am fiine with as it is, but it would be
consistent with the possible values for "plugin" if one could set NULL
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Tel : +33 - (0)9 53 10 27 44
Cell: +33 - (0)6 85 62 59 98
Fax : +33 - (0)9 58 10 27 44
Fax (D): +49 - (0)3 21 21 25 22 44
email: Rainer at krugs.de
More information about the R-sig-Geo