Skip to content

Commit

Permalink
Fix failing tests; add more platforms to Appveyor (tidymodels#643)
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil authored and alexpghayes committed Mar 9, 2019
1 parent 7006802 commit 5edda61
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 1 deletion.
6 changes: 6 additions & 0 deletions NAMESPACE
Expand Up @@ -201,6 +201,10 @@ export(glance)
export(tidy)
export(tidy_irlba)
import(dplyr)
importFrom(dplyr,filter)
importFrom(dplyr,mutate)
importFrom(dplyr,mutate_at)
importFrom(dplyr,select)
importFrom(generics,augment)
importFrom(generics,glance)
importFrom(generics,tidy)
Expand Down Expand Up @@ -234,4 +238,6 @@ importFrom(stats,terms)
importFrom(stats,var)
importFrom(tibble,as_tibble)
importFrom(tibble,tibble)
importFrom(tidyr,gather)
importFrom(tidyr,spread)
importFrom(utils,head)
2 changes: 2 additions & 0 deletions R/broom-package.R
Expand Up @@ -15,6 +15,8 @@
#'
#' @importFrom purrr map_df set_names possibly
#' @importFrom tibble tibble as_tibble
#' @importFrom tidyr gather spread
#' @importFrom dplyr select filter mutate mutate_at
#'
#' @importFrom utils head
#' @importFrom glue glue
Expand Down
18 changes: 18 additions & 0 deletions appveyor.yml
Expand Up @@ -13,6 +13,24 @@ install:
environment:
global:
USE_RTOOLS: true
#NOT_CRAN: true
_R_CHECK_FORCE_SUGGESTS: true
_R_CHECK_CRAN_INCOMING_: true
#R_CHECK_ARGS: "--run-dontrun"
matrix:
- R_VERSION: 3.5.0
R_ARCH: x64
GCC_PATH: mingw_64

- R_VERSION: devel
R_ARCH: x64
GCC_PATH: mingw_64

- R_VERSION: patched
GCC_PATH: mingw_32

matrix:
fast_finish: true

cache:
- C:\RLibrary
Expand Down
5 changes: 5 additions & 0 deletions codecov.yml
@@ -1 +1,6 @@
comment: false

coverage:
precision: 3
round: nearest
range: "50...100"
2 changes: 1 addition & 1 deletion tests/testthat/test-stats-lm.R
Expand Up @@ -110,7 +110,7 @@ test_that("augment and glance do not support multiple responses", {

expect_error(
augment(mfit),
regexp = "Augment does not support linear models with multiple responses."
regexp = "No augment method for objects of class mlm"
)

expect_error(
Expand Down

0 comments on commit 5edda61

Please sign in to comment.