- using R version 4.5.1 Patched (2025-07-14 r88411)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-19) 14.2.0
GNU Fortran (Debian 14.2.0-19) 14.2.0
- running under: Debian GNU/Linux 13 (trixie)
- using session charset: UTF-8
- 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 serialization versions ... OK
- checking whether package ‘Rtumblr’ 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 ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] 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 ... [4s/5s] 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 examples ... [0s/0s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [3s/3s] ERROR
Running ‘testthat.R’ [3s/3s]
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 ... [4s/6s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR