* using log directory 'd:/Rcompile/CRANpkg/local/4.5/triptych.Rcheck' * using R Under development (unstable) (2024-05-25 r86622 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'triptych' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 13.2.0' * checking C++ specification ... OK Not all R platforms support C++20 * checking installed package size ... OK * checking package 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 ... [2s] 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 ... [2s] OK * checking loading without being on the library search path ... [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 ... [6s] 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 ... [0s] 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 compiled code ... NOTE File 'triptych/libs/x64/triptych.dll': Found non-API calls to R: 'SETLENGTH', 'SET_TRUELENGTH' Compiled code should not call non-API entry points in R. See 'Writing portable packages' in the 'Writing R Extensions' manual. * checking examples ... [7s] ERROR Running examples in 'triptych-Ex.R' failed The error most likely occurred in: > ### Name: mcbdsc > ### Title: Evaluation of forecasts using score decompositions > ### Aliases: mcbdsc as_mcbdsc > > ### ** Examples > > data(ex_binary, package = "triptych") > > md <- mcbdsc(ex_binary) > md X01 X02 X03 X04 X05 X06 X07 X08 X09 X10 > > 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) ``(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) ``() 39. └─vctrs:::stop_subscript_oob(...) 40. └─vctrs:::stop_subscript(...) 41. └─rlang::abort(...) Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [2s] OK Running 'testthat.R' [2s] * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... [3s] OK * DONE Status: 1 ERROR, 1 NOTE