- using R Under development (unstable) (2026-11-07 r90850 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
* current time: 2026-11-08 09:59:23 UTC
- checking for file 'IMD/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'IMD' version '1.2.2'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'IMD' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package 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 ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [1s] 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 ... [3s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... 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 ... [2s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking examples ... [1s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [16s] ERROR
Running 'testthat.R' [15s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(IMD)
>
> test_check("IMD")
Joining with `by = join_by(group)`
Joining with `by = join_by(group)`
`curl` package not installed, falling back to using `url()`
Saving _problems/test-load_composite_imd-2.R
[ FAIL 1 | WARN 5 | SKIP 0 | PASS 39 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-load_composite_imd.R:2:3'): data loads ─────────────────────────
Error: cannot open the connection to 'https://github.com/mysociety/composite_uk_imd/raw/main/data/uk_index/UK_IMD_E.csv'
Backtrace:
▆
1. ├─IMD::load_composite_imd() at test-load_composite_imd.R:2:3
2. │ └─readr::read_csv(query_url)
3. │ └─vroom::vroom(...)
4. │ └─vroom:::vroom_(...)
5. └─vroom (local) `<fn>`(`<url>`, "rb")
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. └─value[[3L]](cond)
[ FAIL 1 | WARN 5 | SKIP 0 | PASS 39 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [19s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 1 ERROR