Running ‘testthat.R’ [10s/43s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(eCerto)
  > 
  > # setting this variable will suppress most eCerto message calls
  > Sys.setenv("GOLEM_CONFIG_ACTIVE"="default")
  > 
  > ## run all tests similar to Ctrl+Shift+T in RStudio
  > # testthat::test_check(package = "eCerto", reporter=c("minimal", "location"))
  > 
  > ## check for the code covered by test functions
  > # x <- covr::package_coverage(quiet = FALSE, function_exclusions = "page_*")
  > # covr::zero_coverage(x = x)
  > # covr::function_coverage(fun = eCerto:::app_server)
  > # covr::function_coverage(fun = eCerto:::list2rv, code = source("tests/testthat/test-list2rv.R"))
  > 
  > ## tests with snaps fail upon "RCHECK" while being successful in "test_check"
  > ## setting R_TESTS avoids this problem
  > Sys.setenv(R_TESTS="")
  > 
  > ## run all tests
  > # testthat::test_dir(path = "./tests/testthat")
  > testthat::test_dir(path = "./testthat")
  ✔ | F W  S  OK | Context
  
  ⠏ |          0 | ExcelUpload                                                    
  ⠋ |          1 | ExcelUpload                                                    
  ⠸ |          4 | ExcelUpload                                                    
  ✔ |          4 | ExcelUpload [1.5s]
  
  ⠏ |          0 | RData_export                                                   
  ✔ |          2 | RData_export
  
  ⠏ |          0 | Rdata_import                                                   
  ⠋ |          1 | Rdata_import                                                   
  ⠇ |          9 | Rdata_import                                                   
  ⠋ |         11 | Rdata_import                                                   
  ✔ |         12 | Rdata_import
  
  ⠏ |          0 | app_inits                                                      
  ✔ |          3 | app_inits
  
  ⠏ |          0 | app_utils                                                      
  ⠙ |          2 | app_utils                                                      
  ⠦ |          7 | app_utils                                                      
  ✔ |         13 | app_utils
  
  ⠏ |          0 | certification                                                  
  ⠋ |          1 | certification                                                  
  ✔ |          2 | certification [1.0s]
  
  ⠏ |          0 | fnc_CertValPlot                                                
  ⠸ |      1   3 | fnc_CertValPlot                                                
  ✔ |      1   3 | fnc_CertValPlot
  
  ⠏ |          0 | fnc_assert_col                                                 
  ✔ |          9 | fnc_assert_col
  
  ⠏ |          0 | fnc_calc_time_diff                                             
  ✔ |          6 | fnc_calc_time_diff
  
  ⠏ |          0 | fnc_check_fmt_Vdata                                            
  ✔ |          1 | fnc_check_fmt_Vdata
  
  ⠏ |          0 | fnc_digits_DIN1333                                             
  ✔ |          1 | fnc_digits_DIN1333
  
  ⠏ |          0 | fnc_flt_Vdata                                                  
  ✔ |          5 | fnc_flt_Vdata
  
  ⠏ |          0 | fnc_get_local_file                                             
  ✔ |          7 | fnc_get_local_file
  
  ⠏ |          0 | fnc_plot_lts_data                                              
  ⠧ |      1   7 | fnc_plot_lts_data                                              
  ✔ |      2   7 | fnc_plot_lts_data
  
  ⠏ |          0 | fnc_prepFigS1                                                  
  ✔ |          4 | fnc_prepFigS1
  
  ⠏ |          0 | fnc_prepFigS2                                                  
  ✔ |          6 | fnc_prepFigS2
  
  ⠏ |          0 | fnc_prepFigS3                                                  
  ✔ |          1 | fnc_prepFigS3
  
  ⠏ |          0 | fnc_prepFigV2                                                  
  ✔ |      1   0 | fnc_prepFigV2
  
  ⠏ |          0 | fnc_prepFigV3                                                  
  ✔ |      1   0 | fnc_prepFigV3
  
  ⠏ |          0 | fnc_prepTabC0                                                  
  ✔ |          3 | fnc_prepTabC0
  
  ⠏ |          0 | fnc_prepTabC1                                                  
  ⠙ |          2 | fnc_prepTabC1                                                  
  ✔ |          3 | fnc_prepTabC1
  
  ⠏ |          0 | fnc_prepTabC2                                                  
  ✔ |          4 | fnc_prepTabC2
  
  ⠏ |          0 | fnc_prepTabH1                                                  
  ✔ |         10 | fnc_prepTabH1
  
  ⠏ |          0 | fnc_read_lts_input                                             
  ✔ |          4 | fnc_read_lts_input
  
  ⠏ |          0 | fnc_read_xlsx                                                  
  ⠧ |          8 | fnc_read_xlsx                                                  
  ✔ |         10 | fnc_read_xlsx
  
  ⠏ |          0 | fnc_read_zenodo                                                
  ⠋ |   1      0 | fnc_read_zenodo                                                
  ⠙ | 1 1      0 | fnc_read_zenodo                                                
  ⠼ | 3 1      1 | fnc_read_zenodo                                                
  ✖ | 3 1      1 | fnc_read_zenodo [32.1s]
  ────────────────────────────────────────────────────────────────────────────────
  Warning ('test-fnc_read_zenodo.R:5:7'): read_zenodo works
  Sorry, could not find this Zenodo ID. :/
  Backtrace:
      ▆
   1. ├─base::suppressMessages(...) at test-fnc_read_zenodo.R:4:5
   2. │ └─base::withCallingHandlers(...)
   3. └─eCerto:::read_zenodo(id = "8380870") at test-fnc_read_zenodo.R:5:7
   4.   └─eCerto:::warning_or_modal(x = "Sorry, could not find this Zenodo ID. :/")
  
  Failure ('test-fnc_read_zenodo.R:7:5'): read_zenodo works
  is.list(x) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  Failure ('test-fnc_read_zenodo.R:8:5'): read_zenodo works
  `x` has length 0, not length 6.
  
  Failure ('test-fnc_read_zenodo.R:9:5'): read_zenodo works
  "Certification" %in% names(x) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |          0 | fnc_round_DIN1333                                              
  ✔ |          1 | fnc_round_DIN1333
  
  ⠏ |          0 | fnc_steyx                                                      
  ✔ |          6 | fnc_steyx
  
  ⠏ |          0 | fnc_styleTabC0                                                 
  ⠋ |          1 | fnc_styleTabC0                                                 
  ✔ |          5 | fnc_styleTabC0
  
  ⠏ |          0 | fnc_styleTabC1                                                 
  ⠋ |          1 | fnc_styleTabC1                                                 
  ✔ |          1 | fnc_styleTabC1
  
  ⠏ |          0 | fnc_styleTabC2                                                 
  ✔ |          1 | fnc_styleTabC2
  
  ⠏ |          0 | fnc_styleTabH1                                                 
  ✔ |          5 | fnc_styleTabH1
  
  ⠏ |          0 | fnc_styleTabH2                                                 
  ✔ |          3 | fnc_styleTabH2
  
  ⠏ |          0 | fnc_styleTabL1                                                 
  ✔ |          1 | fnc_styleTabL1
  
  ⠏ |          0 | help_the_user_modal                                            
  ✔ |      1   0 | help_the_user_modal
  
  ⠏ |          0 | homogeneity                                                    
  ⠸ |          4 | homogeneity                                                    
  ⠼ |          5 | homogeneity                                                    
  ✔ |          5 | homogeneity
  
  ⠏ |          0 | list2rv                                                        
  ⠙ |          2 | list2rv                                                        
  ⠼ |          5 | list2rv                                                        
  ✔ |          5 | list2rv
  
  ⠏ |          0 | materialtabelle                                                
  ⠋ |          1 | materialtabelle                                                
  ✔ |          5 | materialtabelle
  
  ⠏ |          0 | mod_xlsx_range_select                                          
  ⠋ |          1 | mod_xlsx_range_select                                          
  ⠸ |          4 | mod_xlsx_range_select                                          
  ⠴ |          6 | mod_xlsx_range_select                                          
  ⠧ |          8 | mod_xlsx_range_select                                          
  ✔ |          8 | mod_xlsx_range_select [1.2s]
  
  ⠏ |          0 | page_start                                                     
  ✔ |      1   0 | page_start
  
  ⠏ |          0 | reactiveClass                                                  
  ✔ |          8 | reactiveClass
  
  ⠏ |          0 | run_app                                                        
  ✔ |      1   0 | run_app
  
  ⠏ |          0 | stability                                                      
  ⠋ |          1 | stability                                                      
  ✔ |          1 | stability
  
  ⠏ |          0 | statistic_helper                                               
  ⠇ |          9 | statistic_helper                                               
  ✔ |         27 | statistic_helper
  
  ⠏ |          0 | validation                                                     
  ⠴ |          6 | validation                                                     
  ✔ |      1  11 | validation
  
  ══ Results ═════════════════════════════════════════════════════════════════════
  Duration: 41.3 s
  
  ── Skipped tests (9) ───────────────────────────────────────────────────────────
  • On CRAN (9): 'test-fnc_CertValPlot.R:15:3', 'test-fnc_plot_lts_data.R:18:5',
    'test-fnc_plot_lts_data.R:69:5', 'test-fnc_prepFigV2.R:7:5',
    'test-fnc_prepFigV3.R:8:5', 'test-help_the_user_modal.R:2:3',
    'test-page_start.R:6:5', 'test-run_app.R:5:5', 'test-validation.R:37:5'
  
  ── Failed tests ────────────────────────────────────────────────────────────────
  Failure ('test-fnc_read_zenodo.R:7:5'): read_zenodo works
  is.list(x) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  Failure ('test-fnc_read_zenodo.R:8:5'): read_zenodo works
  `x` has length 0, not length 6.
  
  Failure ('test-fnc_read_zenodo.R:9:5'): read_zenodo works
  "Certification" %in% names(x) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 3 | WARN 1 | SKIP 9 | PASS 214 ]
  Error: Test failures
  Execution halted