* using log directory ‘/srv/hornik/tmp/CRAN_pretest/paramix.Rcheck’ * using R Under development (unstable) (2024-12-02 r87417) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.1 (1) Debian flang-new version 19.1.1 (1) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘paramix/DESCRIPTION’ ... OK * this is package ‘paramix’ version ‘0.0.1’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/5s] NOTE Maintainer: ‘Carl Pearson ’ New submission Possibly misspelled words in DESCRIPTION: Disaggregate (2:22) disaggregating (13:9) upscaling (15:68) * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘paramix’ can be installed ... [1s/1s] OK * checking package directory ... OK * checking for future file timestamps ... 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/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/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 ... [2s/2s] NOTE distill_summary: no visible binding for global variable ‘partition’ Undefined global functions or variables: partition * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... 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 include directives in Makefiles ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [0s/0s] ERROR Running examples in ‘paramix-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: alembic > ### Title: Create the Blending and Distilling Object > ### Aliases: alembic > > ### ** Examples > > ifr_levin <- function(age_in_years) { + (10^(-3.27 + 0.0524 * age_in_years))/100 + } > age_limits <- c(seq(0, 69, by = 5), 70, 80, 100) > age_pyramid <- data.frame( + from = 0:100, weight = ifelse(0:100 < 65, 1, .99^(0:100-64)) + ) # flat age distribution, then 1% annual deaths > ifr_alembic <- alembic(ifr_levin, age_pyramid, age_limits, 0:100) Error in to_function(f_pop, range(overall_partition), pop_interp_opts) : for integral data, the final entry should be 0; got instead: 0.696413218049573 Calls: alembic -> to_function Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [1s/1s] OK Running ‘testthat.R’ [1s/1s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [3s/3s] ERROR Error(s) in re-building vignettes: ... --- re-building ‘intro.Rmd’ using rmarkdown ** Processing: /srv/hornik/tmp/CRAN_pretest/paramix.Rcheck/vign_test/paramix/vignettes/intro_files/figure-html/unnamed-chunk-2-1.png 4800x1800 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 84388 bytes Input file size = 85366 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 82348 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 IDAT size = 60011 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 IDAT size = 58691 Selecting parameters: zc = 9 zm = 8 zs = 3 f = 5 IDAT size = 58691 Output IDAT size = 58691 bytes (25697 bytes decrease) Output file size = 58769 bytes (26597 bytes = 31.16% decrease) Quitting from lines 90-114 [create_pops] (intro.Rmd) Error: processing vignette 'intro.Rmd' failed with diagnostics: there is no package called 'wpp2022' --- failed re-building ‘intro.Rmd’ SUMMARY: processing the following file failed: ‘intro.Rmd’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [2s/2s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs, 2 NOTEs