* using log directory ‘/data/gannet/ripley/R/packages/tests-OpenBLAS/learningtower.Rcheck’
* using R Under development (unstable) (2026-06-06 r90113)
* using platform: x86_64-pc-linux-gnu
* R was compiled by
    gcc (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)
    GNU Fortran (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)
* running under: Fedora Linux 42 (Workstation Edition)
* using session charset: UTF-8
* current time: 2026-06-08 08:11:46 UTC
* using option ‘--no-stop-on-test-error’
* checking for file ‘learningtower/DESCRIPTION’ ... OK
* this is package ‘learningtower’ version ‘1.1.0’
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘learningtower’ can be installed ... [19s/29s] OK
* checking package directory ... OK
* checking ‘build’ directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking code files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking loading without being on the library search path ... OK
* checking whether startup messages can be suppressed ... OK
* checking use of S3 registration ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... [7s/11s] OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd line widths ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking contents of ‘data’ directory ... OK
* checking data for non-ASCII characters ... OK
* checking LazyData ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘testthat.R’ [6s/20s]
 [6s/20s] ERROR
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(learningtower)
  The learningtower package (version 1.1.0) provides data from OECD PISA database between 2000 - 2022. For package size reasons, only a small subset is provided in the package. Use the function `load_student()` to access the full data.
  > 
  > test_check("learningtower")
  Downloading year 2000...
  
  trying URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
  Saving _problems/test-merge-3.R
  Downloading year 2000...
  
  trying URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
  Saving _problems/test-merge-24.R
  Downloading year 2000...
  
  trying URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
  Saving _problems/test-merge-44.R
  Downloading year 2000...
  
  trying URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
  Saving _problems/test-student-col-types-36.R
  Downloading year 2000...
  
  trying URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
  Saving _problems/test-test-load-2.R
  Downloading year 2000...
  
  trying URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
  Saving _problems/test-test-load-7.R
  Downloading year 2000...
  
  trying URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
  Saving _problems/test-test-load-16.R
  [ FAIL 7 | WARN 7 | SKIP 0 | PASS 202 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-merge.R:3:3'): Merging student and school data works correctly ──
  Error in `utils::download.file(url = url_git, destfile = tmp)`: cannot open URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
  Backtrace:
      ▆
   1. └─learningtower::load_student(2000) at test-merge.R:3:3
   2.   └─learningtower:::download_single_student(year = this_year)
   3.     └─utils::download.file(url = url_git, destfile = tmp)
  ── Error ('test-merge.R:24:3'): Merging student and countrycode data works correctly ──
  Error in `utils::download.file(url = url_git, destfile = tmp)`: cannot open URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
  Backtrace:
      ▆
   1. └─learningtower::load_student(2000) at test-merge.R:24:3
   2.   └─learningtower:::download_single_student(year = this_year)
   3.     └─utils::download.file(url = url_git, destfile = tmp)
  ── Error ('test-merge.R:44:3'): Sequential merging of student, school, and countrycode works ──
  Error in `utils::download.file(url = url_git, destfile = tmp)`: cannot open URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
  Backtrace:
      ▆
   1. └─learningtower::load_student(2000) at test-merge.R:44:3
   2.   └─learningtower:::download_single_student(year = this_year)
   3.     └─utils::download.file(url = url_git, destfile = tmp)
  ── Error ('test-student-col-types.R:36:5'): load_student() returns correct structure for full datasets ──
  Error in `utils::download.file(url = url_git, destfile = tmp)`: cannot open URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
  Backtrace:
      ▆
   1. └─learningtower::load_student(year) at test-student-col-types.R:36:5
   2.   └─learningtower:::download_single_student(year = this_year)
   3.     └─utils::download.file(url = url_git, destfile = tmp)
  ── Error ('test-test-load.R:2:3'): load student year can be done using both an integer and a character value ──
  Error in `utils::download.file(url = url_git, destfile = tmp)`: cannot open URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(load_student(2000), load_student("2000")) at test-test-load.R:2:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─learningtower::load_student(2000)
   5.   └─learningtower:::download_single_student(year = this_year)
   6.     └─utils::download.file(url = url_git, destfile = tmp)
  ── Failure ('test-test-load.R:7:3'): load multiple years, test is on if the data be be properly binded ──
  Expected `load_student(c("2000", "2003"))` not to throw any errors.
  Actually got a <simpleError> with message:
    cannot open URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
  ── Error ('test-test-load.R:15:3'): test for load_student class functions ──────
  Error in `utils::download.file(url = url_git, destfile = tmp)`: cannot open URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
  Backtrace:
      ▆
   1. ├─testthat::expect_s3_class(...) at test-test-load.R:15:3
   2. │ └─testthat::quasi_label(enquo(object))
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─learningtower::load_student(year = 2000)
   5.   └─learningtower:::download_single_student(year = this_year)
   6.     └─utils::download.file(url = url_git, destfile = tmp)
  
  [ FAIL 7 | WARN 7 | SKIP 0 | PASS 202 ]
  Error:
  ! Test failures.
  Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... OK
* checking re-building of vignette outputs ... [27s/61s] ERROR
Error(s) in re-building vignettes:
--- re-building ‘learningtower_school.Rmd’ using rmarkdown
trying URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2018.rds'

Quitting from learningtower_school.Rmd:87-114 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `utils::download.file()`:
! cannot open URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2018.rds'
---
Backtrace:
    ▆
 1. └─learningtower::load_student("2018")
 2.   └─learningtower:::download_single_student(year = this_year)
 3.     └─utils::download.file(url = url_git, destfile = tmp)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'learningtower_school.Rmd' failed with diagnostics:
cannot open URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2018.rds'
--- failed re-building ‘learningtower_school.Rmd’

--- re-building ‘learningtower_student.Rmd’ using rmarkdown
trying URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2012.rds'
Content type 'application/octet-stream' length 4996808 bytes (4.8 MB)
==================================================
downloaded 4.8 MB

trying URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2018.rds'

Quitting from learningtower_student.Rmd:100-143 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `utils::download.file()`:
! cannot open URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2018.rds'
---
Backtrace:
    ▆
 1. └─learningtower::load_student(c(2012, 2018))
 2.   └─learningtower:::download_single_student(year = this_year)
 3.     └─utils::download.file(url = url_git, destfile = tmp)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'learningtower_student.Rmd' failed with diagnostics:
cannot open URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2018.rds'
--- failed re-building ‘learningtower_student.Rmd’

SUMMARY: processing the following files failed:
  ‘learningtower_school.Rmd’ ‘learningtower_student.Rmd’

Error: Vignette re-building failed.
Execution halted

* checking PDF version of manual ... OK
* checking HTML version of manual ... OK
* checking for non-standard things in the check directory ... OK
* checking for detritus in the temp directory ... OK
* DONE

Status: 2 ERRORs
See
  ‘/data/gannet/ripley/R/packages/tests-OpenBLAS/learningtower.Rcheck/00check.log’
for details.

Command exited with non-zero status 1
Time 3:25.35, 104.49 + 13.55
