Running ‘testthat.R’ [34s/181s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(vdiffr)
  > library(viewpoly)
  > 
  > test_check("viewpoly")
  trying URL 'https://www.polyploids.org/sites/default/files/2022-04/tetra_MAPpoly_maps.RData'
  trying URL 'https://www.polyploids.org/sites/default/files/2022-04/tetra_QTLpoly_data.RData'
  trying URL 'https://www.polyploids.org/sites/default/files/2022-04/tetra_diaQTL_scan1_list.RData'
  Content type 'unknown' length 2428586 bytes (2.3 MB)
  ==================================================
  downloaded 2.3 MB
  
  trying URL 'https://www.polyploids.org/sites/default/files/2022-04/tetra_diaQTL_scan1_summaries_list.RData'
  Content type 'unknown' length 7970380 bytes (7.6 MB)
  ==================================================
  downloaded 7.6 MB
  
  trying URL 'https://www.polyploids.org/sites/default/files/2022-04/tetra_diaQTL_fitQTL_list%20%281%29.RData'
  Content type 'unknown' length 123674133 bytes (117.9 MB)
  ==================================================
  downloaded 117.9 MB
  
  trying URL 'https://www.polyploids.org/sites/default/files/2022-04/tetra_diaQTL_BayesCI_list_0.RData'
  Content type 'unknown' length 8846 bytes
  ==================================================
  downloaded 8846 bytes
  
  trying URL 'https://www.polyploids.org/sites/default/files/2022-04/tetra_polymapR_dataset.RData'
  Content type 'unknown' length 361394 bytes (352 KB)
  ==================================================
  downloaded 352 KB
  
  trying URL 'https://www.polyploids.org/sites/default/files/2022-04/tetra_polymapR_map.RData'
  Content type 'unknown' length 43608 bytes (42 KB)
  ==================================================
  downloaded 42 KB
  
  trying URL 'https://www.polyploids.org/sites/default/files/2022-04/tetra_polyqtlR_QTLscan.RData'
  Content type 'unknown' length 3481317 bytes (3.3 MB)
  ==================================================
  downloaded 3.3 MB
  
  trying URL 'https://www.polyploids.org/sites/default/files/2022-04/tetra_polyqtlR_qtl_info.RData'
  Content type 'unknown' length 511 bytes
  ==================================================
  downloaded 511 bytes
  
  trying URL 'https://www.polyploids.org/sites/default/files/2022-04/tetra_polyqtlR_effects.RData'
  Content type 'unknown' length 6859472 bytes (6.5 MB)
  ==================================================
  downloaded 6.5 MB
  
  NULL
  [ FAIL 2 | WARN 2 | SKIP 2 | PASS 79 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-MAPpoly.R:6:3): Tests uploaded MAPpoly files ────────────────────
  Error in `download.file("https://www.polyploids.org/sites/default/files/2022-04/tetra_MAPpoly_maps.RData", 
      destfile = temp)`: cannot open URL 'https://www.polyploids.org/sites/default/files/2022-04/tetra_MAPpoly_maps.RData'
  Backtrace:
      ▆
   1. └─utils::download.file(...) at test-MAPpoly.R:6:2
  ── Error (test-QTLpoly.R:11:3): Tests uploaded QTLpoly files ───────────────────
  Error in `download.file("https://www.polyploids.org/sites/default/files/2022-04/tetra_QTLpoly_data.RData", 
      destfile = input.data$datapath)`: cannot open URL 'https://www.polyploids.org/sites/default/files/2022-04/tetra_QTLpoly_data.RData'
  Backtrace:
      ▆
   1. └─utils::download.file(...) at test-QTLpoly.R:11:2
  
  [ FAIL 2 | WARN 2 | SKIP 2 | PASS 79 ]
  Deleting unused snapshots:
  • tetra_example/effects-bar.svg
  • tetra_example/effects-circle.svg
  • tetra_example/effects-digenic.svg
  • tetra_example/linkage-map-draw-names.svg
  • tetra_example/plot-map-list.svg
  • tetra_example/qtl-plot.svg
  Error: Test failures
  Execution halted