* using log directory 'd:/Rcompile/CRANpkg/local/4.4/pubh.Rcheck' * using R version 4.4.1 (2024-06-14 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 'pubh/DESCRIPTION' ... OK * this is package 'pubh' version '1.3.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 'pubh' can be installed ... OK See 'https://www.r-project.org/nosvn/R.check/r-release-windows-x86_64/pubh-00install.html' 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 ... [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 ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [3s] 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 ... [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 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 ... [32s] ERROR Running examples in 'pubh-Ex.R' failed The error most likely occurred in: > ### Name: cosm_reg > ### Title: Cosmetics for tables of regression coefficients. Converts tables > ### generated by 'tbl_regression' to 'huxtable' and adds some cosmetics. > ### Aliases: cosm_reg > > ### ** Examples > > require(sjlabelled, quietly = TRUE) Attaching package: 'sjlabelled' The following object is masked from 'package:huxtable': set_label The following object is masked from 'package:ggplot2': as_label > > data(diet, package = "Epi") > diet <- diet %>% + var_labels( + chd = "Coronary Heart Disease", + fibre = "Fibre intake (g/day)" + ) > > model_binom <- glm(chd ~ fibre, data = diet, family = binomial) > > model_binom %>% + tbl_regression(exponentiate = TRUE) %>% + cosm_reg(bold = TRUE) %>% + theme_pubh(1) %>% + add_footnote(get_r2(model_binom), font_size = 9) Error in gtsummary::modify_footnote(., everything() ~ NA, abbreviation = TRUE) : The package "broom.helpers" (>= 1.15.0) is required. Calls: %>% ... -> tbl_regression -> check_pkg_installed Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [20s] ERROR Error(s) in re-building vignettes: --- re-building 'introduction.Rmd' using rmarkdown Quitting from lines 349-353 [unnamed-chunk-26] (introduction.Rmd) Error: processing vignette 'introduction.Rmd' failed with diagnostics: The package "broom.helpers" (>= 1.15.0) is required. --- failed re-building 'introduction.Rmd' --- re-building 'regression.Rmd' using rmarkdown Quitting from lines 118-122 [unnamed-chunk-9] (regression.Rmd) Error: processing vignette 'regression.Rmd' failed with diagnostics: The package "broom.helpers" (>= 1.15.0) is required. --- failed re-building 'regression.Rmd' SUMMARY: processing the following files failed: 'introduction.Rmd' 'regression.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [26s] OK * checking HTML version of manual ... [9s] OK * DONE Status: 2 ERRORs