Running ‘testthat.R’ [14s/193s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(rplec)
  > 
  > test_check("rplec")
  trying URL 'https://raw.githubusercontent.com/herdiantrisufriyana/rplec/master/data/beta_values_case.rda'
  Content type 'application/octet-stream' length 18750575 bytes (17.9 MB)
  ==================================================
  downloaded 17.9 MB
  
  trying URL 'https://raw.githubusercontent.com/herdiantrisufriyana/rplec/master/data/beta_values_case.rda'
  Content type 'application/octet-stream' length 18750575 bytes (17.9 MB)
  ===============================================
  downloaded 17.0 MB
  
  Saving _problems/test-plec-5.R
  trying URL 'https://raw.githubusercontent.com/herdiantrisufriyana/rplec/master/data/beta_values_case.rda'
  Content type 'application/octet-stream' length 18750575 bytes (17.9 MB)
  ==============================================
  downloaded 16.7 MB
  
  Saving _problems/test-qc-5.R
  [ FAIL 2 | WARN 4 | SKIP 0 | PASS 23 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-plec.R:5:3'): plec validates inputs correctly ──────────────────
  Error in `utils::download.file(url, temp, mode = "wb")`: download from 'https://raw.githubusercontent.com/herdiantrisufriyana/rplec/master/data/beta_values_case.rda' failed
  Backtrace:
      ▆
   1. └─rplec::download_beta_values_case() at test-plec.R:5:3
   2.   └─utils::download.file(url, temp, mode = "wb")
  ── Error ('test-qc.R:5:3'): qc validates inputs correctly ──────────────────────
  Error in `utils::download.file(url, temp, mode = "wb")`: download from 'https://raw.githubusercontent.com/herdiantrisufriyana/rplec/master/data/beta_values_case.rda' failed
  Backtrace:
      ▆
   1. └─rplec::download_beta_values_case() at test-qc.R:5:3
   2.   └─utils::download.file(url, temp, mode = "wb")
  
  [ FAIL 2 | WARN 4 | SKIP 0 | PASS 23 ]
  Error:
  ! Test failures.
  Execution halted