Skip to content
Snippets Groups Projects
Commit 8f8e7b4b authored by Eduardo E. R. Junior's avatar Eduardo E. R. Junior
Browse files

Interrompe script se devtools::check der erro

parent 62bf0d45
Branches baby
No related tags found
Loading
Pipeline #
......@@ -51,11 +51,16 @@ if (length(list.files("./vignettes"))) {
#--------------------------------------------
# Checar conteúdo e organização do pacote.
check(cleanup = FALSE,
checagem <- check(cleanup = FALSE,
manual = TRUE,
vignettes = FALSE,
check_dir = "../")
if (length(checagem$errors) > 0) {
cat(checagem$errors, sep = "\n")
stop("Falha ao checar o pacote")
}
#--------------------------------------------
# Construir pacote.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment