Skip to content

Commit

Permalink
use native encoding for statascii() unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
gvelasq committed Mar 4, 2018
1 parent fe0713f commit 93b4668
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/test-statascii.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ library(utils)
context("test-statascii.R")

tables <- read_rds("sample-tables.rds")
for(i in 1:length(tables)) {
tables[[i]] <- enc2native(tables[[i]])
}

test_that("oneway flavor works", {
# a. demonstrate 'oneway' flavor for one-way tables of frequencies
Expand Down

0 comments on commit 93b4668

Please sign in to comment.