Package check result: OK Changes to worse in reverse depends: Package: pubh Check: examples New result: ERROR Running examples in ‘pubh-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: Bernard > ### Title: Survival of patients with sepsis. > ### Aliases: Bernard > ### Keywords: datasets > > ### ** Examples > > require(dplyr, quietly = TRUE) Attaching package: ‘dplyr’ The following object is masked from ‘package:huxtable’: add_rownames The following objects are masked from ‘package:stats’: filter, lag The following objects are masked from ‘package:base’: intersect, setdiff, setequal, union > data(Bernard) > > Bernard |> + select(fate, treat) |> + cross_tbl(by = "fate") Error in `dplyr::mutate()`: ℹ In argument: `df_stats = list(...)`. Caused by error in `dplyr::mutate()`: ℹ In argument: `stat = map(...)`. Caused by error in `glue_data()`: ! is.environment(.envir) is not TRUE Backtrace: 1. pubh::cross_tbl(select(Bernard, fate, treat), by = "fate") 51. gtsummary:::map(...) 52. base::lapply(.x, .f, ...) 53. gtsummary (local) FUN(X[[i]], ...) 54. glue::glue(...) 55. glue::glue_data(...) 56. base::stopifnot(is.environment(.envir)) 57. base::stop(simpleError(msg, call = if (p <- sys.parent(1L)) sys.call(p))) Execution halted Package: pubh Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘introduction.Rmd’ using rmarkdown Quitting from lines 134-142 [unnamed-chunk-6] (introduction.Rmd) Error: processing vignette 'introduction.Rmd' failed with diagnostics: ℹ In argument: `df_stats = list(...)`. Caused by error in `dplyr::mutate()`: ℹ In argument: `stat = map(...)`. Caused by error in `glue_data()`: ! is.environment(.envir) is not TRUE --- failed re-building ‘introduction.Rmd’ --- re-building ‘regression.Rmd’ using rmarkdown ** Processing: /home/hornik/tmp/CRAN_recheck/pubh.Rcheck/vign_test/pubh/vignettes/regression_files/figure-html/unnamed-chunk-3-1.png 480x384 pixels, 3x8 bits/pixel, RGB Input IDAT size = 17644 bytes Input file size = 17746 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 13737 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 13737 Output IDAT size = 13737 bytes (3907 bytes decrease) Output file size = 13815 bytes (3931 bytes = 22.15% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/pubh.Rcheck/vign_test/pubh/vignettes/regression_files/figure-html/unnamed-chunk-13-1.png 480x384 pixels, 3x8 bits/pixel, RGB Input IDAT size = 19860 bytes Input file size = 19962 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 14494 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 14494 Output IDAT size = 14494 bytes (5366 bytes decrease) Output file size = 14572 bytes (5390 bytes = 27.00% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/pubh.Rcheck/vign_test/pubh/vignettes/regression_files/figure-html/unnamed-chunk-14-1.png 480x384 pixels, 8 bits/pixel, 232 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 7074 bytes Input file size = 7860 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 6204 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 6204 Output IDAT size = 6204 bytes (870 bytes decrease) Output file size = 6282 bytes (1578 bytes = 20.08% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/pubh.Rcheck/vign_test/pubh/vignettes/regression_files/figure-html/unnamed-chunk-15-1.png 480x384 pixels, 3x8 bits/pixel, RGB Input IDAT size = 19570 bytes Input file size = 19672 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 14240 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 14240 Output IDAT size = 14240 bytes (5330 bytes decrease) Output file size = 14318 bytes (5354 bytes = 27.22% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/pubh.Rcheck/vign_test/pubh/vignettes/regression_files/figure-html/unnamed-chunk-18-1.png 480x384 pixels, 8 bits/pixel, 243 colors in palette Input IDAT size = 5174 bytes Input file size = 5993 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 4302 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 4302 Output IDAT size = 4302 bytes (872 bytes decrease) Output file size = 5121 bytes (872 bytes = 14.55% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/pubh.Rcheck/vign_test/pubh/vignettes/regression_files/figure-html/unnamed-chunk-23-1.png 480x384 pixels, 8 bits/pixel, 237 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 8448 bytes Input file size = 9261 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 7373 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 7373 Output IDAT size = 7373 bytes (1075 bytes decrease) Output file size = 7451 bytes (1810 bytes = 19.54% decrease) Quitting from lines 272-288 [unnamed-chunk-25] (regression.Rmd) Error: processing vignette 'regression.Rmd' failed with diagnostics: ℹ In argument: `tbl = switch(...)`. Caused by error in `dplyr::mutate()`: ℹ In argument: `df_stats = list(...)`. Caused by error in `dplyr::mutate()`: ℹ In argument: `stat = map(...)`. Caused by error in `glue_data()`: ! is.environment(.envir) is not TRUE --- failed re-building ‘regression.Rmd’ SUMMARY: processing the following files failed: ‘introduction.Rmd’ ‘regression.Rmd’ Error: Vignette re-building failed. Execution halted