Skip to content

Commit

Permalink
Update rhub.R
Browse files Browse the repository at this point in the history
  • Loading branch information
schloerke committed Aug 25, 2020
1 parent 2644026 commit 2c724e9
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions scripts/rhub.R
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
source("scripts/git_clean.R")
# source("scripts/git_clean.R")

if (!require("rhub", quietly = TRUE)) install.packages("rhub")

cat("building...\n")
dir.create("../builds", recursive = TRUE, showWarnings = FALSE)
build_file <- rhub:::build_package(".", "../builds")

platforms <- c("windows-x86_64-release", rhub:::default_cran_check_platforms(build_file))
platforms <- c("windows-x86_64-release", rhub:::default_cran_check_platforms("."))
check_output <- rhub::check_for_cran(
build_file,
".",
email = "barret@rstudio.com",
platforms = platforms,
env_vars = c("_R_CHECK_FORCE_SUGGESTS_" = "0"),
Expand Down

0 comments on commit 2c724e9

Please sign in to comment.