- 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 'inspectdf/DESCRIPTION' ... OK
- this is package 'inspectdf' version '0.0.12.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 'inspectdf' can be installed ... OK
See the install log for details.
- used C++ compiler: 'g++.exe (GCC) 13.3.0'
- 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 ... [3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s] OK
- checking whether the package can be unloaded cleanly ... [2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s] OK
- checking whether the namespace can be unloaded cleanly ... [3s] OK
- checking loading without being on the library search path ... [3s] OK
- checking whether startup messages can be suppressed ... [3s] 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 ... [13s] 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 ... OK
- checking examples ... [8s] ERROR
Running examples in 'inspectdf-Ex.R' failed
The error most likely occurred in:
> ### Name: show_plot
> ### Title: Simple graphical inspection of dataframe summaries
> ### Aliases: show_plot
>
> ### ** Examples
>
> # Load 'starwars' data
> data("starwars", package = "dplyr")
>
> # Horizontal bar plot for categorical column composition
> x <- inspect_cat(starwars)
> show_plot(x)
Error in `group_by()`:
! Must group by variables found in `.data`.
✖ Column `col_name` is not found.
Backtrace:
▆
1. ├─inspectdf::show_plot(x)
2. │ └─inspectdf:::plot_cat(x, ...)
3. │ └─inspectdf:::collapse_levels(lvl_df, i)
4. │ └─... %>% mutate(level_key = paste0(value, "-", col_name))
5. ├─dplyr::mutate(., level_key = paste0(value, "-", col_name))
6. ├─dplyr::arrange(., col_name)
7. ├─dplyr::ungroup(.)
8. ├─dplyr::mutate(., colvalstretch = colvalstretch * (1 - 0.8 * (1/length(colval))))
9. ├─dplyr::mutate(...)
10. ├─dplyr::mutate(., colval = cumsum(prop))
11. ├─dplyr::group_by(., col_name)
12. └─dplyr:::group_by.data.frame(., col_name)
13. └─dplyr::group_by_prepare(.data, ..., .add = .add, error_call = current_env())
14. └─rlang::abort(bullets, call = error_call)
Execution halted
- checking PDF version of manual ... [18s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 1 ERROR