Skip to content

More user-friendly error message needed.

1 message · Warnes, Gregory R

#
Ash, well simple enough to fix:

	has.element <- function(list,name) !is.na(pmatch(name,names(list))
While I do think that it is necessary to preseve the present semantics, it
would still be helpful to (at least optionally) have a warning issued when
NULL is returned because there is no matching name.   This really would help
in debugging code.

-Greg
LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}