- using R Under development (unstable) (2025-07-30 r88476)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 19.1.7 (3+b1)
Debian flang-new version 19.1.7 (3+b1)
- running under: Debian GNU/Linux 13 (trixie)
- using session charset: UTF-8
- checking for file ‘webuse/DESCRIPTION’ ... OK
- this is package ‘webuse’ version ‘0.1.3’
- checking CRAN incoming feasibility ... [1s/2s] NOTE
Maintainer: ‘Jodi Beggs <jodi@alum.mit.edu>’
Package CITATION file contains call(s) to old-style personList() or
as.personList(). Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry(). Please
use bibentry() instead.
- 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 serialization versions ... OK
- checking whether package ‘webuse’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/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 ... [5s/8s] OK
- checking Rd files ... [0s/0s] 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 examples ... [1s/2s] ERROR
Running examples in ‘webuse-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: webuse
> ### Title: webuse
> ### Aliases: webuse webuselist webuse-package
>
> ### ** Examples
>
> webuse("auto")
! curl package not installed, falling back to using `url()`
Warning in open.connection(con, "rb") :
cannot open URL 'https://www.stata-press.com/data/r15/auto.dta': HTTP status was '523 Unknown Error'
Error in open.connection(con, "rb") :
cannot open the connection to 'https://www.stata-press.com/data/r15/auto.dta'
Calls: webuse ... datasource_connection -> read_connection -> open -> open.connection
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [2s/3s] ERROR
Running ‘testthat.R’ [2s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library("testthat")
> library("webuse")
>
> test_check("webuse")
[ FAIL 1 | WARN 1 | SKIP 2 | PASS 0 ]
══ Skipped tests (2) ═══════════════════════════════════════════════════════════
• On CRAN (2): 'tests.R:10:3', 'tests.R:18:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('tests.R:5:3'): Basic functionality ──────────────────────────────────
Error in `open.connection(con, "rb")`: cannot open the connection to 'https://www.stata-press.com/data/r15/auto.dta'
Backtrace:
▆
1. ├─testthat::expect_true(...) at tests.R:5:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::inherits(webuse("auto"), "data.frame")
5. └─webuse::webuse("auto")
6. └─haven::read_dta(...)
7. └─readr::datasource(file)
8. └─readr:::datasource_connection(...)
9. └─readr:::read_connection(path)
10. ├─base::open(con, "rb")
11. └─base::open.connection(con, "rb")
[ FAIL 1 | WARN 1 | SKIP 2 | PASS 0 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [4s/5s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs, 1 NOTE