- 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 'EEAaq/DESCRIPTION' ... OK
- this is package 'EEAaq' version '1.0.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 'EEAaq' 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 ... [0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [0s] 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 ... [9s] 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 ... [1s] OK
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [110s] ERROR
Error(s) in re-building vignettes:
--- re-building 'vignettes.Rmd' using rmarkdown
Quitting from vignettes.Rmd:108-110 [unnamed-chunk-6]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `dplyr::summarise()`:
ℹ In argument: `gap = lubridate::interval(.data$DatetimeBegin,
.data$DatetimeBegin[-1])`.
ℹ In group 1: `AirQualityStationEoICode = "IT0477A"`.
Caused by error:
! `gap` must be size 1, not 1100.
ℹ To return more or less than 1 row per group, use `reframe()`.
---
Backtrace:
▆
1. ├─EEAaq::EEAaq_summary(data = data)
2. │ └─base::lapply(pollutant, g_length, data = data)
3. │ └─EEAaq (local) FUN(X[[i]], ...)
4. │ └─... %>% dplyr::tibble()
5. ├─dplyr::tibble(.)
6. │ └─tibble:::tibble_quos(xs, .rows, .name_repair)
7. │ └─rlang::eval_tidy(xs[[j]], mask)
8. ├─base::suppressWarnings(.)
9. │ └─base::withCallingHandlers(...)
10. ├─dplyr::mutate(...)
11. ├─base::as.data.frame(.)
12. ├─dplyr::summarise(...)
13. ├─dplyr::filter(., .data$gap > 0)
14. ├─dplyr::mutate(., gap = lubridate::time_length(.data$gap, unit = "hour"))
15. ├─dplyr::summarise(...)
16. ├─dplyr:::summarise.grouped_df(...)
17. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
18. │ └─base::withCallingHandlers(...)
19. └─dplyr:::dplyr_internal_error(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'vignettes.Rmd' failed with diagnostics:
ℹ In argument: `gap = lubridate::interval(.data$DatetimeBegin,
.data$DatetimeBegin[-1])`.
ℹ In group 1: `AirQualityStationEoICode = "IT0477A"`.
Caused by error:
! `gap` must be size 1, not 1100.
ℹ To return more or less than 1 row per group, use `reframe()`.
--- failed re-building 'vignettes.Rmd'
SUMMARY: processing the following file failed:
'vignettes.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [24s] OK
- checking HTML version of manual ... [4s] OK
- DONE
Status: 1 ERROR