- using R Under development (unstable) (2025-07-18 r88431)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘Rtumblr/DESCRIPTION’ ... OK
- this is package ‘Rtumblr’ version ‘0.1.0’
- 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 ‘Rtumblr’ can be installed ... OK
See the install log for details.
- 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 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 R/sysdata.rda ... OK
- checking examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(Rtumblr)
>
> test_check("Rtumblr")
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-blogs.R:6:5'): blog_info ───────────────────────────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `output[["response"]]`: subscript out of bounds
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-blogs.R:5:3
2. │ └─cassette$call_block(...)
3. └─Rtumblr::get_blog_info("schochastics", api_key = fake_api) at test-blogs.R:6:5
4. └─Rtumblr:::parse_blog_info(output[["response"]][["blog"]])
5. └─base::lapply(...)
── Error ('test-blogs.R:23:5'): blog_posts ─────────────────────────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `output_lst[["response"]]`: subscript out of bounds
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-blogs.R:22:3
2. │ └─cassette$call_block(...)
3. └─Rtumblr::get_blog_posts("schochastics", api_key = fake_api) at test-blogs.R:23:5
4. ├─dplyr::bind_rows(...)
5. │ └─rlang::list2(...)
6. └─base::lapply(output_lst[["response"]][["posts"]], parse_blog_post)
── Error ('test-blogs.R:31:5'): tagged_link ────────────────────────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `output_lst[["response"]]`: subscript out of bounds
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-blogs.R:30:3
2. │ └─cassette$call_block(...)
3. └─Rtumblr::get_posts_tag("url") at test-blogs.R:31:5
4. └─base::lapply(output_lst[["response"]], parse_blog_post_legacy)
── Error ('test-blogs.R:38:5'): tagged_text ────────────────────────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `output_lst[["response"]]`: subscript out of bounds
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-blogs.R:37:3
2. │ └─cassette$call_block(...)
3. └─Rtumblr::get_posts_tag("writer") at test-blogs.R:38:5
4. └─base::lapply(output_lst[["response"]], parse_blog_post_legacy)
── Error ('test-blogs.R:45:5'): tagged_photo ───────────────────────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `output_lst[["response"]]`: subscript out of bounds
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-blogs.R:44:3
2. │ └─cassette$call_block(...)
3. └─Rtumblr::get_posts_tag("meme") at test-blogs.R:45:5
4. └─base::lapply(output_lst[["response"]], parse_blog_post_legacy)
── Error ('test-blogs.R:52:5'): tagged_video ───────────────────────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `output_lst[["response"]]`: subscript out of bounds
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-blogs.R:51:3
2. │ └─cassette$call_block(...)
3. └─Rtumblr::get_posts_tag("video") at test-blogs.R:52:5
4. └─base::lapply(output_lst[["response"]], parse_blog_post_legacy)
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 0 ]
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: 1 ERROR