Last updated on 2024-05-04 03:50:49 CEST.
Package | ERROR | OK |
---|---|---|
usedthese | 1 | 10 |
Current CRAN status: ERROR: 1, OK: 10
Version: 0.3.3
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/1s]
Running ‘testthat.R’ [12s/14s]
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
Flavor: r-release-linux-x86_64
Version: 0.3.3
Check: re-building of vignette outputs
Result: 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
Flavor: r-release-linux-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.