Last updated on 2025-04-10 08:58:36 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.1.0 | 12.70 | 69.56 | 82.26 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.1.0 | 9.82 | 42.19 | 52.01 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.1.0 | 134.15 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.1.0 | 135.04 | OK | |||
r-devel-macos-arm64 | 1.1.0 | 85.00 | OK | |||
r-devel-macos-x86_64 | 1.1.0 | 105.00 | OK | |||
r-devel-windows-x86_64 | 1.1.0 | 15.00 | 114.00 | 129.00 | OK | |
r-patched-linux-x86_64 | 1.1.0 | 11.49 | 67.69 | 79.18 | OK | |
r-release-linux-x86_64 | 1.1.0 | OK | ||||
r-release-macos-arm64 | 1.1.0 | 80.00 | OK | |||
r-release-macos-x86_64 | 1.1.0 | 122.00 | OK | |||
r-release-windows-x86_64 | 1.1.0 | 14.00 | 92.00 | 106.00 | OK | |
r-oldrel-macos-arm64 | 1.1.0 | OK | ||||
r-oldrel-macos-x86_64 | 1.1.0 | 129.00 | OK | |||
r-oldrel-windows-x86_64 | 1.1.0 | 17.00 | 102.00 | 119.00 | OK |
Version: 1.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/12s]
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'
Downloading year 2000...
trying URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
Downloading year 2000...
trying URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
Downloading year 2000...
trying URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
Downloading year 2000...
trying URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
Downloading year 2000...
trying URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
Downloading year 2000...
trying URL 'https://github.com/kevinwang09/learningtower/raw/master/student_full_data/student_2000.rds'
[ 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, arg = "object")
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"))` to run without any errors.
i Actually got a <simpleError> with text:
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), arg = "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
Flavor: r-devel-linux-x86_64-debian-gcc
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.