From e66d54da00ce943fcbc72dea1e2babbce2f27f15 Mon Sep 17 00:00:00 2001 From: Gregory Demin Date: Wed, 27 Nov 2019 23:09:37 +0300 Subject: [PATCH] For release on CRAN --- expss.Rproj | 36 +- man/reexports.Rd | 2 +- tests/testthat/rds/cro_mean_out.txt | 14 +- tests/testthat/rds/print_etable.txt | 46 +- tests/testthat/rds/print_etable_2.txt | 92 ++-- .../rds/print_etable_custom_label.txt | 46 +- tests/testthat/rds/print_etable_digits2.txt | 46 +- tests/testthat/rds/print_etable_digits2_2.txt | 92 ++-- tests/testthat/rds/print_etable_raw.txt | 36 +- tests/testthat/rds/print_etable_rnotebook.txt | 410 +++++++++--------- .../rds/print_etable_single_column.txt | 40 +- tests/testthat/rds/print_etable_unrounded.txt | 46 +- .../testthat/rds/print_etable_unrounded2.txt | 92 ++-- tests/testthat/rds/print_etable_zero.txt | 2 +- .../rds/print_etable_zero_columns.txt | 2 +- tests/testthat/rds/print_etable_zero_rows.txt | 12 +- 16 files changed, 507 insertions(+), 507 deletions(-) diff --git a/expss.Rproj b/expss.Rproj index b3508bd4..98b22e0d 100644 --- a/expss.Rproj +++ b/expss.Rproj @@ -1,18 +1,18 @@ -Version: 1.0 - -RestoreWorkspace: Default -SaveWorkspace: Default -AlwaysSaveHistory: Default - -EnableCodeIndexing: Yes -UseSpacesForTab: Yes -NumSpacesForTab: 4 -Encoding: UTF-8 - -RnwWeave: knitr -LaTeX: XeLaTeX - -BuildType: Package -PackageUseDevtools: Yes -PackageInstallArgs: --no-multiarch --with-keep.source -PackageRoxygenize: rd,collate,namespace +Version: 1.0 + +RestoreWorkspace: Default +SaveWorkspace: Default +AlwaysSaveHistory: Default + +EnableCodeIndexing: Yes +UseSpacesForTab: Yes +NumSpacesForTab: 4 +Encoding: UTF-8 + +RnwWeave: knitr +LaTeX: XeLaTeX + +BuildType: Package +PackageUseDevtools: Yes +PackageInstallArgs: --no-multiarch --with-keep.source +PackageRoxygenize: rd,collate,namespace diff --git a/man/reexports.Rd b/man/reexports.Rd index 2d803898..6674c240 100644 --- a/man/reexports.Rd +++ b/man/reexports.Rd @@ -73,7 +73,7 @@ These objects are imported from other packages. Follow the links below to see their documentation. \describe{ - \item{data.table}{\code{\link[data.table]{\%between\%}}, \code{\link[data.table]{\%chin\%}}, \code{\link[data.table]{\%inrange\%}}, \code{\link[data.table]{\%like\%}}, \code{\link[data.table]{as.data.table}}, \code{\link[data.table]{between}}, \code{\link[data.table]{chgroup}}, \code{\link[data.table]{chmatch}}, \code{\link[data.table]{chorder}}, \code{\link[data.table]{CJ}}, \code{\link[data.table]{data.table}}, \code{\link[data.table]{fintersect}}, \code{\link[data.table]{first}}, \code{\link[data.table]{foverlaps}}, \code{\link[data.table]{frank}}, \code{\link[data.table]{frankv}}, \code{\link[data.table]{fread}}, \code{\link[data.table]{fsetdiff}}, \code{\link[data.table]{fsetequal}}, \code{\link[data.table]{fsort}}, \code{\link[data.table]{funion}}, \code{\link[data.table]{fwrite}}, \code{\link[data.table]{getDTthreads}}, \code{\link[data.table]{getNumericRounding}}, \code{\link[data.table]{haskey}}, \code{\link[data.table]{indices}}, \code{\link[data.table]{inrange}}, \code{\link[data.table]{is.data.table}}, \code{\link[data.table]{key}}, \code{\link[data.table]{last}}, \code{\link[data.table]{rbindlist}}, \code{\link[data.table]{rleid}}, \code{\link[data.table]{rleidv}}, \code{\link[data.table]{rowid}}, \code{\link[data.table]{rowidv}}, \code{\link[data.table]{set}}, \code{\link[data.table]{set2key}}, \code{\link[data.table]{set2keyv}}, \code{\link[data.table]{setattr}}, \code{\link[data.table]{setcolorder}}, \code{\link[data.table]{setcolorder}}, \code{\link[data.table]{setDF}}, \code{\link[data.table]{setDT}}, \code{\link[data.table]{setDTthreads}}, \code{\link[data.table]{setindex}}, \code{\link[data.table]{setindexv}}, \code{\link[data.table]{setkey}}, \code{\link[data.table]{setkey}}, \code{\link[data.table]{setkeyv}}, \code{\link[data.table]{setkeyv}}, \code{\link[data.table]{setnames}}, \code{\link[data.table]{setNumericRounding}}, \code{\link[data.table]{setorder}}, \code{\link[data.table]{setorder}}, \code{\link[data.table]{setorderv}}, \code{\link[data.table]{shift}}, \code{\link[data.table]{SJ}}, \code{\link[data.table]{transpose}}, \code{\link[data.table]{tstrsplit}}, \code{\link[data.table]{uniqueN}}} + \item{data.table}{\code{\link[data.table]{\%between\%}}, \code{\link[data.table]{\%chin\%}}, \code{\link[data.table]{\%inrange\%}}, \code{\link[data.table]{\%like\%}}, \code{\link[data.table]{CJ}}, \code{\link[data.table]{SJ}}, \code{\link[data.table]{as.data.table}}, \code{\link[data.table]{between}}, \code{\link[data.table]{chgroup}}, \code{\link[data.table]{chmatch}}, \code{\link[data.table]{chorder}}, \code{\link[data.table]{data.table}}, \code{\link[data.table]{fintersect}}, \code{\link[data.table]{first}}, \code{\link[data.table]{foverlaps}}, \code{\link[data.table]{frank}}, \code{\link[data.table]{frankv}}, \code{\link[data.table]{fread}}, \code{\link[data.table]{fsetdiff}}, \code{\link[data.table]{fsetequal}}, \code{\link[data.table]{fsort}}, \code{\link[data.table]{funion}}, \code{\link[data.table]{fwrite}}, \code{\link[data.table]{getDTthreads}}, \code{\link[data.table]{getNumericRounding}}, \code{\link[data.table]{haskey}}, \code{\link[data.table]{indices}}, \code{\link[data.table]{inrange}}, \code{\link[data.table]{is.data.table}}, \code{\link[data.table]{key}}, \code{\link[data.table]{last}}, \code{\link[data.table]{rbindlist}}, \code{\link[data.table]{rleid}}, \code{\link[data.table]{rleidv}}, \code{\link[data.table]{rowid}}, \code{\link[data.table]{rowidv}}, \code{\link[data.table]{set}}, \code{\link[data.table]{set2key}}, \code{\link[data.table]{set2keyv}}, \code{\link[data.table]{setDF}}, \code{\link[data.table]{setDT}}, \code{\link[data.table]{setDTthreads}}, \code{\link[data.table]{setNumericRounding}}, \code{\link[data.table]{setattr}}, \code{\link[data.table]{setcolorder}}, \code{\link[data.table]{setcolorder}}, \code{\link[data.table]{setindex}}, \code{\link[data.table]{setindexv}}, \code{\link[data.table]{setkey}}, \code{\link[data.table]{setkey}}, \code{\link[data.table]{setkeyv}}, \code{\link[data.table]{setkeyv}}, \code{\link[data.table]{setnames}}, \code{\link[data.table]{setorder}}, \code{\link[data.table]{setorder}}, \code{\link[data.table]{setorderv}}, \code{\link[data.table]{shift}}, \code{\link[data.table]{transpose}}, \code{\link[data.table]{tstrsplit}}, \code{\link[data.table]{uniqueN}}} \item{htmlTable}{\code{\link[htmlTable]{htmlTable}}, \code{\link[htmlTable]{htmlTableWidget}}, \code{\link[htmlTable]{htmlTableWidgetOutput}}, \code{\link[htmlTable]{interactiveTable}}} diff --git a/tests/testthat/rds/cro_mean_out.txt b/tests/testthat/rds/cro_mean_out.txt index 5719f57d..5f72d779 100644 --- a/tests/testthat/rds/cro_mean_out.txt +++ b/tests/testthat/rds/cro_mean_out.txt @@ -1,7 +1,7 @@ - - | | setosa | versicolor | virginica | #Total | - | ------------ | ------ | ---------- | --------- | ------ | - | Sepal.Length | 5.0060 | 5.9360 | 6.5880 | 5.8433 | - | Sepal.Width | 3.4280 | 2.7700 | 2.9740 | 3.0573 | - | Petal.Length | 1.4620 | 4.2600 | 5.5520 | 3.7580 | - | Petal.Width | 0.2460 | 1.3260 | 2.0260 | 1.1993 | + + | | setosa | versicolor | virginica | #Total | + | ------------ | ------ | ---------- | --------- | ------ | + | Sepal.Length | 5.0060 | 5.9360 | 6.5880 | 5.8433 | + | Sepal.Width | 3.4280 | 2.7700 | 2.9740 | 3.0573 | + | Petal.Length | 1.4620 | 4.2600 | 5.5520 | 3.7580 | + | Petal.Width | 0.2460 | 1.3260 | 2.0260 | 1.1993 | diff --git a/tests/testthat/rds/print_etable.txt b/tests/testthat/rds/print_etable.txt index 8927e777..24b9715a 100644 --- a/tests/testthat/rds/print_etable.txt +++ b/tests/testthat/rds/print_etable.txt @@ -1,23 +1,23 @@ - - | | | #Total | Transmission | - | | | | Automatic | - | | | | Engine | - | | | | V-engine | - | ------------------- | ------------ | ------ | ------------ | - | Number of cylinders | Mean | 6.2 | 8.0 | - | | Std. dev | 1.8 | 0.0 | - | | Valid N | 32.0 | 12.0 | - | | 4 | 34.4 | | - | | 6 | 21.9 | | - | | 8 | 43.8 | 100.0 | - | | #Total cases | 32.0 | 12.0 | - | Carbureuter | Mean | 2.8 | 3.1 | - | | Std. dev | 1.6 | 0.9 | - | | Valid N | 32.0 | 12.0 | - | | 1 | 21.9 | | - | | 2 | 31.2 | 33.3 | - | | 3 | 9.4 | 25.0 | - | | 4 | 31.2 | 41.7 | - | | 6 | 3.1 | | - | | 8 | 3.1 | | - | | #Total cases | 32.0 | 12.0 | + + | | | #Total | Transmission | + | | | | Automatic | + | | | | Engine | + | | | | V-engine | + | ------------------- | ------------ | ------ | ------------ | + | Number of cylinders | Mean | 6.2 | 8.0 | + | | Std. dev | 1.8 | 0.0 | + | | Valid N | 32.0 | 12.0 | + | | 4 | 34.4 | | + | | 6 | 21.9 | | + | | 8 | 43.8 | 100.0 | + | | #Total cases | 32.0 | 12.0 | + | Carbureuter | Mean | 2.8 | 3.1 | + | | Std. dev | 1.6 | 0.9 | + | | Valid N | 32.0 | 12.0 | + | | 1 | 21.9 | | + | | 2 | 31.2 | 33.3 | + | | 3 | 9.4 | 25.0 | + | | 4 | 31.2 | 41.7 | + | | 6 | 3.1 | | + | | 8 | 3.1 | | + | | #Total cases | 32.0 | 12.0 | diff --git a/tests/testthat/rds/print_etable_2.txt b/tests/testthat/rds/print_etable_2.txt index fcc87469..5ac69d2e 100644 --- a/tests/testthat/rds/print_etable_2.txt +++ b/tests/testthat/rds/print_etable_2.txt @@ -1,46 +1,46 @@ - - | | | #Total | Transmission | - | | | | Automatic | - | | | | Engine | - | | | | V-engine | - | ------------------- | ------------ | ------ | ------------ | - | Number of cylinders | Mean | 6.2 | 8.0 | - | Number of cylinders | Std. dev | 1.8 | 0.0 | - | Number of cylinders | Valid N | 32.0 | 12.0 | - | Number of cylinders | 4 | 34.4 | | - | Number of cylinders | 6 | 21.9 | | - | Number of cylinders | 8 | 43.8 | 100.0 | - | Number of cylinders | #Total cases | 32.0 | 12.0 | - | Carbureuter | Mean | 2.8 | 3.1 | - | Carbureuter | Std. dev | 1.6 | 0.9 | - | Carbureuter | Valid N | 32.0 | 12.0 | - | Carbureuter | 1 | 21.9 | | - | Carbureuter | 2 | 31.2 | 33.3 | - | Carbureuter | 3 | 9.4 | 25.0 | - | Carbureuter | 4 | 31.2 | 41.7 | - | Carbureuter | 6 | 3.1 | | - | Carbureuter | 8 | 3.1 | | - | Carbureuter | #Total cases | 32.0 | 12.0 | - - Transmission | - Automatic | - Engine | - Straight engine | - --------------- | - 5.1 | - 1.1 | - 7.0 | - 42.9 | - 57.1 | - | - 7.0 | - 2.1 | - 1.3 | - 7.0 | - 42.9 | - 28.6 | - | - 28.6 | - | - | - 7.0 | + + | | | #Total | Transmission | + | | | | Automatic | + | | | | Engine | + | | | | V-engine | + | ------------------- | ------------ | ------ | ------------ | + | Number of cylinders | Mean | 6.2 | 8.0 | + | Number of cylinders | Std. dev | 1.8 | 0.0 | + | Number of cylinders | Valid N | 32.0 | 12.0 | + | Number of cylinders | 4 | 34.4 | | + | Number of cylinders | 6 | 21.9 | | + | Number of cylinders | 8 | 43.8 | 100.0 | + | Number of cylinders | #Total cases | 32.0 | 12.0 | + | Carbureuter | Mean | 2.8 | 3.1 | + | Carbureuter | Std. dev | 1.6 | 0.9 | + | Carbureuter | Valid N | 32.0 | 12.0 | + | Carbureuter | 1 | 21.9 | | + | Carbureuter | 2 | 31.2 | 33.3 | + | Carbureuter | 3 | 9.4 | 25.0 | + | Carbureuter | 4 | 31.2 | 41.7 | + | Carbureuter | 6 | 3.1 | | + | Carbureuter | 8 | 3.1 | | + | Carbureuter | #Total cases | 32.0 | 12.0 | + + Transmission | + Automatic | + Engine | + Straight engine | + --------------- | + 5.1 | + 1.1 | + 7.0 | + 42.9 | + 57.1 | + | + 7.0 | + 2.1 | + 1.3 | + 7.0 | + 42.9 | + 28.6 | + | + 28.6 | + | + | + 7.0 | diff --git a/tests/testthat/rds/print_etable_custom_label.txt b/tests/testthat/rds/print_etable_custom_label.txt index fd8b9378..8a27be32 100644 --- a/tests/testthat/rds/print_etable_custom_label.txt +++ b/tests/testthat/rds/print_etable_custom_label.txt @@ -1,23 +1,23 @@ - - | my custom label | | #Total | Transmission | - | | | | Automatic | - | | | | Engine | - | | | | V-engine | - | ------------------- | ------------ | ------ | ------------ | - | Number of cylinders | Mean | 6.2 | 8.0 | - | | Std. dev | 1.8 | 0.0 | - | | Valid N | 32.0 | 12.0 | - | | 4 | 34.4 | | - | | 6 | 21.9 | | - | | 8 | 43.8 | 100.0 | - | | #Total cases | 32.0 | 12.0 | - | Carbureuter | Mean | 2.8 | 3.1 | - | | Std. dev | 1.6 | 0.9 | - | | Valid N | 32.0 | 12.0 | - | | 1 | 21.9 | | - | | 2 | 31.2 | 33.3 | - | | 3 | 9.4 | 25.0 | - | | 4 | 31.2 | 41.7 | - | | 6 | 3.1 | | - | | 8 | 3.1 | | - | | #Total cases | 32.0 | 12.0 | + + | my custom label | | #Total | Transmission | + | | | | Automatic | + | | | | Engine | + | | | | V-engine | + | ------------------- | ------------ | ------ | ------------ | + | Number of cylinders | Mean | 6.2 | 8.0 | + | | Std. dev | 1.8 | 0.0 | + | | Valid N | 32.0 | 12.0 | + | | 4 | 34.4 | | + | | 6 | 21.9 | | + | | 8 | 43.8 | 100.0 | + | | #Total cases | 32.0 | 12.0 | + | Carbureuter | Mean | 2.8 | 3.1 | + | | Std. dev | 1.6 | 0.9 | + | | Valid N | 32.0 | 12.0 | + | | 1 | 21.9 | | + | | 2 | 31.2 | 33.3 | + | | 3 | 9.4 | 25.0 | + | | 4 | 31.2 | 41.7 | + | | 6 | 3.1 | | + | | 8 | 3.1 | | + | | #Total cases | 32.0 | 12.0 | diff --git a/tests/testthat/rds/print_etable_digits2.txt b/tests/testthat/rds/print_etable_digits2.txt index fcc05766..9b2fe972 100644 --- a/tests/testthat/rds/print_etable_digits2.txt +++ b/tests/testthat/rds/print_etable_digits2.txt @@ -1,23 +1,23 @@ - - | | | #Total | Transmission | - | | | | Automatic | - | | | | Engine | - | | | | V-engine | - | ------------------- | ------------ | ------ | ------------ | - | Number of cylinders | Mean | 6.19 | 8.00 | - | | Std. dev | 1.79 | 0.00 | - | | Valid N | 32.00 | 12.00 | - | | 4 | 34.38 | | - | | 6 | 21.88 | | - | | 8 | 43.75 | 100.00 | - | | #Total cases | 32.00 | 12.00 | - | Carbureuter | Mean | 2.81 | 3.08 | - | | Std. dev | 1.62 | 0.90 | - | | Valid N | 32.00 | 12.00 | - | | 1 | 21.88 | | - | | 2 | 31.25 | 33.33 | - | | 3 | 9.38 | 25.00 | - | | 4 | 31.25 | 41.67 | - | | 6 | 3.12 | | - | | 8 | 3.12 | | - | | #Total cases | 32.00 | 12.00 | + + | | | #Total | Transmission | + | | | | Automatic | + | | | | Engine | + | | | | V-engine | + | ------------------- | ------------ | ------ | ------------ | + | Number of cylinders | Mean | 6.19 | 8.00 | + | | Std. dev | 1.79 | 0.00 | + | | Valid N | 32.00 | 12.00 | + | | 4 | 34.38 | | + | | 6 | 21.88 | | + | | 8 | 43.75 | 100.00 | + | | #Total cases | 32.00 | 12.00 | + | Carbureuter | Mean | 2.81 | 3.08 | + | | Std. dev | 1.62 | 0.90 | + | | Valid N | 32.00 | 12.00 | + | | 1 | 21.88 | | + | | 2 | 31.25 | 33.33 | + | | 3 | 9.38 | 25.00 | + | | 4 | 31.25 | 41.67 | + | | 6 | 3.12 | | + | | 8 | 3.12 | | + | | #Total cases | 32.00 | 12.00 | diff --git a/tests/testthat/rds/print_etable_digits2_2.txt b/tests/testthat/rds/print_etable_digits2_2.txt index c1e6df3a..b23f0e36 100644 --- a/tests/testthat/rds/print_etable_digits2_2.txt +++ b/tests/testthat/rds/print_etable_digits2_2.txt @@ -1,46 +1,46 @@ - - | | | #Total | Transmission | - | | | | Automatic | - | | | | Engine | - | | | | V-engine | - | ------------------- | ------------ | ------ | ------------ | - | Number of cylinders | Mean | 6.19 | 8.00 | - | Number of cylinders | Std. dev | 1.79 | 0.00 | - | Number of cylinders | Valid N | 32.00 | 12.00 | - | Number of cylinders | 4 | 34.38 | | - | Number of cylinders | 6 | 21.88 | | - | Number of cylinders | 8 | 43.75 | 100.00 | - | Number of cylinders | #Total cases | 32.00 | 12.00 | - | Carbureuter | Mean | 2.81 | 3.08 | - | Carbureuter | Std. dev | 1.62 | 0.90 | - | Carbureuter | Valid N | 32.00 | 12.00 | - | Carbureuter | 1 | 21.88 | | - | Carbureuter | 2 | 31.25 | 33.33 | - | Carbureuter | 3 | 9.38 | 25.00 | - | Carbureuter | 4 | 31.25 | 41.67 | - | Carbureuter | 6 | 3.12 | | - | Carbureuter | 8 | 3.12 | | - | Carbureuter | #Total cases | 32.00 | 12.00 | - - Transmission | - Automatic | - Engine | - Straight engine | - --------------- | - 5.14 | - 1.07 | - 7.00 | - 42.86 | - 57.14 | - | - 7.00 | - 2.14 | - 1.35 | - 7.00 | - 42.86 | - 28.57 | - | - 28.57 | - | - | - 7.00 | + + | | | #Total | Transmission | + | | | | Automatic | + | | | | Engine | + | | | | V-engine | + | ------------------- | ------------ | ------ | ------------ | + | Number of cylinders | Mean | 6.19 | 8.00 | + | Number of cylinders | Std. dev | 1.79 | 0.00 | + | Number of cylinders | Valid N | 32.00 | 12.00 | + | Number of cylinders | 4 | 34.38 | | + | Number of cylinders | 6 | 21.88 | | + | Number of cylinders | 8 | 43.75 | 100.00 | + | Number of cylinders | #Total cases | 32.00 | 12.00 | + | Carbureuter | Mean | 2.81 | 3.08 | + | Carbureuter | Std. dev | 1.62 | 0.90 | + | Carbureuter | Valid N | 32.00 | 12.00 | + | Carbureuter | 1 | 21.88 | | + | Carbureuter | 2 | 31.25 | 33.33 | + | Carbureuter | 3 | 9.38 | 25.00 | + | Carbureuter | 4 | 31.25 | 41.67 | + | Carbureuter | 6 | 3.12 | | + | Carbureuter | 8 | 3.12 | | + | Carbureuter | #Total cases | 32.00 | 12.00 | + + Transmission | + Automatic | + Engine | + Straight engine | + --------------- | + 5.14 | + 1.07 | + 7.00 | + 42.86 | + 57.14 | + | + 7.00 | + 2.14 | + 1.35 | + 7.00 | + 42.86 | + 28.57 | + | + 28.57 | + | + | + 7.00 | diff --git a/tests/testthat/rds/print_etable_raw.txt b/tests/testthat/rds/print_etable_raw.txt index 8e386351..fd73e9ea 100644 --- a/tests/testthat/rds/print_etable_raw.txt +++ b/tests/testthat/rds/print_etable_raw.txt @@ -1,18 +1,18 @@ - my custom label #Total - Number of cylinders|Mean 6.187500 - Number of cylinders|Std. dev 1.785922 - Number of cylinders|Valid N 32.000000 - Number of cylinders|4 34.375000 - Number of cylinders|6 21.875000 - Number of cylinders|8 43.750000 - Number of cylinders|#Total cases 32.000000 - Carbureuter|Mean 2.812500 - Carbureuter|Std. dev 1.615200 - Carbureuter|Valid N 32.000000 - Carbureuter|1 21.875000 - Carbureuter|2 31.250000 - Carbureuter|3 9.375000 - Carbureuter|4 31.250000 - Carbureuter|6 3.125000 - Carbureuter|8 3.125000 - Carbureuter|#Total cases 32.000000 + my custom label #Total + Number of cylinders|Mean 6.187500 + Number of cylinders|Std. dev 1.785922 + Number of cylinders|Valid N 32.000000 + Number of cylinders|4 34.375000 + Number of cylinders|6 21.875000 + Number of cylinders|8 43.750000 + Number of cylinders|#Total cases 32.000000 + Carbureuter|Mean 2.812500 + Carbureuter|Std. dev 1.615200 + Carbureuter|Valid N 32.000000 + Carbureuter|1 21.875000 + Carbureuter|2 31.250000 + Carbureuter|3 9.375000 + Carbureuter|4 31.250000 + Carbureuter|6 3.125000 + Carbureuter|8 3.125000 + Carbureuter|#Total cases 32.000000 diff --git a/tests/testthat/rds/print_etable_rnotebook.txt b/tests/testthat/rds/print_etable_rnotebook.txt index 5100d5ff..526c4c20 100644 --- a/tests/testthat/rds/print_etable_rnotebook.txt +++ b/tests/testthat/rds/print_etable_rnotebook.txt @@ -1,205 +1,205 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 #Total   Transmission 
  Automatic   Manual 
  Engine   Engine 
my custom label  V-engine  Straight engine   V-engine  Straight engine 
 Number of cylinders 
   Mean 6.2 8.05.1 6.34.0
   Std. dev 1.8 0.01.1 1.50.0
   Valid N 32.0 12.07.0 6.07.0
   4 34.4 42.9 16.7100.0
   6 21.9 57.1 50.0
   8 43.8 100.0 33.3
   #Total cases 32 127 67
 Carbureuter 
   Mean 2.8 3.12.1 4.71.4
   Std. dev 1.6 0.91.3 2.10.5
   Valid N 32.0 12.07.0 6.07.0
   1 21.9 42.9 57.1
   2 31.2 33.328.6 16.742.9
   3 9.4 25.0 
   4 31.2 41.728.6 50.0
   6 3.1  16.7
   8 3.1  16.7
   #Total cases 32 127 67
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 #Total   Transmission 
  Automatic   Manual 
  Engine   Engine 
my custom label  V-engine  Straight engine   V-engine  Straight engine 
 Number of cylinders 
   Mean 6.2 8.05.1 6.34.0
   Std. dev 1.8 0.01.1 1.50.0
   Valid N 32.0 12.07.0 6.07.0
   4 34.4 42.9 16.7100.0
   6 21.9 57.1 50.0
   8 43.8 100.0 33.3
   #Total cases 32 127 67
 Carbureuter 
   Mean 2.8 3.12.1 4.71.4
   Std. dev 1.6 0.91.3 2.10.5
   Valid N 32.0 12.07.0 6.07.0
   1 21.9 42.9 57.1
   2 31.2 33.328.6 16.742.9
   3 9.4 25.0 
   4 31.2 41.728.6 50.0
   6 3.1  16.7
   8 3.1  16.7
   #Total cases 32 127 67
diff --git a/tests/testthat/rds/print_etable_single_column.txt b/tests/testthat/rds/print_etable_single_column.txt index 39c79eb4..86f192fe 100644 --- a/tests/testthat/rds/print_etable_single_column.txt +++ b/tests/testthat/rds/print_etable_single_column.txt @@ -1,20 +1,20 @@ - - | | | - | ------------------- | ------------ | - | Number of cylinders | Mean | - | | Std. dev | - | | Valid N | - | | 4 | - | | 6 | - | | 8 | - | | #Total cases | - | Carbureuter | Mean | - | | Std. dev | - | | Valid N | - | | 1 | - | | 2 | - | | 3 | - | | 4 | - | | 6 | - | | 8 | - | | #Total cases | + + | | | + | ------------------- | ------------ | + | Number of cylinders | Mean | + | | Std. dev | + | | Valid N | + | | 4 | + | | 6 | + | | 8 | + | | #Total cases | + | Carbureuter | Mean | + | | Std. dev | + | | Valid N | + | | 1 | + | | 2 | + | | 3 | + | | 4 | + | | 6 | + | | 8 | + | | #Total cases | diff --git a/tests/testthat/rds/print_etable_unrounded.txt b/tests/testthat/rds/print_etable_unrounded.txt index 6dc335ff..40f5df11 100644 --- a/tests/testthat/rds/print_etable_unrounded.txt +++ b/tests/testthat/rds/print_etable_unrounded.txt @@ -1,23 +1,23 @@ - - | | | #Total | Transmission | - | | | | Automatic | - | | | | Engine | - | | | | V-engine | - | ------------------- | ------------ | ---------------- | ---------------- | - | Number of cylinders | Mean | 6.1875 | 8 | - | | Std. dev | 1.78592164694654 | 0 | - | | Valid N | 32 | 12 | - | | 4 | 34.375 | | - | | 6 | 21.875 | | - | | 8 | 43.75 | 100 | - | | #Total cases | 32 | 12 | - | Carbureuter | Mean | 2.8125 | 3.08333333333333 | - | | Std. dev | 1.61519997763185 | 0.90033663737852 | - | | Valid N | 32 | 12 | - | | 1 | 21.875 | | - | | 2 | 31.25 | 33.3333333333333 | - | | 3 | 9.375 | 25 | - | | 4 | 31.25 | 41.6666666666667 | - | | 6 | 3.125 | | - | | 8 | 3.125 | | - | | #Total cases | 32 | 12 | + + | | | #Total | Transmission | + | | | | Automatic | + | | | | Engine | + | | | | V-engine | + | ------------------- | ------------ | ---------------- | ---------------- | + | Number of cylinders | Mean | 6.1875 | 8 | + | | Std. dev | 1.78592164694654 | 0 | + | | Valid N | 32 | 12 | + | | 4 | 34.375 | | + | | 6 | 21.875 | | + | | 8 | 43.75 | 100 | + | | #Total cases | 32 | 12 | + | Carbureuter | Mean | 2.8125 | 3.08333333333333 | + | | Std. dev | 1.61519997763185 | 0.90033663737852 | + | | Valid N | 32 | 12 | + | | 1 | 21.875 | | + | | 2 | 31.25 | 33.3333333333333 | + | | 3 | 9.375 | 25 | + | | 4 | 31.25 | 41.6666666666667 | + | | 6 | 3.125 | | + | | 8 | 3.125 | | + | | #Total cases | 32 | 12 | diff --git a/tests/testthat/rds/print_etable_unrounded2.txt b/tests/testthat/rds/print_etable_unrounded2.txt index 8484980b..f8c0d4ef 100644 --- a/tests/testthat/rds/print_etable_unrounded2.txt +++ b/tests/testthat/rds/print_etable_unrounded2.txt @@ -1,46 +1,46 @@ - - | | | #Total | Transmission | - | | | | Automatic | - | | | | Engine | - | | | | V-engine | - | ------------------- | ------------ | ---------------- | ---------------- | - | Number of cylinders | Mean | 6.1875 | 8 | - | Number of cylinders | Std. dev | 1.78592164694654 | 0 | - | Number of cylinders | Valid N | 32 | 12 | - | Number of cylinders | 4 | 34.375 | | - | Number of cylinders | 6 | 21.875 | | - | Number of cylinders | 8 | 43.75 | 100 | - | Number of cylinders | #Total cases | 32 | 12 | - | Carbureuter | Mean | 2.8125 | 3.08333333333333 | - | Carbureuter | Std. dev | 1.61519997763185 | 0.90033663737852 | - | Carbureuter | Valid N | 32 | 12 | - | Carbureuter | 1 | 21.875 | | - | Carbureuter | 2 | 31.25 | 33.3333333333333 | - | Carbureuter | 3 | 9.375 | 25 | - | Carbureuter | 4 | 31.25 | 41.6666666666667 | - | Carbureuter | 6 | 3.125 | | - | Carbureuter | 8 | 3.125 | | - | Carbureuter | #Total cases | 32 | 12 | - - Transmission | - Automatic | - Engine | - Straight engine | - ---------------- | - 5.14285714285714 | - 1.0690449676497 | - 7 | - 42.8571428571429 | - 57.1428571428571 | - | - 7 | - 2.14285714285714 | - 1.3451854182691 | - 7 | - 42.8571428571429 | - 28.5714285714286 | - | - 28.5714285714286 | - | - | - 7 | + + | | | #Total | Transmission | + | | | | Automatic | + | | | | Engine | + | | | | V-engine | + | ------------------- | ------------ | ---------------- | ---------------- | + | Number of cylinders | Mean | 6.1875 | 8 | + | Number of cylinders | Std. dev | 1.78592164694654 | 0 | + | Number of cylinders | Valid N | 32 | 12 | + | Number of cylinders | 4 | 34.375 | | + | Number of cylinders | 6 | 21.875 | | + | Number of cylinders | 8 | 43.75 | 100 | + | Number of cylinders | #Total cases | 32 | 12 | + | Carbureuter | Mean | 2.8125 | 3.08333333333333 | + | Carbureuter | Std. dev | 1.61519997763185 | 0.90033663737852 | + | Carbureuter | Valid N | 32 | 12 | + | Carbureuter | 1 | 21.875 | | + | Carbureuter | 2 | 31.25 | 33.3333333333333 | + | Carbureuter | 3 | 9.375 | 25 | + | Carbureuter | 4 | 31.25 | 41.6666666666667 | + | Carbureuter | 6 | 3.125 | | + | Carbureuter | 8 | 3.125 | | + | Carbureuter | #Total cases | 32 | 12 | + + Transmission | + Automatic | + Engine | + Straight engine | + ---------------- | + 5.14285714285714 | + 1.0690449676497 | + 7 | + 42.8571428571429 | + 57.1428571428571 | + | + 7 | + 2.14285714285714 | + 1.3451854182691 | + 7 | + 42.8571428571429 | + 28.5714285714286 | + | + 28.5714285714286 | + | + | + 7 | diff --git a/tests/testthat/rds/print_etable_zero.txt b/tests/testthat/rds/print_etable_zero.txt index 0380fad9..53ca7b7f 100644 --- a/tests/testthat/rds/print_etable_zero.txt +++ b/tests/testthat/rds/print_etable_zero.txt @@ -1 +1 @@ -data frame with 0 columns and 0 rows +data frame with 0 columns and 0 rows diff --git a/tests/testthat/rds/print_etable_zero_columns.txt b/tests/testthat/rds/print_etable_zero_columns.txt index c630191b..400949e4 100644 --- a/tests/testthat/rds/print_etable_zero_columns.txt +++ b/tests/testthat/rds/print_etable_zero_columns.txt @@ -1 +1 @@ -data frame with 0 columns and 17 rows +data frame with 0 columns and 17 rows diff --git a/tests/testthat/rds/print_etable_zero_rows.txt b/tests/testthat/rds/print_etable_zero_rows.txt index c99eb8ef..1f311d95 100644 --- a/tests/testthat/rds/print_etable_zero_rows.txt +++ b/tests/testthat/rds/print_etable_zero_rows.txt @@ -1,6 +1,6 @@ - - | | #Total | Transmission | | | | - | | | Automatic | | Manual | | - | | | Engine | | Engine | | - | | | V-engine | Straight engine | V-engine | Straight engine | - | - | ------ | ------------ | --------------- | -------- | --------------- | + + | | #Total | Transmission | | | | + | | | Automatic | | Manual | | + | | | Engine | | Engine | | + | | | V-engine | Straight engine | V-engine | Straight engine | + | - | ------ | ------------ | --------------- | -------- | --------------- |