- using R Under development (unstable) (2025-10-03 r88899)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.2
flang version 21.1.2
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘openalexR/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘openalexR’ version ‘2.0.1’
- 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 ‘openalexR’ 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 ... 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 ... 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 examples ... ERROR
Running examples in ‘openalexR-Ex.R’ failed
The error most likely occurred in:
> ### Name: show_works
> ### Title: Simplify the OpenAlex works result
> ### Aliases: show_works
>
> ### ** Examples
>
>
> show_works(oa_fetch(
+ identifier = c("W2741809807", "W2755950973"),
+ verbose = TRUE
+ ))
Requesting url: https://api.openalex.org/works?filter=openalex%3AW2741809807%7CW2755950973
HTTP status 429 Too Many Requests
Error in x[, simp_cols] : incorrect number of dimensions
Calls: show_works -> simp_func
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(openalexR)
openalexR v2.0.0 introduces breaking changes.
See NEWS.md for details.
To suppress this message, add `openalexR.message = suppressed` to your .Renviron file.
>
> test_check("openalexR")
HTTP status 429 Too Many Requests
HTTP status 429 Too Many Requests
Identifier is missing, please specify filter or search argument.
[ FAIL 3 | WARN 0 | SKIP 32 | PASS 20 ]
══ Skipped tests (32) ══════════════════════════════════════════════════════════
• On CRAN (31): 'test-coro.R:3:3', 'test-coverage.R:2:3',
'test-oa2bibliometrix.R:2:3', 'test-oa2df.R:2:3', 'test-oa_fetch.R:2:3',
'test-oa_fetch.R:14:3', 'test-oa_fetch.R:25:3', 'test-oa_fetch.R:36:3',
'test-oa_fetch.R:68:3', 'test-oa_fetch.R:85:3', 'test-oa_fetch.R:105:3',
'test-oa_fetch.R:112:3', 'test-oa_fetch.R:131:3', 'test-oa_fetch.R:138:3',
'test-oa_fetch.R:160:3', 'test-oa_fetch.R:227:3', 'test-oa_fetch.R:291:3',
'test-oa_fetch.R:300:3', 'test-oa_fetch.R:319:3', 'test-oa_fetch.R:333:3',
'test-oa_fetch.R:342:3', 'test-oa_fetch.R:351:3', 'test-oa_fetch.R:360:3',
'test-oa_fetch.R:388:3', 'test-oa_fetch.R:463:3', 'test-oa_snowball.R:2:3',
'test-oa_snowball.R:30:3', 'test-oa_snowball.R:40:3',
'test-oa_snowball.R:57:3', 'test-simplify.R:2:3', 'test-simplify.R:13:3'
• Skipping (1): 'test-oa_ngrams.R:2:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-group_by.R:18:3'): group_by works ────────────────────────────
`g2` is not an S3 object
── Failure ('test-group_by.R:19:3'): group_by works ────────────────────────────
nrow(g2) (`actual`) not equal to 2 (`expected`).
`actual` is NULL
`expected` is a double vector (2)
── Failure ('test-group_by.R:20:3'): group_by works ────────────────────────────
colnames(g2) (`actual`) not equal to c("key", "key_display_name", "count") (`expected`).
`actual` is NULL
`expected` is a character vector ('key', 'key_display_name', 'count')
[ FAIL 3 | WARN 0 | SKIP 32 | PASS 20 ]
Error: Test failures
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