typo
support NA_logical and a sprinkle of brackets in switch statements
switch to quickcheck 2.0
workaround for mysterious ... args problem