search for: _causes_

Displaying 1 result from an estimated 1 matches for "_causes_".

Did you mean: _causes
2011 Jul 05
1
Circumventing code/documentation mismatches ('R CMD check')
Hello, As prompted by B. Ripley (see below), I am transfering this over from R-User ... For a package I am writing a function that looks like test <- function(Argument1=NA){ # Prerequisite testing if(!(is.na(Argument1))){ if(!(is.character(Argument1))){ stop("Wrong class.") } } # Function Body cat("Hello World\n") } Documentation of this is straight forward: