- using R Under development (unstable) (2024-04-27 r86487)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 18.1.4 (1)
Debian flang-new version 18.1.4 (1)
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘usedthese/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘usedthese’ version ‘0.3.3’
- 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 ‘usedthese’ 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 ... [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/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 ... [4s/5s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [6s/7s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
used_here 5.216 0.121 6.386
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [14s/18s] ERROR
Running ‘spelling.R’ [0s/1s]
Running ‘testthat.R’ [13s/18s]
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(usedthese)
>
> test_check("usedthese")
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
######################### Warning from 'xts' package ##########################
# #
# The dplyr lag() function breaks how base R's lag() function is supposed to #
# work, which breaks lag(my_xts). Calls to lag(my_xts) that you type or #
# source() into this session won't work correctly. #
# #
# Use stats::lag() to make sure you're not using dplyr::lag(), or you can add #
# conflictRules('dplyr', exclude = 'lag') to your .Rprofile to stop #
# dplyr from breaking base R's lag() function. #
# #
# Code in packages is not affected. It's protected by R's namespace mechanism #
# Set `options(xts.warn_dplyr_breaks_lag = FALSE)` to suppress this warning. #
# #
###############################################################################
Attaching package: 'xts'
The following object is masked from 'package:dplyr':
last
Attaching package: 'tsibble'
The following object is masked from 'package:zoo':
index
The following objects are masked from 'package:base':
intersect, setdiff, union
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 4 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-used_there.R:2:3'): First 3 lines of the first link ────────────
Error in `used_there("https://quantumjitter.com/project", 1)`: URL currently unavailable. Please try later.
Caused by error in `open.connection()`:
! Failed writing received data to disk/application
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-used_there.R:2:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─utils::head(...)
5. ├─usedthese::used_there("https://quantumjitter.com/project", 1)
6. │ ├─rlang::try_fetch(...)
7. │ │ ├─base::tryCatch(...)
8. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. │ │ └─base::withCallingHandlers(...)
12. │ ├─rvest::read_html(url)
13. │ └─xml2:::read_html.default(url)
14. │ ├─base::suppressWarnings(...)
15. │ │ └─base::withCallingHandlers(...)
16. │ ├─xml2::read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
17. │ └─xml2:::read_xml.character(...)
18. │ └─xml2:::read_xml.connection(...)
19. │ ├─base::open(x, "rb")
20. │ └─base::open.connection(x, "rb")
21. └─base::.handleSimpleError(...)
22. └─rlang (local) h(simpleError(msg, call))
23. └─handlers[[1L]](cnd)
24. └─rlang::abort(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 4 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [11s/14s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘multipage.Rmd’ using rmarkdown
Quitting from lines at lines 26-28 [unnamed-chunk-2] (multipage.Rmd)
Error: processing vignette 'multipage.Rmd' failed with diagnostics:
URL currently unavailable. Please try later.
Caused by error in `readBin()`:
! Failed writing received data to disk/application
--- failed re-building ‘multipage.Rmd’
--- re-building ‘usedthese.Rmd’ using rmarkdown
--- finished re-building ‘usedthese.Rmd’
SUMMARY: processing the following file failed:
‘multipage.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [5s/6s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs