Running ‘testthat.R’ [17s/20s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(dplyr)
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > library(rlang)
  
  Attaching package: 'rlang'
  
  The following objects are masked from 'package:testthat':
  
      is_false, is_null, is_true
  
  > library(ruler)
  > 
  > test_check("ruler")
  ── 1. Failure: print.exposure passes tibble options (@test-exposure.R#364)  ────
  `print\(input_print_exposure, width_packs_info = 30, width_report = 30\)` does not match "Packs info.*2 more var.*Tidy data validation report.*3 more var".
  Actual value: "  Exposure\\n\\nPacks info:\\n# A tibble: 30 x 4\\n   name   type   fun    remo…\\n   <chr>  <chr>  <list> <lgl>\\n 1 data_… data_… <S3: … F    \\n 2 data_… data_… <S3: … F    \\n 3 data_… data_… <S3: … F    \\n 4 data_… data_… <S3: … F    \\n 5 data_… data_… <S3: … F    \\n 6 data_… data_… <S3: … F    \\n 7 data_… data_… <S3: … F    \\n 8 data_… data_… <S3: … F    \\n 9 data_… data_… <S3: … F    \\n10 data_… data_… <S3: … F    \\n# \.\.\. with 20 more rows\\n\\nTidy data validation report:\\n# A tibble: 60 x 5\\n   pack    rule   var      id\\n   <chr>   <chr>  <chr> <int>\\n 1 data_p… nrow_… \.all      0\\n 2 data_p… nrow_… \.all      0\\n 3 data_p… nrow_… \.all      0\\n 4 data_p… nrow_… \.all      0\\n 5 data_p… nrow_… \.all      0\\n 6 data_p… nrow_… \.all      0\\n 7 data_p… nrow_… \.all      0\\n 8 data_p… nrow_… \.all      0\\n 9 data_p… nrow_… \.all      0\\n10 data_p… nrow_… \.all      0\\n# \.\.\. with 50 more rows, and\\n#   1 more variable:\\n#   value <lgl>"
  
  ── 2. Failure: print.exposure passes tibble options (@test-exposure.R#369)  ────
  `print\(\.\.\.\)` does not match "Packs info.*2 more var.*\\.\\.\\..*Tidy data validation report.*3 more var.*\\.\\.\\.".
  Actual value: "  Exposure\\n\\nPacks info:\\n# A tibble: 30 x 4\\n   name   type   fun    remo…\\n   <chr>  <chr>  <list> <lgl>\\n 1 data_… data_… <S3: … F    \\n 2 data_… data_… <S3: … F    \\n 3 data_… data_… <S3: … F    \\n 4 data_… data_… <S3: … F    \\n 5 data_… data_… <S3: … F    \\n 6 data_… data_… <S3: … F    \\n 7 data_… data_… <S3: … F    \\n 8 data_… data_… <S3: … F    \\n 9 data_… data_… <S3: … F    \\n10 data_… data_… <S3: … F    \\n# \.\.\. with 20 more rows\\n\\nTidy data validation report:\\n# A tibble: 60 x 5\\n   pack    rule   var      id\\n   <chr>   <chr>  <chr> <int>\\n 1 data_p… nrow_… \.all      0\\n 2 data_p… nrow_… \.all      0\\n 3 data_p… nrow_… \.all      0\\n 4 data_p… nrow_… \.all      0\\n 5 data_p… nrow_… \.all      0\\n 6 data_p… nrow_… \.all      0\\n 7 data_p… nrow_… \.all      0\\n 8 data_p… nrow_… \.all      0\\n 9 data_p… nrow_… \.all      0\\n10 data_p… nrow_… \.all      0\\n# \.\.\. with 50 more rows, and\\n#   1 more variable:\\n#   value <lgl>"
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 303 SKIPPED: 0 FAILED: 2
  1. Failure: print.exposure passes tibble options (@test-exposure.R#364) 
  2. Failure: print.exposure passes tibble options (@test-exposure.R#369) 
  
  Error: testthat unit tests failed
  Execution halted