- using R version 4.4.0 (2024-04-24)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-13 (Debian 13.2.0-25) 13.2.0
GNU Fortran (Debian 13.2.0-25) 13.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘triptych/DESCRIPTION’ ... OK
- this is package ‘triptych’ version ‘0.1.2’
- 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 ‘triptych’ can be installed ... OK
See the install log for details.
- used C++ compiler: ‘g++-13 (Debian 13.2.0-25) 13.2.0’
- checking C++ specification ... OK
Not all R platforms support C++20
- 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 ... [2s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [1s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [2s/2s] 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 ... [14s/18s] OK
- checking Rd files ... [1s/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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking examples ... [11s/13s] ERROR
Running examples in ‘triptych-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: mcbdsc
> ### Title: Evaluation of forecasts using score decompositions
> ### Aliases: mcbdsc as_mcbdsc
>
> ### ** Examples
>
> data(ex_binary, package = "triptych")
>
> md <- mcbdsc(ex_binary)
> md
<triptych_mcbdsc[10]>
X01 X02 X03 X04 X05
<named list[3]> <named list[3]> <named list[3]> <named list[3]> <named list[3]>
X06 X07 X08 X09 X10
<named list[3]> <named list[3]> <named list[3]> <named list[3]> <named list[3]>
>
> autoplot(md)
Warning in ggplot2::geom_point(mapping = ggplot2::aes(x = 0, y = 0), colour = colour_unc, :
All aesthetics have length 1, but the data has 10 rows.
ℹ Please consider using `annotate()` or provide this layer with data containing
a single row.
Warning in construct_abline(mapping = mapping, data = data, slope = slope, :
All aesthetics have length 1, but the data has 10 rows.
ℹ Please consider using `annotate()` or provide this layer with data containing
a single row.
Error in `construct_abline()`:
! Problem while converting geom to grob.
ℹ Error occurred in the 3rd layer.
Caused by error in `txt$shape[, shape_vars]`:
! Can't subset columns that don't exist.
✖ Column `x_midpoint` doesn't exist.
Backtrace:
▆
1. ├─base (local) `<fn>`(x)
2. ├─ggplot2:::print.ggplot(x)
3. │ ├─ggplot2::ggplot_gtable(data)
4. │ └─ggplot2:::ggplot_gtable.ggplot_built(data)
5. │ └─ggplot2:::by_layer(...)
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. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]])
13. │ └─l$draw_geom(d, layout)
14. │ └─ggplot2 (local) draw_geom(..., self = self)
15. │ └─self$geom$draw_layer(...)
16. │ └─ggplot2 (local) draw_layer(..., self = self)
17. │ └─base::lapply(...)
18. │ └─ggplot2 (local) FUN(X[[i]], ...)
19. │ ├─rlang::inject(self$draw_panel(data, panel_params, coord, !!!params))
20. │ └─self$draw_panel(...)
21. │ └─geomtextpath (local) draw_panel(...)
22. │ └─geomtextpath:::abline2path(...)
23. │ └─super$draw_panel(unique(data), panel_params, coord, ...)
24. │ └─geomtextpath (local) draw_panel(...)
25. │ └─geomtextpath:::segment2path(...)
26. │ └─super$draw_panel(pieces, coord, text_params = params, ...)
27. │ └─geomtextpath (local) draw_panel(...)
28. │ └─geomtextpath::textpathGrob(...)
29. │ └─geomtextpath:::measure_label(...)
30. │ └─geomtextpath (local) measure(...)
31. │ └─geomtextpath:::text_shape(...)
32. │ ├─txt$shape[, shape_vars]
33. │ └─tibble:::`[.tbl_df`(txt$shape, , shape_vars)
34. │ └─tibble:::vectbl_as_col_location(...)
35. │ ├─tibble:::subclass_col_index_errors(...)
36. │ │ └─base::withCallingHandlers(...)
37. │ └─vctrs::vec_as_location(j, n, names, missing = "error", call = call)
38. └─vctrs (local) `<fn>`()
39. └─vctrs:::stop_subscript_oob(...)
40. └─vctrs:::stop_subscript(...)
41. └─rlang::abort(...)
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [3s/3s] OK
Running ‘testthat.R’ [2s/3s]
- checking PDF version of manual ... [6s/8s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR