Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [30s/36s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(periscope2)
  > 
  > test_check("periscope2")
  Loading required package: shiny
  Loading required package: bs4Dash
  
  Attaching package: 'bs4Dash'
  
  The following objects are masked from 'package:shiny':
  
      actionButton, column, insertTab, navbarMenu, tabsetPanel
  
  The following object is masked from 'package:graphics':
  
      box
  
  Loading required package: ggplot2
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  Saving _problems/test_create_application-261.R
  [ FAIL 24 | WARN 1 | SKIP 26 | PASS 792 ]
  
  ══ Skipped tests (26) ══════════════════════════════════════════════════════════
  • On CRAN (26): 'test_addins.R:19:1', 'test_download_file.R:96:1',
    'test_download_file.R:154:1', 'test_download_file.R:175:1',
    'test_download_file.R:214:1', 'test_downloadable_table.R:188:1',
    'test_downloadable_table.R:203:1', 'test_log_viewer.R:15:1',
    'test_log_viewer.R:21:1', 'test_ui_functions.R:201:1',
    'test_ui_functions.R:206:1', 'test_ui_functions.R:231:1',
    'test_ui_functions.R:331:1', 'test_ui_functions.R:341:1',
    'test_ui_functions.R:354:1', 'test_ui_functions.R:361:1',
    'test_ui_functions.R:389:1', 'test_ui_functions.R:478:1',
    'test_ui_functions.R:483:1', 'test_ui_functions.R:519:1',
    'test_ui_functions.R:535:1', 'test_ui_functions.R:540:1',
    'test_ui_functions.R:580:1', 'test_ui_functions.R:626:1',
    'test_ui_functions.R:631:1', 'test_ui_misc_functions.R:34:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `dir.exists(full_name)` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(dir.exists(full_name)) at test_create_application.R:7:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `file.exists(paste0(full_name, "/global.R"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(file.exists(paste0(full_name, "/global.R"))) at test_create_application.R:8:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `file.exists(paste0(full_name, "/server.R"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(file.exists(paste0(full_name, "/server.R"))) at test_create_application.R:9:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `file.exists(paste0(full_name, "/ui.R"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(file.exists(paste0(full_name, "/ui.R"))) at test_create_application.R:10:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `dir.exists(paste0(full_name, "/www"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(dir.exists(paste0(full_name, "/www"))) at test_create_application.R:11:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `file.exists(paste0(full_name, "/www/css/custom.css"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(file.exists(paste0(full_name, "/www/css/custom.css"))) at test_create_application.R:12:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `file.exists(paste0(full_name, "/www/js/custom.js"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(file.exists(paste0(full_name, "/www/js/custom.js"))) at test_create_application.R:13:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `file.exists(paste0(full_name, "/www/periscope_style.yaml"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(file.exists(paste0(full_name, "/www/periscope_style.yaml"))) at test_create_application.R:14:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `dir.exists(paste0(full_name, "/www/img"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(dir.exists(paste0(full_name, "/www/img"))) at test_create_application.R:15:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `file.exists(paste0(full_name, "/www/img/loader.gif"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(file.exists(paste0(full_name, "/www/img/loader.gif"))) at test_create_application.R:16:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `file.exists(paste0(full_name, "/www/img/tooltip.png"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(file.exists(paste0(full_name, "/www/img/tooltip.png"))) at test_create_application.R:17:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `dir.exists(paste0(full_name, "/program"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(dir.exists(paste0(full_name, "/program"))) at test_create_application.R:18:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `file.exists(paste0(full_name, "/program/global.R"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(file.exists(paste0(full_name, "/program/global.R"))) at test_create_application.R:19:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `file.exists(paste0(full_name, "/program/server_global.R"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(file.exists(paste0(full_name, "/program/server_global.R"))) at test_create_application.R:20:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `file.exists(paste0(full_name, "/program/server_local.R"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(file.exists(paste0(full_name, "/program/server_local.R"))) at test_create_application.R:21:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `file.exists(paste0(full_name, "/program/ui_body.R"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(file.exists(paste0(full_name, "/program/ui_body.R"))) at test_create_application.R:22:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `file.exists(paste0(full_name, "/program/ui_header.R"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(file.exists(paste0(full_name, "/program/ui_header.R"))) at test_create_application.R:23:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `file.exists(paste0(full_name, "/program/ui_footer.R"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(file.exists(paste0(full_name, "/program/ui_footer.R"))) at test_create_application.R:24:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `dir.exists(paste0(full_name, "/program/data"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(dir.exists(paste0(full_name, "/program/data"))) at test_create_application.R:25:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `dir.exists(paste0(full_name, "/program/fxn"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(dir.exists(paste0(full_name, "/program/fxn"))) at test_create_application.R:26:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `file.exists(paste0(full_name, "/program/config/announce.yaml"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(file.exists(paste0(full_name, "/program/config/announce.yaml"))) at test_create_application.R:27:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `dir.exists(paste0(full_name, "/program/modules"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(dir.exists(paste0(full_name, "/program/modules"))) at test_create_application.R:28:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `dir.exists(paste0(full_name, "/log"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(dir.exists(paste0(full_name, "/log"))) at test_create_application.R:29:5
  ── Failure ('test_create_application.R:261:5'): create_application invalid right sidebar ──
  Expected `file.exists(paste0(full_name, "/program/ui_left_sidebar.R"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
      ▆
   1. └─periscope2 (local) expect_cleanup_create_new_application(appTemp) at test_create_application.R:261:5
   2.   └─testthat::expect_true(file.exists(paste0(full_name, "/program/ui_left_sidebar.R"))) at test_create_application.R:32:9
  
  [ FAIL 24 | WARN 1 | SKIP 26 | PASS 792 ]
  Error:
  ! Test failures.
  Execution halted