diff --git a/modules/openapi-generator/src/main/resources/r/api.mustache b/modules/openapi-generator/src/main/resources/r/api.mustache index 5fc18ec87e9e..2fd462e13786 100644 --- a/modules/openapi-generator/src/main/resources/r/api.mustache +++ b/modules/openapi-generator/src/main/resources/r/api.mustache @@ -78,7 +78,7 @@ #' #' #' @examples -#' \donttest{ +#' \dontrun{ {{#operation}} #' #################### {{operationId}} #################### #' diff --git a/samples/client/petstore/R/R/pet_api.R b/samples/client/petstore/R/R/pet_api.R index f2e583bbcc54..9fad358f4f9e 100644 --- a/samples/client/petstore/R/R/pet_api.R +++ b/samples/client/petstore/R/R/pet_api.R @@ -197,7 +197,7 @@ #' #' #' @examples -#' \donttest{ +#' \dontrun{ #' #################### AddPet #################### #' #' library(petstore) diff --git a/samples/client/petstore/R/R/store_api.R b/samples/client/petstore/R/R/store_api.R index 8f45603288d6..ba525799db51 100644 --- a/samples/client/petstore/R/R/store_api.R +++ b/samples/client/petstore/R/R/store_api.R @@ -111,7 +111,7 @@ #' #' #' @examples -#' \donttest{ +#' \dontrun{ #' #################### DeleteOrder #################### #' #' library(petstore) diff --git a/samples/client/petstore/R/R/user_api.R b/samples/client/petstore/R/R/user_api.R index 051b5ae89274..4c4afbeb72bf 100644 --- a/samples/client/petstore/R/R/user_api.R +++ b/samples/client/petstore/R/R/user_api.R @@ -185,7 +185,7 @@ #' #' #' @examples -#' \donttest{ +#' \dontrun{ #' #################### CreateUser #################### #' #' library(petstore)