From 198dd1859e96bdf6637d44de6632ad1cb4883604 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 23 Apr 2018 17:51:01 +0100 Subject: replace dontrun with donttest in man pages --- man/gensvm.grid.Rd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'man/gensvm.grid.Rd') diff --git a/man/gensvm.grid.Rd b/man/gensvm.grid.Rd index 94cdcd5..6ce9ffe 100644 --- a/man/gensvm.grid.Rd +++ b/man/gensvm.grid.Rd @@ -131,7 +131,7 @@ be the same as the param.grid in the input. x <- iris[, -5] y <- iris[, 5] -\dontrun{ +\donttest{ # use the default parameter grid grid <- gensvm.grid(x, y, verbose=TRUE) } @@ -143,7 +143,7 @@ grid <- gensvm.grid(x, y, param.grid=pg) # print the result print(grid) -\dontrun{ +\donttest{ # Using a custom scoring function (accuracy as percentage) acc.pct <- function(yt, yp) { return (100 * sum(yt == yp) / length(yt)) } grid <- gensvm.grid(x, y, scoring=acc.pct) -- cgit v1.2.3