diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2018-04-23 17:51:01 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2018-04-23 17:51:01 +0100 |
| commit | 198dd1859e96bdf6637d44de6632ad1cb4883604 (patch) | |
| tree | 1b5c2d5d23b21959685d6fddc55bb9b3acb81da8 | |
| parent | bump version and update cran comments (diff) | |
| download | rgensvm-198dd1859e96bdf6637d44de6632ad1cb4883604.tar.gz rgensvm-198dd1859e96bdf6637d44de6632ad1cb4883604.zip | |
replace dontrun with donttest in man pages
| -rw-r--r-- | man/coef.gensvm.grid.Rd | 2 | ||||
| -rw-r--r-- | man/gensvm.grid.Rd | 4 | ||||
| -rw-r--r-- | man/gensvm.refit.Rd | 2 | ||||
| -rw-r--r-- | man/plot.gensvm.grid.Rd | 2 | ||||
| -rw-r--r-- | man/predict.gensvm.grid.Rd | 2 | ||||
| -rw-r--r-- | man/print.gensvm.grid.Rd | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/man/coef.gensvm.grid.Rd b/man/coef.gensvm.grid.Rd index 48cf48d..53540bf 100644 --- a/man/coef.gensvm.grid.Rd +++ b/man/coef.gensvm.grid.Rd @@ -18,7 +18,7 @@ The parameter grid of the GenSVMGrid object as a data frame. Returns the parameter grid of a \code{gensvm.grid} object. } \examples{ -\dontrun{ +\donttest{ x <- iris[, -5] y <- iris[, 5] 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) diff --git a/man/gensvm.refit.Rd b/man/gensvm.refit.Rd index aa260ca..07af08f 100644 --- a/man/gensvm.refit.Rd +++ b/man/gensvm.refit.Rd @@ -73,7 +73,7 @@ y <- iris[, 5] fit <- gensvm(x, y) fit2 <- gensvm.refit(fit, x, y, epsilon=1e-8) -\dontrun{ +\donttest{ # refit a model returned by a grid search grid <- gensvm.grid(x, y) fit <- gensvm.refit(fit, x, y, epsilon=1e-8) diff --git a/man/plot.gensvm.grid.Rd b/man/plot.gensvm.grid.Rd index a3aa4d9..abf0974 100644 --- a/man/plot.gensvm.grid.Rd +++ b/man/plot.gensvm.grid.Rd @@ -20,7 +20,7 @@ model in the provided GenSVMGrid object. See the documentation for \code{\link{plot.gensvm}} for more information. } \examples{ -\dontrun{ +\donttest{ x <- iris[, -5] y <- iris[, 5] diff --git a/man/predict.gensvm.grid.Rd b/man/predict.gensvm.grid.Rd index a61362e..b16969a 100644 --- a/man/predict.gensvm.grid.Rd +++ b/man/predict.gensvm.grid.Rd @@ -27,7 +27,7 @@ this model is only available if \code{refit=TRUE} was specified in the \code{\link{gensvm.grid}} call (the default). } \examples{ -\dontrun{ +\donttest{ x <- iris[, -5] y <- iris[, 5] diff --git a/man/print.gensvm.grid.Rd b/man/print.gensvm.grid.Rd index 1f19737..4dff09a 100644 --- a/man/print.gensvm.grid.Rd +++ b/man/print.gensvm.grid.Rd @@ -18,7 +18,7 @@ returns the object passed as input Prints the summary of the fitted GenSVMGrid model } \examples{ -\dontrun{ +\donttest{ x <- iris[, -5] y <- iris[, 5] |
