don't need to use codetools after all

Conflicts:
	DESCRIPTION
	NAMESPACE
	man/dm_ply.Rd
logical scalars can be literals also
rewrite chain more simply as a macro