R Under development (unstable) (2024-07-20 r86909 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > ## doRUnit.R --- Run RUnit tests > ## > ## Origianlly follows Gregor Gojanc's example in CRAN package 'gdata' > ## and the corresponding section in the R Wiki: > ## https://wiki.r-project.org/rwiki/doku.php?id=developers:runit > ## > ## Changed by Martin Maechler for Rmetrics, making them "runnable" > ## for *installed* packages without ./tests/ directory by placing > ## the bulk of the code e.g. in ../inst/unitTests/runTests.R > ## > ## Adapted for RQuantLib by Dirk Eddelbuettel, 29 Dec 2007 > ## Adapted for ChainLadder by Markus Gesmann, 4 Dec 2009 > > > if (require("RUnit", quietly=TRUE)) { + + #wd <- getwd() + #pkg <- sub("\\.Rcheck$", '', basename(dirname(wd))) # sub out trailing .Rcheck + #pkg <- gsub("[0-9.-]*$", '', pkg) # sub out -0.1.2 number + + pkg <- "ChainLadder" # cannot read from current dir in SVN tree + + library(package=pkg, character.only=TRUE) + + path <- system.file("unitTests", package = pkg) + + stopifnot(file.exists(path), file.info(path.expand(path))$isdir) + + source(file.path(path, "runTests.R"), echo = TRUE) + } Welcome to ChainLadder version 0.2.19 To cite package 'ChainLadder' in publications use: Gesmann M, Murphy D, Zhang Y, Carrato A, Wuthrich M, Concina F, Dal Moro E (2024). _ChainLadder: Statistical Methods and Models for Claims Reserving in General Insurance_. R package version 0.2.19, . To suppress this message use: suppressPackageStartupMessages(library(ChainLadder)) > pkg <- "ChainLadder" > if (require("RUnit", quietly = TRUE)) { + library(package = pkg, character.only = TRUE) + if (!(exists("path") && file.exists(path))) + .... [TRUNCATED] Executing test function test.BS.paid.adj ... Timing stopped at: 0.12 0 0.13 Error in func() : object 'chck1' not found In addition: Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry done successfully. Executing test function test.print.BootChainLadder ... BootChainLadder(Triangle = RAA) Latest Mean Ultimate Mean IBNR IBNR.S.E IBNR 75% IBNR 95% 1981 18,834 18,834 0 0 0 0 1982 16,704 16,879 175 705 191 1,655 1983 23,466 24,134 668 1,314 1,193 3,123 1984 27,067 28,783 1,716 1,939 2,749 5,270 1985 26,180 29,079 2,899 2,352 4,257 7,649 1986 15,852 19,516 3,664 2,428 5,020 8,111 1987 12,314 17,741 5,427 3,086 7,299 11,001 1988 13,112 24,412 11,300 5,227 14,255 20,898 1989 5,395 16,135 10,740 6,021 14,207 21,486 1990 2,063 20,147 18,084 14,036 25,462 44,479 Totals Latest: 160,987 Mean Ultimate: 215,659 Mean IBNR: 54,672 IBNR.S.E 19,526 Total IBNR 75%: 66,050 Total IBNR 95%: 88,931 done successfully. Executing test function test.seed.BootChainLadder ... done successfully. Executing test function test.CLFMdelta ... done successfully. Executing test function test.asTriangles ... Timing stopped at: 0 0 0 Error in aggregate.data.frame(as.data.frame(x), ...) : no rows to aggregate In addition: Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry 3: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 4: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry 5: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 6: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry done successfully. Executing test function test.getLatestCumulative.RAA ... done successfully. Executing test function test.getLatestCumulative.simple ... done successfully. Executing test function test.names_of_chainladder_Triangle ... Timing stopped at: 0.02 0 0.01 Error in `colnames<-`(`*tmp*`, value = numeric(0)) : attempt to set 'colnames' on an object with less than two dimensions done successfully. Executing test function test.tailfactor ... done successfully. Executing test function test.Mack1999 ... done successfully. Executing test function test.MackMortgageCVWithTail ... done successfully. Executing test function test.MackNANissue ... done successfully. Executing test function test.MackRAA ... done successfully. Executing test function test.MackRAA_tail_equals_1.05 ... done successfully. Executing test function test.print.MackChainLadder ... MackChainLadder(Triangle = RAA) Latest Dev.To.Date Ultimate IBNR Mack.S.E CV(IBNR) 1981 18,834 1.000 18,834 0 0 NaN 1982 16,704 0.991 16,858 154 143 0.928 1983 23,466 0.974 24,083 617 592 0.959 1984 27,067 0.943 28,703 1,636 713 0.436 1985 26,180 0.905 28,927 2,747 1,452 0.529 1986 15,852 0.813 19,501 3,649 1,995 0.547 1987 12,314 0.694 17,749 5,435 2,204 0.405 1988 13,112 0.546 24,019 10,907 5,354 0.491 1989 5,395 0.336 16,045 10,650 6,332 0.595 1990 2,063 0.112 18,402 16,339 24,566 1.503 Totals Latest: 160,987.00 Dev: 0.76 Ultimate: 213,122.23 IBNR: 52,135.23 Mack.S.E 26,880.74 CV(IBNR): 0.52 done successfully. Executing test function test.MCLweights ... done successfully. Executing test function test.print.MunichChainLadder ... MunichChainLadder(Paid = MCLpaid, Incurred = MCLincurred, est.sigmaP = 0.1, est.sigmaI = 0.1) Latest Paid Latest Incurred Latest P/I Ratio Ult. Paid Ult. Incurred 1 2,131 2,174 0.980 2,131 2,174 2 2,348 2,454 0.957 2,383 2,444 3 4,494 4,644 0.968 4,597 4,629 4 5,850 6,142 0.952 6,119 6,176 5 4,648 4,852 0.958 4,937 4,950 6 4,010 4,406 0.910 4,656 4,665 7 2,044 5,022 0.407 7,549 7,650 Ult. P/I Ratio 1 0.980 2 0.975 3 0.993 4 0.991 5 0.997 6 0.998 7 0.987 Totals Paid Incurred P/I Ratio Latest: 25,525 29,694 0.86 Ultimate: 32,371 32,688 0.99 done successfully. Executing test function test.FourTriangles ... done successfully. Executing test function test.ThreeTriangles ... done successfully. Executing test function test.checkTriangleInflation ... done successfully. Executing test function test.cyEffTest ... done successfully. Executing test function test.dfCorTest ... done successfully. Executing test function test.Triangles.DateLabels ... done successfully. Executing test function test.print.ata ... dev origin 1-2 2-3 3-4 4-5 5-6 6-7 7-8 8-9 9-10 1 3.143 1.543 1.278 1.238 1.209 1.044 1.040 1.063 1.018 2 3.511 1.755 1.545 1.133 1.084 1.128 1.057 1.086 NA 3 4.448 1.717 1.458 1.232 1.037 1.120 1.061 NA NA 4 4.568 1.547 1.712 1.073 1.087 1.047 NA NA NA 5 2.564 1.873 1.362 1.174 1.138 NA NA NA NA 6 3.366 1.636 1.369 1.236 NA NA NA NA NA 7 2.923 1.878 1.439 NA NA NA NA NA NA 8 3.953 2.016 NA NA NA NA NA NA NA 9 3.619 NA NA NA NA NA NA NA NA smpl 3.566 1.746 1.452 1.181 1.111 1.085 1.053 1.075 1.018 vwtd 3.491 1.747 1.457 1.174 1.104 1.086 1.054 1.077 1.018 done successfully. Executing test function test.CCMethod.GenIns ... done successfully. Executing test function test.CCMethod.OneRowTriangle ... done successfully. Executing test function test.CCMethod.PremiumRepeated ... done successfully. Executing test function test.CCMethod.RecyclePremium ... done successfully. Executing test function test.CCMethod.RepeatPremium ... done successfully. Executing test function test.CCMethod.qincurred ... done successfully. Executing test function test.FutureValueGradient_works_as_designed_CapeCod ... done successfully. Executing test function test.FutureValueGradient_works_as_designed_LDF ... done successfully. Executing test function test.LDFMethod.BadGrowthFcn ... Error in ClarkLDF(GenIns, G = "Gesmann") : Growth function 'Gesmann' unrecognized In addition: There were 16 warnings (use warnings() to see them) done successfully. Executing test function test.LDFMethod.GenIns ... done successfully. Executing test function test.LDFMethod.GenIns.1stEvalMidYear ... done successfully. Executing test function test.LDFMethod.GenIns.Months ... done successfully. Executing test function test.LDFMethod.LastAgeBeyondmaxage ... Error in ClarkLDF(GenIns, maxage = 8) : 'maxage' must not be less than last age in triangle done successfully. Executing test function test.LDFMethod.Negative_adol ... Error in ClarkLDF(GenIns, adol.age = 1) : age of average date of loss must be < origin.width (ie, within origin period) done successfully. Executing test function test.LDFMethod.NonCharacterGrowthFcn ... Error in ClarkLDF(GenIns, G = 23) : Growth function G must be the character name of a growth function done successfully. Executing test function test.LDFMethod.NonIncreasingAges ... Error in ClarkLDF(X, maxage = 20) : ages must be strictly increasing done successfully. Executing test function test.LDFMethod.NonNumericAges ... Error in ClarkLDF(X, maxage = 20) : non-'age' column name(s) In addition: Warning message: In ClarkLDF(X, maxage = 20) : NAs introduced by coercion done successfully. Executing test function test.LDFMethod.OneRowTriangle ... done successfully. Executing test function test.LDFMethod.SmallMatrix ... Error in ClarkLDF(GenIns[1:3, 1:3]) : matrix must have at least 4 columns done successfully. Executing test function test.LDFMethod.TooManyGrowthFcns ... Error in ClarkLDF(GenIns, G = c("weibull", "loglogistic")) : Only one growth function can be specified done successfully. Executing test function test.LDFMethod.Vector ... Error in ClarkLDF(X, maxage = 20) : ClarkLDF expects Triangle in matrix format done successfully. Executing test function test.LDFMethod.WideOriginPeriod ... done successfully. Executing test function test.LDFMethod.adol ... Error in if (adol) { : argument is not interpretable as logical done successfully. Executing test function test.LDFMethod.adol_FALSE_ageSpecified ... Error in ClarkLDF(GenIns, adol = FALSE, adol.age = 0.5) : adol.age is specified but adol is FALSE done successfully. Executing test function test.LDFMethod.adol_FALSE_origin.widthSpecified ... Error in ClarkLDF(GenIns, adol = FALSE, origin.width = 1) : origin.width is specified but adol is FALSE done successfully. Executing test function test.LDFMethod.incrementalTriangle ... done successfully. Executing test function test.LDFMethod.quarterly_observations_of_annual_periods ... done successfully. Executing test function test.Table68_FutureValue_Equal ... done successfully. Executing test function test.correct_SummaryCapeCod_comparison ... done successfully. Executing test function test.correct_SummaryLDF_comparison ... done successfully. Executing test function test.print.ClarkCapeCod ... Origin CurrentValue Premium ELR FutureGrowthFactor FutureValue UltimateValue 1981 18,834 25,000 1.104 0.1707 4,713 23,547 1982 16,704 25,000 1.104 0.1934 5,341 22,045 1983 23,466 25,000 1.104 0.2217 6,122 29,588 1984 27,067 25,000 1.104 0.2575 7,111 34,178 1985 26,180 25,000 1.104 0.3039 8,389 34,569 1986 15,852 25,000 1.104 0.3652 10,082 25,934 1987 12,314 25,000 1.104 0.4484 12,379 24,693 1988 13,112 25,000 1.104 0.5635 15,559 28,671 1989 5,395 25,000 1.104 0.7228 19,955 25,350 1990 2,063 25,000 1.104 0.9220 25,455 27,518 Total 160,987 250,000 115,105 276,092 StdError CV% 2,885 61.2 3,092 57.9 3,328 54.4 3,595 50.6 3,896 46.4 4,231 42.0 4,590 37.1 4,957 31.9 5,314 26.6 5,707 22.4 29,046 25.2 done successfully. Executing test function test.print.ClarkLDF ... Origin CurrentValue Ldf UltimateValue FutureValue StdError CV% 1981 18,834 1.216 22,906 4,072 2,792 68.6 1982 16,704 1.251 20,899 4,195 2,833 67.5 1983 23,466 1.297 30,441 6,975 4,050 58.1 1984 27,067 1.360 36,823 9,756 5,147 52.8 1985 26,180 1.451 37,996 11,816 5,858 49.6 1986 15,852 1.591 25,226 9,374 4,877 52.0 1987 12,314 1.829 22,528 10,214 5,206 51.0 1988 13,112 2.305 30,221 17,109 7,568 44.2 1989 5,395 3.596 19,399 14,004 7,506 53.6 1990 2,063 12.394 25,569 23,506 17,227 73.3 Total 160,987 272,009 111,022 36,102 32.5 done successfully. Executing test function test.zero_expected_value ... done successfully. Executing test function test.getLatestCumulative ... done successfully. Executing test function test.glmReserve.DateLabels ... done successfully. Executing test function test.print.glmReserve ... Latest Dev.To.Date Ultimate IBNR S.E CV 2 5339.085 0.98251776 5434.085 95 110.0999 1.1589460 3 4909.315 0.91262828 5379.315 470 216.0434 0.4596668 4 4588.268 0.86599394 5298.268 710 260.8721 0.3674255 5 3873.311 0.79725464 4858.311 985 303.5500 0.3081726 6 3691.712 0.72234788 5110.712 1419 375.0139 0.2642804 7 3483.130 0.61527116 5661.130 2178 495.3780 0.2274463 8 2864.498 0.42221223 6784.498 3920 789.9611 0.2015207 9 1363.294 0.24162052 5642.294 4279 1046.5138 0.2445697 10 344.014 0.06921791 4970.014 4626 1980.1014 0.4280375 total 30456.627 0.61982291 49137.627 18681 2945.6609 0.1576822 done successfully. Executing test function test.EverestLiabNP ... done successfully. Executing test function test.EverestLiabProp ... done successfully. Executing test function test.Mack1993 ... done successfully. Executing test function test.SCORLiabProp ... done successfully. Executing test function test.SCORMotorNP ... done successfully. Executing test function test.as.triangle ... done successfully. Executing test function test.print.triangle ... dev origin 1 2 3 4 5 1 100 150 175 180 200 2 110 168 192 205 NA 3 115 169 202 NA NA 4 125 185 NA NA NA 5 150 NA NA NA NA done successfully. Executing test function test.print.tweedieReserve ... | | | 0% | | | 1% | |= | 1% | |= | 2% | |== | 2% | |== | 3% | |== | 4% | |=== | 4% | |=== | 5% | |==== | 5% | |==== | 6% | |===== | 7% | |===== | 8% | |====== | 8% | |====== | 9% | |======= | 9% | |======= | 10% | |======= | 11% | |======== | 11% | |======== | 12% | |========= | 12% | |========= | 13% | |========= | 14% | |========== | 14% | |========== | 15% | |=========== | 15% | |=========== | 16% | |============ | 17% | |============ | 18% | |============= | 18% | |============= | 19% | |============== | 19% | |============== | 20% | |============== | 21% | |=============== | 21% | |=============== | 22% | |================ | 22% | |================ | 23% | |================ | 24% | |================= | 24% | |================= | 25% | |================== | 25% | |================== | 26% | |=================== | 27% | |=================== | 28% | |==================== | 28% | |==================== | 29% | |===================== | 29% | |===================== | 30% | |===================== | 31% | |====================== | 31% | |====================== | 32% | |======================= | 32% | |======================= | 33% | |======================= | 34% | |======================== | 34% | |======================== | 35% | |========================= | 35% | |========================= | 36% | |========================== | 36% | |========================== | 37% | |========================== | 38% | |=========================== | 38% | |=========================== | 39% | |============================ | 39% | |============================ | 40% | |============================ | 41% | |============================= | 41% | |============================= | 42% | |============================== | 42% | |============================== | 43% | |============================== | 44% | |=============================== | 44% | |=============================== | 45% | |================================ | 45% | |================================ | 46% | |================================= | 46% | |================================= | 47% | |================================= | 48% | |================================== | 48% | |================================== | 49% | |=================================== | 49% | |=================================== | 50% | |=================================== | 51% | |==================================== | 51% | |==================================== | 52% | |===================================== | 52% | |===================================== | 53% | |===================================== | 54% | |====================================== | 54% | |====================================== | 55% | |======================================= | 55% | |======================================= | 56% | |======================================== | 56% | |======================================== | 57% | |======================================== | 58% | |========================================= | 58% | |========================================= | 59% | |========================================== | 59% | |========================================== | 60% | |========================================== | 61% | |=========================================== | 61% | |=========================================== | 62% | |============================================ | 62% | |============================================ | 63% | |============================================ | 64% | |============================================= | 64% | |============================================= | 65% | |============================================== | 65% | |============================================== | 66% | |=============================================== | 66% | |=============================================== | 67% | |=============================================== | 68% | |================================================ | 68% | |================================================ | 69% | |================================================= | 69% | |================================================= | 70% | |================================================= | 71% | |================================================== | 71% | |================================================== | 72% | |=================================================== | 72% | |=================================================== | 73% | |==================================================== | 74% | |==================================================== | 75% | |===================================================== | 75% | |===================================================== | 76% | |====================================================== | 76% | |====================================================== | 77% | |====================================================== | 78% | |======================================================= | 78% | |======================================================= | 79% | |======================================================== | 79% | |======================================================== | 80% | |======================================================== | 81% | |========================================================= | 81% | |========================================================= | 82% | |========================================================== | 82% | |========================================================== | 83% | |=========================================================== | 84% | |=========================================================== | 85% | |============================================================ | 85% | |============================================================ | 86% | |============================================================= | 86% | |============================================================= | 87% | |============================================================= | 88% | |============================================================== | 88% | |============================================================== | 89% | |=============================================================== | 89% | |=============================================================== | 90% | |=============================================================== | 91% | |================================================================ | 91% | |================================================================ | 92% | |================================================================= | 92% | |================================================================= | 93% | |================================================================== | 94% | |================================================================== | 95% | |=================================================================== | 95% | |=================================================================== | 96% | |==================================================================== | 96% | |==================================================================== | 97% | |==================================================================== | 98% | |===================================================================== | 98% | |===================================================================== | 99% | |======================================================================| 99% | |======================================================================| 100%tweedieReserve(triangle = MW2008, var.power = 1, link.power = 0, design.type = c(1, 1, 0), rereserving = TRUE, progressBar = TRUE) Latest IBNR IBNR.S.E CDR(1)S.E 2 3902425 4302 5795.098 5795.098 3 3898825 9284 7726.977 6126.443 4 3548422 27938 12388.204 10199.100 5 3585812 50994 16315.261 11054.557 6 3641036 111455 23381.986 17071.675 7 3428335 187452 30107.038 19444.051 8 3158581 411752 42900.342 31767.699 9 2144738 1433046 98098.635 87722.035 total 27308174 2236224 126927.777 106189.142 done successfully. Executing test function test.tweedieReserve ... | | | 0% | | | 1% | |= | 1% | |= | 2% | |== | 2% | |== | 3% | |== | 4% | |=== | 4% | |=== | 5% | |==== | 5% | |==== | 6% | |===== | 7% | |===== | 8% | |====== | 8% | |====== | 9% | |======= | 9% | |======= | 10% | |======= | 11% | |======== | 11% | |======== | 12% | |========= | 12% | |========= | 13% | |========= | 14% | |========== | 14% | |========== | 15% | |=========== | 15% | |=========== | 16% | |============ | 17% | |============ | 18% | |============= | 18% | |============= | 19% | |============== | 19% | |============== | 20% | |============== | 21% | |=============== | 21% | |=============== | 22% | |================ | 22% | |================ | 23% | |================ | 24% | |================= | 24% | |================= | 25% | |================== | 25% | |================== | 26% | |=================== | 27% | |=================== | 28% | |==================== | 28% | |==================== | 29% | |===================== | 29% | |===================== | 30% | |===================== | 31% | |====================== | 31% | |====================== | 32% | |======================= | 32% | |======================= | 33% | |======================= | 34% | |======================== | 34% | |======================== | 35% | |========================= | 35% | |========================= | 36% | |========================== | 36% | |========================== | 37% | |========================== | 38% | |=========================== | 38% | |=========================== | 39% | |============================ | 39% | |============================ | 40% | |============================ | 41% | |============================= | 41% | |============================= | 42% | |============================== | 42% | |============================== | 43% | |============================== | 44% | |=============================== | 44% | |=============================== | 45% | |================================ | 45% | |================================ | 46% | |================================= | 46% | |================================= | 47% | |================================= | 48% | |================================== | 48% | |================================== | 49% | |=================================== | 49% | |=================================== | 50% | |=================================== | 51% | |==================================== | 51% | |==================================== | 52% | |===================================== | 52% | |===================================== | 53% | |===================================== | 54% | |====================================== | 54% | |====================================== | 55% | |======================================= | 55% | |======================================= | 56% | |======================================== | 56% | |======================================== | 57% | |======================================== | 58% | |========================================= | 58% | |========================================= | 59% | |========================================== | 59% | |========================================== | 60% | |========================================== | 61% | |=========================================== | 61% | |=========================================== | 62% | |============================================ | 62% | |============================================ | 63% | |============================================ | 64% | |============================================= | 64% | |============================================= | 65% | |============================================== | 65% | |============================================== | 66% | |=============================================== | 66% | |=============================================== | 67% | |=============================================== | 68% | |================================================ | 68% | |================================================ | 69% | |================================================= | 69% | |================================================= | 70% | |================================================= | 71% | |================================================== | 71% | |================================================== | 72% | |=================================================== | 72% | |=================================================== | 73% | |==================================================== | 74% | |==================================================== | 75% | |===================================================== | 75% | |===================================================== | 76% | |====================================================== | 76% | |====================================================== | 77% | |====================================================== | 78% | |======================================================= | 78% | |======================================================= | 79% | |======================================================== | 79% | |======================================================== | 80% | |======================================================== | 81% | |========================================================= | 81% | |========================================================= | 82% | |========================================================== | 82% | |========================================================== | 83% | |=========================================================== | 84% | |=========================================================== | 85% | |============================================================ | 85% | |============================================================ | 86% | |============================================================= | 86% | |============================================================= | 87% | |============================================================= | 88% | |============================================================== | 88% | |============================================================== | 89% | |=============================================================== | 89% | |=============================================================== | 90% | |=============================================================== | 91% | |================================================================ | 91% | |================================================================ | 92% | |================================================================= | 92% | |================================================================= | 93% | |================================================================== | 94% | |================================================================== | 95% | |=================================================================== | 95% | |=================================================================== | 96% | |==================================================================== | 96% | |==================================================================== | 97% | |==================================================================== | 98% | |===================================================================== | 98% | |===================================================================== | 99% | |======================================================================| 99% | |======================================================================| 100%$Prediction IBNR CDR(1) mean 2233502.0 2235424.8 sd 131150.7 108482.8 50% 2231228.0 2234807.4 75% 2320192.5 2306291.4 90% 2409512.8 2380118.4 95% 2451859.8 2421738.6 99.5% 2555094.2 2495475.3 $Diagnostic GLMReserve mean(IBNR) mean(CDR(1)) 2237826 2233502 2235425 | | | 0% | | | 1% | |= | 1% | |= | 2% | |== | 2% | |== | 3% | |== | 4% | |=== | 4% | |=== | 5% | |==== | 5% | |==== | 6% | |===== | 7% | |===== | 8% | |====== | 8% | |====== | 9% | |======= | 9% | |======= | 10% | |======= | 11% | |======== | 11% | |======== | 12% | |========= | 12% | |========= | 13% | |========= | 14% | |========== | 14% | |========== | 15% | |=========== | 15% | |=========== | 16% | |============ | 17% | |============ | 18% | |============= | 18% | |============= | 19% | |============== | 19% | |============== | 20% | |============== | 21% | |=============== | 21% | |=============== | 22% | |================ | 22% | |================ | 23% | |================ | 24% | |================= | 24% | |================= | 25% | |================== | 25% | |================== | 26% | |=================== | 27% | |=================== | 28% | |==================== | 28% | |==================== | 29% | |===================== | 29% | |===================== | 30% | |===================== | 31% | |====================== | 31% | |====================== | 32% | |======================= | 32% | |======================= | 33% | |======================= | 34% | |======================== | 34% | |======================== | 35% | |========================= | 35% | |========================= | 36% | |========================== | 36% | |========================== | 37% | |========================== | 38% | |=========================== | 38% | |=========================== | 39% | |============================ | 39% | |============================ | 40% | |============================ | 41% | |============================= | 41% | |============================= | 42% | |============================== | 42% | |============================== | 43% | |============================== | 44% | |=============================== | 44% | |=============================== | 45% | |================================ | 45% | |================================ | 46% | |================================= | 46% | |================================= | 47% | |================================= | 48% | |================================== | 48% | |================================== | 49% | |=================================== | 49% | |=================================== | 50% | |=================================== | 51% | |==================================== | 51% | |==================================== | 52% | |===================================== | 52% | |===================================== | 53% | |===================================== | 54% | |====================================== | 54% | |====================================== | 55% | |======================================= | 55% | |======================================= | 56% | |======================================== | 56% | |======================================== | 57% | |======================================== | 58% | |========================================= | 58% | |========================================= | 59% | |========================================== | 59% | |========================================== | 60% | |========================================== | 61% | |=========================================== | 61% | |=========================================== | 62% | |============================================ | 62% | |============================================ | 63% | |============================================ | 64% | |============================================= | 64% | |============================================= | 65% | |============================================== | 65% | |============================================== | 66% | |=============================================== | 66% | |=============================================== | 67% | |=============================================== | 68% | |================================================ | 68% | |================================================ | 69% | |================================================= | 69% | |================================================= | 70% | |================================================= | 71% | |================================================== | 71% | |================================================== | 72% | |=================================================== | 72% | |=================================================== | 73% | |==================================================== | 74% | |==================================================== | 75% | |===================================================== | 75% | |===================================================== | 76% | |====================================================== | 76% | |====================================================== | 77% | |====================================================== | 78% | |======================================================= | 78% | |======================================================= | 79% | |======================================================== | 79% | |======================================================== | 80% | |======================================================== | 81% | |========================================================= | 81% | |========================================================= | 82% | |========================================================== | 82% | |========================================================== | 83% | |=========================================================== | 84% | |=========================================================== | 85% | |============================================================ | 85% | |============================================================ | 86% | |============================================================= | 86% | |============================================================= | 87% | |============================================================= | 88% | |============================================================== | 88% | |============================================================== | 89% | |=============================================================== | 89% | |=============================================================== | 90% | |=============================================================== | 91% | |================================================================ | 91% | |================================================================ | 92% | |================================================================= | 92% | |================================================================= | 93% | |================================================================== | 94% | |================================================================== | 95% | |=================================================================== | 95% | |=================================================================== | 96% | |==================================================================== | 96% | |==================================================================== | 97% | |==================================================================== | 98% | |===================================================================== | 98% | |===================================================================== | 99% | |======================================================================| 99% | |======================================================================| 100%$Prediction IBNR CDR(1) mean 2205562.6 2208143.0 sd 126737.8 113531.6 50% 2197153.6 2207310.0 75% 2288314.0 2282912.1 90% 2370172.4 2351555.6 95% 2422450.2 2396718.5 99.5% 2545070.3 2536381.1 $Diagnostic GLMReserve mean(IBNR) mean(CDR(1)) 2213850 2205563 2208143 done successfully. RUNIT TEST PROTOCOL -- Sun Jul 21 22:42:46 2024 *********************************************** Number of test functions: 69 Number of errors: 3 Number of failures: 0 1 Test Suite : ChainLadder unit testing - 69 test functions, 3 errors, 0 failures ERROR in test.BS.paid.adj: Error in func() : object 'chck1' not found ERROR in test.asTriangles: Error in aggregate.data.frame(as.data.frame(x), ...) : no rows to aggregate ERROR in test.names_of_chainladder_Triangle: Error in `colnames<-`(`*tmp*`, value = numeric(0)) : attempt to set 'colnames' on an object with less than two dimensions Details *************************** Test Suite: ChainLadder unit testing Test function regexp: ^test.+ Test file regexp: ^runit.+\.[rR]$ Involved directory: D:/RCompile/CRANincoming/R-devel/lib/ChainLadder/unitTests --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/ChainLadder/unitTests/runit.BS.paid.adj.R test.BS.paid.adj: ERROR !! Error in func() : object 'chck1' not found --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/ChainLadder/unitTests/runit.BootChainLadder.R test.print.BootChainLadder: (1 checks) ... OK (0.26 seconds) test.seed.BootChainLadder: (2 checks) ... OK (0 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/ChainLadder/unitTests/runit.CLFMdelta.r test.CLFMdelta: (0 checks) ... OK (0.07 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/ChainLadder/unitTests/runit.ChainLadder.R test.asTriangles: ERROR !! Error in aggregate.data.frame(as.data.frame(x), ...) : no rows to aggregate test.getLatestCumulative.RAA: (2 checks) ... OK (0 seconds) test.getLatestCumulative.simple: (2 checks) ... OK (0 seconds) test.names_of_chainladder_Triangle: ERROR !! Error in `colnames<-`(`*tmp*`, value = numeric(0)) : attempt to set 'colnames' on an object with less than two dimensions test.tailfactor: (1 checks) ... OK (0 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/ChainLadder/unitTests/runit.MackChainLadder.R test.Mack1999: (4 checks) ... OK (0.02 seconds) test.MackMortgageCVWithTail: (1 checks) ... OK (0.01 seconds) test.MackNANissue: (1 checks) ... OK (0.08 seconds) test.MackRAA: (1 checks) ... OK (0.02 seconds) test.MackRAA_tail_equals_1.05: (1 checks) ... OK (0.01 seconds) test.print.MackChainLadder: (1 checks) ... OK (0.05 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/ChainLadder/unitTests/runit.MunichChainLadder.R test.MCLweights: (1 checks) ... OK (0.05 seconds) test.print.MunichChainLadder: (1 checks) ... OK (0.07 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/ChainLadder/unitTests/runit.QuantileIFRS17.R test.FourTriangles: (2 checks) ... OK (0.18 seconds) test.ThreeTriangles: (2 checks) ... OK (0.06 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/ChainLadder/unitTests/runit.TriangleTests.R test.checkTriangleInflation: (1 checks) ... OK (0.01 seconds) test.cyEffTest: (2 checks) ... OK (0 seconds) test.dfCorTest: (2 checks) ... OK (0 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/ChainLadder/unitTests/runit.Triangles.r test.Triangles.DateLabels: (0 checks) ... OK (0.02 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/ChainLadder/unitTests/runit.ata.R test.print.ata: (1 checks) ... OK (0 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/ChainLadder/unitTests/runit.clark.r test.CCMethod.GenIns: (1 checks) ... OK (0.06 seconds) test.CCMethod.OneRowTriangle: (1 checks) ... OK (0.02 seconds) test.CCMethod.PremiumRepeated: (2 checks) ... OK (0.01 seconds) test.CCMethod.RecyclePremium: (2 checks) ... OK (0.04 seconds) test.CCMethod.RepeatPremium: (2 checks) ... OK (0.03 seconds) test.CCMethod.qincurred: (1 checks) ... OK (0.03 seconds) test.FutureValueGradient_works_as_designed_CapeCod: (1 checks) ... OK (0.03 seconds) test.FutureValueGradient_works_as_designed_LDF: (1 checks) ... OK (0.03 seconds) test.LDFMethod.BadGrowthFcn: (1 checks) ... OK (0 seconds) test.LDFMethod.GenIns: (9 checks) ... OK (0.28 seconds) test.LDFMethod.GenIns.1stEvalMidYear: (9 checks) ... OK (0.27 seconds) test.LDFMethod.GenIns.Months: (9 checks) ... OK (0.26 seconds) test.LDFMethod.LastAgeBeyondmaxage: (1 checks) ... OK (0 seconds) test.LDFMethod.Negative_adol: (1 checks) ... OK (0 seconds) test.LDFMethod.NonCharacterGrowthFcn: (1 checks) ... OK (0 seconds) test.LDFMethod.NonIncreasingAges: (1 checks) ... OK (0 seconds) test.LDFMethod.NonNumericAges: (1 checks) ... OK (0 seconds) test.LDFMethod.OneRowTriangle: (1 checks) ... OK (0.02 seconds) test.LDFMethod.SmallMatrix: (1 checks) ... OK (0 seconds) test.LDFMethod.TooManyGrowthFcns: (1 checks) ... OK (0 seconds) test.LDFMethod.Vector: (1 checks) ... OK (0 seconds) test.LDFMethod.WideOriginPeriod: (1 checks) ... OK (0.01 seconds) test.LDFMethod.adol: (1 checks) ... OK (0 seconds) test.LDFMethod.adol_FALSE_ageSpecified: (1 checks) ... OK (0 seconds) test.LDFMethod.adol_FALSE_origin.widthSpecified: (1 checks) ... OK (0 seconds) test.LDFMethod.incrementalTriangle: (1 checks) ... OK (0.04 seconds) test.LDFMethod.quarterly_observations_of_annual_periods: (1 checks) ... OK (0.07 seconds) test.Table68_FutureValue_Equal: (1 checks) ... OK (0.02 seconds) test.correct_SummaryCapeCod_comparison: (1 checks) ... OK (0.05 seconds) test.correct_SummaryLDF_comparison: (1 checks) ... OK (0.06 seconds) test.print.ClarkCapeCod: (1 checks) ... OK (0.03 seconds) test.print.ClarkLDF: (1 checks) ... OK (0.03 seconds) test.zero_expected_value: (1 checks) ... OK (0 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/ChainLadder/unitTests/runit.getLatestCumulative.r test.getLatestCumulative: (23 checks) ... OK (0 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/ChainLadder/unitTests/runit.glmReserving.r test.glmReserve.DateLabels: (0 checks) ... OK (0.03 seconds) test.print.glmReserve: (1 checks) ... OK (0.02 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/ChainLadder/unitTests/runit.quantile.MackChainLadder.R test.EverestLiabNP: (2 checks) ... OK (0.03 seconds) test.EverestLiabProp: (2 checks) ... OK (0.04 seconds) test.Mack1993: (2 checks) ... OK (0.03 seconds) test.SCORLiabProp: (2 checks) ... OK (0.03 seconds) test.SCORMotorNP: (2 checks) ... OK (0.05 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/ChainLadder/unitTests/runit.triangle.R test.as.triangle: (1 checks) ... OK (0 seconds) test.print.triangle: (1 checks) ... OK (0 seconds) --------------------------- Test file: D:/RCompile/CRANincoming/R-devel/lib/ChainLadder/unitTests/runit.tweedieReserve.R test.print.tweedieReserve: (1 checks) ... OK (5.5 seconds) test.tweedieReserve: (6 checks) ... OK (14.15 seconds) Warning messages: 1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry 3: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 4: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry 5: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 6: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry 7: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 8: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry 9: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: Marsaglia-Multicarry has poor statistical properties 10: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) : RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry > > > proc.time() user system elapsed 23.73 0.90 24.62