* using log directory 'd:/Rcompile/CRANpkg/local/4.4/madshapR.Rcheck' * using R version 4.4.0 RC (2024-04-16 r86468 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 'madshapR/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'madshapR' version '1.0.3' * 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 'madshapR' can be installed ... OK * 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 ... [3s] OK * checking whether the package can be loaded with stated dependencies ... [3s] OK * checking whether the package can be unloaded cleanly ... [3s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s] OK * checking whether the namespace can be unloaded cleanly ... [3s] OK * checking loading without being on the library search path ... [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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [31s] ERROR Running examples in 'madshapR-Ex.R' failed The error most likely occurred in: > ### Name: dataset_summarize > ### Title: Generate an assessment report and summary of a dataset > ### Aliases: dataset_summarize > > ### ** Examples > > { + + # use madshapR_DEMO provided by the package + library(dplyr) + + #' ###### Example : Any data frame can be summarized + dataset <- iris['Sepal.Width'] + glimpse(dataset_summarize(dataset)) + + } Attaching package: 'dplyr' The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union - DATA DICTIONARY ASSESSMENT: data_dict -------------- Assess the standard adequacy of naming Assess the uniqueness of variable names Assess the presence of possible duplicated columns Assess the presence of empty rows in the data dictionary Assess the presence of empty columns in the data dictionary Assess the completion of `label(:xx)` column in 'Variables' Assess the `valueType` column in 'Variables' Generate report - WARNING MESSAGES (if any): -------------------------------------------- - DATASET ASSESSMENT: dataset -------------------------- Assess the standard adequacy of naming Assess the presence of variable names both in dataset and data dictionary Assess the presence of possible duplicated variable in the dataset Error in `rename()`: ! Can't rename columns that don't exist. ✖ Column `col_name` doesn't exist. Backtrace: ▆ 1. ├─pillar::glimpse(dataset_summarize(dataset)) 2. ├─madshapR::dataset_summarize(dataset) 3. │ └─madshapR::dataset_evaluate(...) 4. │ └─... %>% select("condition", "name_var", "value") 5. ├─dplyr::select(., "condition", "name_var", "value") 6. ├─dplyr::mutate(...) 7. ├─dplyr::rename(., name_var = "col_name") 8. ├─dplyr:::rename.data.frame(., name_var = "col_name") 9. │ └─tidyselect::eval_rename(expr(c(...)), .data) 10. │ └─tidyselect:::rename_impl(...) 11. │ └─tidyselect:::eval_select_impl(...) 12. │ ├─tidyselect:::with_subscript_errors(...) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─tidyselect:::vars_select_eval(...) 15. │ └─tidyselect:::walk_data_tree(expr, data_mask, context_mask) 16. │ └─tidyselect:::eval_c(expr, data_mask, context_mask) 17. │ └─tidyselect:::reduce_sels(node, data_mask, context_mask, init = init) 18. │ └─tidyselect:::walk_data_tree(new, data_mask, context_mask) 19. │ └─tidyselect:::as_indices_sel_impl(...) 20. │ └─tidyselect:::as_indices_impl(...) 21. │ └─tidyselect:::chr_as_locations(x, vars, call = call, arg = arg) 22. │ └─vctrs::vec_as_location(...) 23. └─vctrs (local) ``() 24. └─vctrs:::stop_subscript_oob(...) 25. └─vctrs:::stop_subscript(...) 26. └─rlang::abort(...) Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [2s] OK * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... [11s] OK * DONE Status: 1 ERROR