Running ‘testthat.R’ [11s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > testthat::test_check("rsleep")
  Loading required package: rsleep
  trying URL 'https://rsleep.org/data/rec_1.dat'
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • empty test (1): 'test_resp.R:3:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_ecg.R:6:3'): Peak detection ────────────────────────────────────
  Error in `download.file("https://rsleep.org/data/rec_1.dat", path)`: cannot open URL 'https://rsleep.org/data/rec_1.dat'
  Backtrace:
      ▆
   1. └─utils::download.file("https://rsleep.org/data/rec_1.dat", path) at test_ecg.R:6:3
  
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [8s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > testthat::test_check("rsleep")
  Loading required package: rsleep
  trying URL 'https://rsleep.org/data/rec_1.dat'
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • empty test (1): 'test_resp.R:3:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_ecg.R:6:3'): Peak detection ────────────────────────────────────
  Error in `download.file("https://rsleep.org/data/rec_1.dat", path)`: cannot open URL 'https://rsleep.org/data/rec_1.dat'
  Backtrace:
      ▆
   1. └─utils::download.file("https://rsleep.org/data/rec_1.dat", path) at test_ecg.R:6:3
  
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > testthat::test_check("rsleep")
  Loading required package: rsleep
  trying URL 'https://rsleep.org/data/rec_1.dat'
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • empty test (1): 'test_resp.R:3:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_ecg.R:6:3'): Peak detection ────────────────────────────────────
  Error in `download.file("https://rsleep.org/data/rec_1.dat", path)`: cannot open URL 'https://rsleep.org/data/rec_1.dat'
  Backtrace:
      ▆
   1. └─utils::download.file("https://rsleep.org/data/rec_1.dat", path) at test_ecg.R:6:3
  
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > testthat::test_check("rsleep")
  Loading required package: rsleep
  trying URL 'https://rsleep.org/data/rec_1.dat'
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • empty test (1): 'test_resp.R:3:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_ecg.R:6:3'): Peak detection ────────────────────────────────────
  Error in `download.file("https://rsleep.org/data/rec_1.dat", path)`: cannot open URL 'https://rsleep.org/data/rec_1.dat'
  Backtrace:
      ▆
   1. └─utils::download.file("https://rsleep.org/data/rec_1.dat", path) at test_ecg.R:6:3
  
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ]
  Error: Test failures
  Execution halted
Running 'testthat.R' [10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > testthat::test_check("rsleep")
  Loading required package: rsleep
  trying URL 'https://rsleep.org/data/rec_1.dat'
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • empty test (1): 'test_resp.R:3:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_ecg.R:6:3'): Peak detection ────────────────────────────────────
  Error in `download.file("https://rsleep.org/data/rec_1.dat", path)`: cannot open URL 'https://rsleep.org/data/rec_1.dat'
  Backtrace:
      ▆
   1. └─utils::download.file("https://rsleep.org/data/rec_1.dat", path) at test_ecg.R:6:3
  
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [10s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > testthat::test_check("rsleep")
  Loading required package: rsleep
  trying URL 'https://rsleep.org/data/rec_1.dat'
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • empty test (1): 'test_resp.R:3:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_ecg.R:6:3'): Peak detection ────────────────────────────────────
  Error in `download.file("https://rsleep.org/data/rec_1.dat", path)`: cannot open URL 'https://rsleep.org/data/rec_1.dat'
  Backtrace:
      ▆
   1. └─utils::download.file("https://rsleep.org/data/rec_1.dat", path) at test_ecg.R:6:3
  
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [10s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > testthat::test_check("rsleep")
  Loading required package: rsleep
  trying URL 'https://rsleep.org/data/rec_1.dat'
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • empty test (1): 'test_resp.R:3:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_ecg.R:6:3'): Peak detection ────────────────────────────────────
  Error in `download.file("https://rsleep.org/data/rec_1.dat", path)`: cannot open URL 'https://rsleep.org/data/rec_1.dat'
  Backtrace:
      ▆
   1. └─utils::download.file("https://rsleep.org/data/rec_1.dat", path) at test_ecg.R:6:3
  
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ]
  Error: Test failures
  Execution halted
Running 'testthat.R' [10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > testthat::test_check("rsleep")
  Loading required package: rsleep
  trying URL 'https://rsleep.org/data/rec_1.dat'
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • empty test (1): 'test_resp.R:3:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_ecg.R:6:3'): Peak detection ────────────────────────────────────
  Error in `download.file("https://rsleep.org/data/rec_1.dat", path)`: cannot open URL 'https://rsleep.org/data/rec_1.dat'
  Backtrace:
      ▆
   1. └─utils::download.file("https://rsleep.org/data/rec_1.dat", path) at test_ecg.R:6:3
  
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ]
  Error: Test failures
  Execution halted
Running 'testthat.R' [13s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > testthat::test_check("rsleep")
  Loading required package: rsleep
  trying URL 'https://rsleep.org/data/rec_1.dat'
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • empty test (1): 'test_resp.R:3:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_ecg.R:6:3'): Peak detection ────────────────────────────────────
  Error in `download.file("https://rsleep.org/data/rec_1.dat", path)`: cannot open URL 'https://rsleep.org/data/rec_1.dat'
  Backtrace:
      ▆
   1. └─utils::download.file("https://rsleep.org/data/rec_1.dat", path) at test_ecg.R:6:3
  
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ]
  Error: Test failures
  Execution halted