- using R version 4.3.3 (2024-02-29 ucrt)
- using platform: x86_64-w64-mingw32 (64-bit)
- R was compiled by
gcc.exe (GCC) 12.3.0
GNU Fortran (GCC) 12.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'PHENTHAUproc/DESCRIPTION' ... OK
- this is package 'PHENTHAUproc' version '1.0.1'
- 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 'PHENTHAUproc' 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 R 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 ... [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 installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [24s] ERROR
Running examples in 'PHENTHAUproc-Ex.R' failed
The error most likely occurred in:
> ### Name: plot_station
> ### Title: Plot local PHENTHAUproc in a circle plot
> ### Aliases: plot_station
>
> ### ** Examples
>
>
> # load daily test data from Freiburg
> fr_df <- load_test("day")
> fr <- phenthau(fr_df)
Calculating PHENTHAUproc with daily mean, min and max temperature data.
First day of calculation: 2019-09-01
Last day of calculation: 2020-09-30
>
> plot_station(fr)
Error in `geomtextpath::geom_textpath()`:
! Problem while converting geom to grob.
ℹ Error occurred in the 2nd 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::textpathGrob(...)
23. │ └─geomtextpath:::measure_label(...)
24. │ └─geomtextpath (local) measure(...)
25. │ └─geomtextpath:::text_shape(...)
26. │ ├─txt$shape[, shape_vars]
27. │ └─tibble:::`[.tbl_df`(txt$shape, , shape_vars)
28. │ └─tibble:::vectbl_as_col_location(...)
29. │ ├─tibble:::subclass_col_index_errors(...)
30. │ │ └─base::withCallingHandlers(...)
31. │ └─vctrs::vec_as_location(j, n, names, missing = "error", call = call)
32. └─vctrs (local) `<fn>`()
33. └─vctrs:::stop_subscript_oob(...)
34. └─vctrs:::stop_subscript(...)
35. └─rlang::abort(...)
Execution halted
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [15s] OK
Running 'testthat.R' [14s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in 'inst/doc' ... OK
- checking re-building of vignette outputs ... [34s] ERROR
Error(s) in re-building vignettes:
--- re-building 'PHENTHAUproc.Rmd' using rmarkdown
Quitting from lines 121-123 [unnamed-chunk-6] (PHENTHAUproc.Rmd)
Error: processing vignette 'PHENTHAUproc.Rmd' failed with diagnostics:
Problem while converting geom to grob.
ℹ Error occurred in the 2nd layer.
Caused by error in `txt$shape[, shape_vars]`:
! Can't subset columns that don't exist.
✖ Column `x_midpoint` doesn't exist.
--- failed re-building 'PHENTHAUproc.Rmd'
SUMMARY: processing the following file failed:
'PHENTHAUproc.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [18s] OK
- checking HTML version of manual ... [7s] OK
- DONE
Status: 2 ERRORs