* using log directory 'd:/RCompile/CRANincoming/R-devel/paramix.Rcheck' * using R Under development (unstable) (2024-12-02 r87417 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 'paramix/DESCRIPTION' ... OK * this is package 'paramix' version '0.0.1' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Carl Pearson ' New submission Possibly misspelled words in DESCRIPTION: Disaggregate (2:22) disaggregating (13:9) parametrization (14:33) 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'paramix' can be installed ... OK * checking installed package size ... 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... NOTE distill_summary: no visible binding for global variable 'partition' Undefined global functions or variables: partition * checking Rd files ... 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 ... 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 ... OK Running 'testthat.R' * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... ERROR Error(s) in re-building vignettes: --- re-building 'intro.Rmd' using rmarkdown 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 ... [21s] OK * checking HTML version of manual ... OK * DONE Status: 2 ERRORs, 2 NOTEs