removed bug. testing for »is.binary(bin)« now.