Christophe Weblog Wiki Code Publications Music
fix bug #21
authorChristophe Rhodes <csr21@cantab.net>
Mon, 23 Apr 2012 10:33:44 +0000 (11:33 +0100)
committerChristophe Rhodes <csr21@cantab.net>
Mon, 23 Apr 2012 10:33:44 +0000 (11:33 +0100)
commit24bb738d87a1636b9b86850e14c59b608fe61fb9
treed602fe5a185b5a8c1d69aee8261e254bbcdcad1d
parent14bc3a0d5910b4c259a985048fe1671b298918c8
fix bug #21

%in% needs a `vector' first argument, so make it so, listifying
anything that isn't already a vector.  (Note: there seem to be plenty
of non-vector first arguments that work, such as
as.Date("2012-01-01"), which returns FALSE to is.vector() -- but the new
code seems to get that right anyway, based on very limited testing.
BUGS.org
swank.R