- using R Under development (unstable) (2025-08-31 r88749)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 19.1.7 (3+b2)
Debian flang-new version 19.1.7 (3+b2)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘jstor/DESCRIPTION’ ... OK
- this is package ‘jstor’ version ‘0.3.11’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/1s] OK
- 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 ‘jstor’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [1s/2s] 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/2s] OK
- checking loading without being on the library search path ... [1s/2s] 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 ... [10s/13s] OK
- checking Rd files ... [0s/1s] 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 R/sysdata.rda ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [7s/11s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [19s/33s] ERROR
Running ‘testthat.R’ [19s/33s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(jstor)
>
> test_check("jstor")
Processing files for book_chapter with functions jst_get_book
Re-importing 2 batches.
Re-importing 2 batches.
Re-importing 2 batches.
Re-importing 2 batches.
Re-importing 2 batches.
Re-importing 2 batches.
Re-importing 2 batches.
Re-importing 2 batches.
Re-importing 2 batches.
Re-importing 2 batches.
Re-importing 2 batches.
Re-importing 2 batches.
Re-importing 1 batches.
Re-importing 2 batches.
Re-importing 1 batches.
Re-importing 2 batches.
Attaching package: 'magrittr'
The following object is masked from 'package:purrr':
set_names
The following objects are masked from 'package:testthat':
equals, is_less_than, not
Starting to import 2 file(s).
Finished importing 2 file(s) in 0.62 secs.
Starting to import 2 file(s).
Finished importing 2 file(s) in 0.4 secs.
Starting to import 2 file(s).
Finished importing 2 file(s) in 0.42 secs.
Starting to import 3 file(s).
Processing chunk 1/2
Processing chunk 2/2
Finished importing 3 file(s) in 1 secs.
Processing files for book_chapter with functions jst_get_book
Processing files for journal_article with functions jst_get_article, jst_get_authors
Processing files for ngram1 with functions jst_get_ngram
[ FAIL 2 | WARN 0 | SKIP 6 | PASS 247 ]
══ Skipped tests (6) ═══════════════════════════════════════════════════════════
• Downloading was disabled (1): 'test-journal-overview.R:17:3'
• On CRAN (2): 'test-footnotes.R:27:3', 'test-full_text.R:26:3'
• This test is stupid, should be improved. It depends on the console width (1):
'test-import-spec.R:60:3'
• empty test (2): 'test-re-import.R:297:1', 'test-re-import.R:303:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-references.R:168:3'): extracting references works ────────────
jst_get_references(parsed)[["ref_unparsed"]] (`actual`) not identical to `parsed_refs` (`expected`).
lines(actual[[5]]) vs lines(expected[[5]])
- "Costall, Alan ( 1980 ). “Some article title” "
- " Theory and Psychology "
- " 1 : 123 – 145 ."
+ "Costall, Alan ( 1980 ). “Some article title” Theory and Psychology 1 : 123 – 145 ."
lines(actual[[7]]) vs lines(expected[[7]])
- "Fries-Britt S. , & Griffin K.A. "
- " ( 2000 ). Some article about race . Journal of College Student Fun , 20 , 60 – 120 ."
+ "Fries-Britt S. , & Griffin K.A. ( 2000 ). Some article about race . Journal of College Student Fun , 20 , 60 – 120 ."
── Failure ('test-references.R:184:3'): parsing references works ───────────────
`correct_parsed` (`actual`) not identical to jst_get_references(parsed, parse_refs = T) (`expected`).
actual vs expected
ref_unparsed
actual[2, ] Acohido, B. and Eisler, P. ( 2013 ) “Snowden Case: How Low-Level Insider Could Steal from NSA” , USA Today , 12 June. Available online at http://www.google.com (accessed 15 June 2013).
actual[3, ] Amnesty International ( 2013 ) “USA: Revelations about Government Surveillance ‘raise red flags’” , 7 June. Available online at http://www.google.com (accessed 14 June 2013).
actual[4, ] Jacobson, D. , 2009 . Chapter title . In: D. E. Davis & J. Go , eds. Book title .: Routledge , pp. 281 - 286 .
- actual[5, ] Costall, Alan ( 1980 ). “Some article title” Theory and Psychology 1 : 123 – 145 .
+ expected[5, ] Costall, Alan ( 1980 ). “Some article title”
Theory and Psychology
1 : 123 – 145 .
actual[6, ] Hudson, W. , 2000 . Another article title . Australian Journal of Cats & Dogs , September , 40 ( 3 ), p. 134 – 150 .
- actual[7, ] Fries-Britt S. , & Griffin K.A. ( 2000 ). Some article about race . Journal of College Student Fun , 20 , 60 – 120 .
+ expected[7, ] Fries-Britt S. , & Griffin K.A.
( 2000 ). Some article about race . Journal of College Student Fun , 20 , 60 – 120 .
lines(actual$ref_unparsed[[5]]) vs lines(expected$ref_unparsed[[5]])
- "Costall, Alan ( 1980 ). “Some article title” Theory and Psychology 1 : 123 – 145 ."
+ "Costall, Alan ( 1980 ). “Some article title” "
+ " Theory and Psychology "
+ " 1 : 123 – 145 ."
lines(actual$ref_unparsed[[7]]) vs lines(expected$ref_unparsed[[7]])
- "Fries-Britt S. , & Griffin K.A. ( 2000 ). Some article about race . Journal of College Student Fun , 20 , 60 – 120 ."
+ "Fries-Britt S. , & Griffin K.A. "
+ " ( 2000 ). Some article about race . Journal of College Student Fun , 20 , 60 – 120 ."
[ FAIL 2 | WARN 0 | SKIP 6 | PASS 247 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [14s/21s] OK
- checking PDF version of manual ... [6s/8s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR