Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(repr)
  > 
  > test_check('repr')
  ── 1. Failure: LaTeX escaping in matrices works (@test_escaping.r#53)  ─────────
  [33m<[39m [33mobject[39m                               [34m>[39m [34mexpected[39m                           
  [36m@@ 1,3 @@                            [39m  [36m@@ 1,3 @@                            [39m
  [33m<[39m [90m[39mA matrix: 2 × 2 of type chr[33m{[},2{]}[39m[90m[39m  [34m>[39m [90m[39mA matrix: 2 × 2 of type chr[90m[39m        
    [90m[39m\begin{tabular}{ll}[90m[39m                    [90m[39m\begin{tabular}{ll}[90m[39m                
    [90m[39m         {[} & \{\\[90m[39m                    [90m[39m         {[} & \{\\[90m[39m                
  
  ── 2. Failure: LaTeX escaping in matrices works (@test_escaping.r#60)  ─────────
  [33m<[39m [33mobject[39m                               [34m>[39m [34mexpected[39m                           
  [36m@@ 1,3 @@                            [39m  [36m@@ 1,3 @@                            [39m
  [33m<[39m [90m[39mA matrix: 2 × 2 of type chr[33m{[},2{]}[39m[90m[39m  [34m>[39m [90m[39mA matrix: 2 × 2 of type chr[90m[39m        
    [90m[39m\begin{tabular}{r|ll}[90m[39m                  [90m[39m\begin{tabular}{r|ll}[90m[39m              
    [90m[39m  & \% & \textbar{}\\[90m[39m                  [90m[39m  & \% & \textbar{}\\[90m[39m              
  
  ── 3. Failure: HTML escaping in matrices works (@test_escaping.r#72)  ──────────
  [33m<[39m [33mobject[39m                                            
  [34m>[39m [34mexpected[39m                                          
  [36m@@ 1,4 / 1,4 @@                                     [39m
    [90m[39m<table>[90m[39m                                           
  [33m<[39m [90m[39m<caption>A matrix: 2 × 2 of type chr[33m[,2]</caption>[39m[90m[39m
  [34m>[39m [90m[39m<caption>A matrix: 2 × 2 of type chr[34m</caption>[39m[90m[39m    
    [90m[39m<tbody>[90m[39m                                           
    [90m[39m        <tr><td>[</td><td>{</td></tr>[90m[39m             
  
  ── 4. Failure: HTML escaping in matrices works (@test_escaping.r#81)  ──────────
  [33m<[39m [33mobject[39m                                                            
  [34m>[39m [34mexpected[39m                                                          
  [36m@@ 1,4 / 1,4 @@                                                     [39m
    [90m[39m<table>[90m[39m                                                           
  [33m<[39m [90m[39m<caption>A matrix: 2 × 2 of type chr[33m[,2]</caption>[39m[90m[39m                
  [34m>[39m [90m[39m<caption>A matrix: 2 × 2 of type chr[34m</caption>[39m[90m[39m                    
    [90m[39m<thead>[90m[39m                                                           
    [90m[39m        <tr><th></th><th scope=col>%</th><th scope=col>|</th></tr>[90m[39m
  
  ── 5. Failure: Factors are maintained in small arrays for HTML (@test_escaping.r
  [33m<[39m [33mobject[39m                                                   
  [34m>[39m [34mexpected[39m                                                 
  [36m@@ 1,4 / 1,4 @@                                            [39m
    [90m[39m<table>[90m[39m                                                  
  [33m<[39m [90m[39m<caption>A [33mdf[39m[33m[,2]:[39m 4 × 2</caption>[90m[39m                       
  [34m>[39m [90m[39m<caption>A [34mdata.frame[39m[34m:[39m 4 × 2</caption>[90m[39m                   
    [90m[39m<thead>[90m[39m                                                  
    [90m[39m        <tr><th scope=col>a</th><th scope=col>b</th></tr>[90m[39m
  
  ── 6. Failure: Factors are sanitized in small data.frames for HTML (@test_escapi
  [33m<[39m [33mobject[39m                                                   
  [34m>[39m [34mexpected[39m                                                 
  [36m@@ 1,4 / 1,4 @@                                            [39m
    [90m[39m<table>[90m[39m                                                  
  [33m<[39m [90m[39m<caption>A [33mdf[39m[33m[,2]:[39m 4 × 2</caption>[90m[39m                       
  [34m>[39m [90m[39m<caption>A [34mdata.frame[39m[34m:[39m 4 × 2</caption>[90m[39m                   
    [90m[39m<thead>[90m[39m                                                  
    [90m[39m        <tr><th scope=col>a</th><th scope=col>b</th></tr>[90m[39m
  
  ── 7. Failure: Factors are maintained in small arrays for LaTeX (@test_escaping.
  [33m<[39m [33mobject[39m                 [34m>[39m [34mexpected[39m             
  [36m@@ 1,3 @@              [39m  [36m@@ 1,3 @@              [39m
  [33m<[39m [90m[39mA [33mdf[39m[33m[,2]:[39m 4 × 2[90m[39m        [34m>[39m [90m[39mA [34mdata.frame[39m[34m:[39m 4 × 2[90m[39m  
    [90m[39m\begin{tabular}{r|ll}[90m[39m    [90m[39m\begin{tabular}{r|ll}[90m[39m
    [90m[39m a & b\\[90m[39m                 [90m[39m a & b\\[90m[39m             
  
  ── 8. Failure: Factors are sanitized in small data.frames for LaTeX (@test_escap
  [33m<[39m [33mobject[39m                 [34m>[39m [34mexpected[39m             
  [36m@@ 1,3 @@              [39m  [36m@@ 1,3 @@              [39m
  [33m<[39m [90m[39mA [33mdf[39m[33m[,2]:[39m 4 × 2[90m[39m        [34m>[39m [90m[39mA [34mdata.frame[39m[34m:[39m 4 × 2[90m[39m  
    [90m[39m\begin{tabular}{r|ll}[90m[39m    [90m[39m\begin{tabular}{r|ll}[90m[39m
    [90m[39m a & b\\[90m[39m                 [90m[39m a & b\\[90m[39m             
  
  ── 9. Failure: factors display correctly (@test_repr_array_df.r#20)  ───────────
  [33m<[39m [33mobject[39m                                
  [34m>[39m [34mexpected[39m                              
  [36m@@ 1,4 / 1,4 @@                         [39m
    [90m[39m<table>[90m[39m                               
  [33m<[39m [90m[39m<caption>A [33mdf[39m[33m[,1]:[39m 1 × 1</caption>[90m[39m    
  [34m>[39m [90m[39m<caption>A [34mdata.frame[39m[34m:[39m 1 × 1</caption>[90m[39m
    [90m[39m<thead>[90m[39m                               
    [90m[39m        <tr><th scope=col>a</th></tr>[90m[39m 
  
  ── 10. Failure: mixed factors and strings display correctly (@test_repr_array_df
  [33m<[39m [33mobject[39m                                                   
  [34m>[39m [34mexpected[39m                                                 
  [36m@@ 1,4 / 1,4 @@                                            [39m
    [90m[39m<table>[90m[39m                                                  
  [33m<[39m [90m[39m<caption>A [33mdf[39m[33m[,2]:[39m 1 × 2</caption>[90m[39m                       
  [34m>[39m [90m[39m<caption>A [34mdata.frame[39m[34m:[39m 1 × 2</caption>[90m[39m                   
    [90m[39m<thead>[90m[39m                                                  
    [90m[39m        <tr><th scope=col>a</th><th scope=col>b</th></tr>[90m[39m
  
  ── 11. Failure: date display correctly (@test_repr_array_df.r#53)  ─────────────
  [33m<[39m [33mobject[39m                                
  [34m>[39m [34mexpected[39m                              
  [36m@@ 1,4 / 1,4 @@                         [39m
    [90m[39m<table>[90m[39m                               
  [33m<[39m [90m[39m<caption>A [33mdf[39m[33m[,1]:[39m 1 × 1</caption>[90m[39m    
  [34m>[39m [90m[39m<caption>A [34mdata.frame[39m[34m:[39m 1 × 1</caption>[90m[39m
    [90m[39m<thead>[90m[39m                               
    [90m[39m        <tr><th scope=col>a</th></tr>[90m[39m 
  
  ── 12. Failure: markdown works (@test_repr_array_df.r#69)  ─────────────────────
  [33m<[39m [33mobject[39m                             [34m>[39m [34mexpected[39m                         
  [36m@@ 1,4 @@                          [39m  [36m@@ 1,4 @@                          [39m
                                                                          
  [33m<[39m [90m[39mA [33mdf[39m[33m[,2]:[39m 2 × 2[90m[39m                    [34m>[39m [90m[39mA [34mdata.frame[39m[34m:[39m 2 × 2[90m[39m              
                                                                          
    [90m[39m| a &lt;int&gt; | b &lt;chr&gt; |[90m[39m    [90m[39m| a &lt;int&gt; | b &lt;chr&gt; |[90m[39m
  
  ── 13. Failure: markdown works with rownames (@test_repr_array_df.r#82)  ───────
  [33m<[39m [33mobject[39m                                      
  [34m>[39m [34mexpected[39m                                    
  [36m@@ 1,4 / 1,4 @@                               [39m
                                                
  [33m<[39m [90m[39mA [33mdf[39m[33m[,2]:[39m 2 × 2[90m[39m                             
  [34m>[39m [90m[39mA [34mdata.frame[39m[34m:[39m 2 × 2[90m[39m                         
                                                
    [90m[39m| <!--/--> | a &lt;int&gt; | b &lt;chr&gt; |[90m[39m
  
  ── 14. Failure: nested data.frames work (@test_repr_array_df.r#98)  ────────────
  [33m<[39m [33mobject[39m                                                                        
  [34m>[39m [34mexpected[39m                                                                      
  [36m@@ 1,4 / 1,4 @@                                                                 [39m
                                                                                  
  [33m<[39m [90m[39mA [33mdf[39m[33m[,6]:[39m 2 × 6[90m[39m                                                               
  [34m>[39m [90m[39mA [34mdata.frame[39m[34m:[39m 2 × 6[90m[39m                                                           
                                                                                  
    [90m[39m| driver &lt;chr&gt; | vehicle.model &lt;chr&gt; | vehicle.stats.speed &lt;dbl[90m[39m
    [90m[39m&gt; | vehicle.stats.weight &lt;dbl&gt; | vehicle.stats.drift &lt;dbl&gt; | oc[90m[39m
    [90m[39mcupation &lt;chr&gt; |[90m[39m                                                        
  
  ── 15. Failure: matrices in data.frames work (@test_repr_array_df.r#112)  ──────
  [33m<[39m [33mobject[39m                                                                        
  [34m>[39m [34mexpected[39m                                                                      
  [36m@@ 1,6 / 1,6 @@                                                                 [39m
                                                                                  
  [33m<[39m [90m[39mA [33mdf[39m[33m[,5]:[39m 3 × 5[90m[39m                                                               
  [34m>[39m [90m[39mA [34mdata.frame[39m[34m:[39m 3 × 5[90m[39m                                                           
                                                                                  
  [33m<[39m [90m[39m| Species &lt;fct&gt; | Sepal.Length [33m&lt;dbl[,2]&gt;[39m | Sepal.Width [33m&lt;dbl[,2][39m[33m[39m[33m[39m[90m[39m
  [33m:[39m [90m[39m[33m[39m[33m&gt;[39m | Petal.Length [33m&lt;dbl[,2]&gt;[39m | Petal.Width [33m&lt;dbl[,2]&gt;[39m |[90m[39m           
  [34m>[39m [90m[39m| Species &lt;fct&gt; | Sepal.Length [34m&lt;dbl&gt;[39m | Sepal.Width [34m&lt;dbl&gt;[39m | P[34m[39m[34m[39m[90m[39m
  [34m:[39m [90m[39m[34m[39m[34m[39metal.Length [34m&lt;dbl&gt;[39m | Petal.Width [34m&lt;dbl&gt;[39m |[90m[39m                           
    [90m[39m|---|---|---|---|---|[90m[39m                                                         
    [90m[39m| setosa     | 4.3, 5.8 | 2.3, 4.4 | 1.0, 1.9 | 0.1, 0.6 |[90m[39m                    
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 48 SKIPPED: 27 WARNINGS: 0 FAILED: 15
  1. Failure: LaTeX escaping in matrices works (@test_escaping.r#53) 
  2. Failure: LaTeX escaping in matrices works (@test_escaping.r#60) 
  3. Failure: HTML escaping in matrices works (@test_escaping.r#72) 
  4. Failure: HTML escaping in matrices works (@test_escaping.r#81) 
  5. Failure: Factors are maintained in small arrays for HTML (@test_escaping.r#138) 
  6. Failure: Factors are sanitized in small data.frames for HTML (@test_escaping.r#167) 
  7. Failure: Factors are maintained in small arrays for LaTeX (@test_escaping.r#193) 
  8. Failure: Factors are sanitized in small data.frames for LaTeX (@test_escaping.r#219) 
  9. Failure: factors display correctly (@test_repr_array_df.r#20) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted