- using R version 4.4.3 (2025-02-28 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'ggRtsy/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'ggRtsy' 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'ggRtsy' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... 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] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [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] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... 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 contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [4s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [4s] ERROR
Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(ggplot2)
> library(dplyr)
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
>
> library(ggRtsy)
>
> test_check("ggRtsy")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 3 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-RectangleFiller.R:7:3'): Rectangle Filler works ────────────────
<vctrs_error_subscript_oob/vctrs_error_subscript/rlang_error/error/condition>
Error in `data[[1, 1]]`: Can't extract rows past the end.
i Location 1 doesn't exist.
i There are only 0 rows.
Backtrace:
▆
1. ├─ggRtsy::RectangleFiller(...) at test-RectangleFiller.R:7:3
2. │ ├─data[[1, 1]]
3. │ └─tibble:::`[[.tbl_df`(data, 1, 1)
4. │ └─tibble:::vectbl_as_row_location2(i, fast_nrow(x), i_arg)
5. │ ├─tibble:::subclass_row_index_errors(...)
6. │ │ └─base::withCallingHandlers(...)
7. │ └─vctrs::vec_as_location2(i, n, call = call)
8. │ ├─vctrs:::result_get(...)
9. │ └─vctrs:::vec_as_location2_result(...)
10. │ ├─base::tryCatch(...)
11. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
12. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
13. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
14. │ └─vctrs::vec_as_location(i, n, names = names, arg = arg, call = call)
15. └─vctrs (local) `<fn>`()
16. └─vctrs:::stop_subscript_oob(...)
17. └─vctrs:::stop_subscript(...)
18. └─rlang::abort(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 3 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [4s] ERROR
Error(s) in re-building vignettes:
--- re-building 'Vignette.Rmd' using rmarkdown
Quitting from Vignette.Rmd:47-49 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NULL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Vignette.Rmd' failed with diagnostics:
Can't extract rows past the end.
ℹ Location 1 doesn't exist.
ℹ There are only 0 rows.
--- failed re-building 'Vignette.Rmd'
SUMMARY: processing the following file failed:
'Vignette.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [17s] OK
- checking HTML version of manual ... [1s] OK
- DONE
Status: 2 ERRORs