CRAN Package Check Results for Maintainer ‘Matthew Davis <matthewlouisdavis at gmail.com>’

Last updated on 2025-04-23 07:49:59 CEST.

Package ERROR OK
lgspline 2 6

Package lgspline

Current CRAN status: ERROR: 2, OK: 6

Version: 0.1.0
Check: tests
Result: ERROR Running ‘spelling.R’ Running ‘testthat.R’ [34s/84s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(lgspline) > test_check("lgspline") Pre-Processing Starting Polynomial Expansions Standardization Get Knots Assign partitions Expansion Standardize Knot Expand 2nd Derivative Penalty Constraint Matrix Predictor-and-Partiiton Penalty Setup Parallel and Weighting Setup SQP Setup Tune Smoothing Spline Penalty Prep for final fitting Last fit After Fitting Processing Optional Components U Lagrangian Multiplier Smoothing Spline Model Summary ==================================================== Model Family: quasibinomial Model Family (Link Function): quasibinomial (logit) Observations: 250 Predictors: 1 Partitions: 11 Basis Functions per Partition: 4 ---------------------------------------------------- Univariate Inference: Estimate Std. Error z value Pr(>|z|) partition1.intercept -1.083730e+00 450.9229358 -2.403360e-03 9.980824e-01 partition1.x -4.154440e-02 1111.0707971 -3.739132e-05 9.999702e-01 partition1.x^2 -1.350788e-02 613.6568894 -2.201211e-05 9.999824e-01 partition1.x^3 -1.453430e-03 64.6560087 -2.247942e-05 9.999821e-01 partition2.intercept -6.524693e-01 287.1416857 -2.272291e-03 9.981870e-01 partition2.x -2.294057e-02 890.8653132 -2.575089e-05 9.999795e-01 partition2.x^2 -5.981955e-03 617.5433666 -9.686696e-06 9.999923e-01 partition2.x^3 -2.309796e-04 81.3929375 -2.837833e-06 9.999977e-01 partition3.intercept -1.226814e+00 162.8709690 -7.532430e-03 9.939900e-01 partition3.x -1.618938e-02 666.7798557 -2.427995e-05 9.999806e-01 partition3.x^2 -1.638188e-02 612.8500580 -2.673064e-05 9.999787e-01 partition3.x^3 -4.624865e-03 47.2284585 -9.792537e-05 9.999219e-01 partition4.intercept -6.423439e-01 28.0114975 -2.293144e-02 9.817050e-01 partition4.x -3.432002e-02 174.5161346 -1.966582e-04 9.998431e-01 partition4.x^2 -2.840035e-02 241.3572405 -1.176693e-04 9.999061e-01 partition4.x^3 -7.826113e-03 63.0764559 -1.240734e-04 9.999010e-01 partition5.intercept -1.155371e+00 4.5140487 -2.559501e-01 7.979893e-01 partition5.x -4.565500e+00 59.2607464 -7.704087e-02 9.385910e-01 partition5.x^2 -9.127908e+00 168.0926382 -5.430284e-02 9.566939e-01 partition5.x^3 -5.746810e+00 88.1192382 -6.521629e-02 9.480018e-01 partition6.intercept -1.471225e+00 0.3647202 -4.033846e+00 5.487121e-05 partition6.x 4.557362e+00 5.6686349 8.039611e-01 4.214195e-01 partition6.x^2 1.049147e+02 46.2170114 2.270046e+00 2.320478e-02 partition6.x^3 -4.662939e+00 84.3640223 -5.527166e-02 9.559220e-01 partition7.intercept -6.665160e-02 2.9482871 -2.260689e-02 9.819638e-01 partition7.x -5.336450e-02 38.7983939 -1.375431e-03 9.989026e-01 partition7.x^2 2.933060e-02 110.1990154 2.661602e-04 9.997876e-01 partition7.x^3 -3.485641e-03 57.7852985 -6.032055e-05 9.999519e-01 partition8.intercept 2.173114e+00 18.5850218 1.169282e-01 9.069169e-01 partition8.x -2.972642e+01 115.6713587 -2.569903e-01 7.971863e-01 partition8.x^2 4.739469e+01 160.0397665 2.961432e-01 7.671207e-01 partition8.x^3 -1.935527e+01 41.8918035 -4.620299e-01 6.440599e-01 partition9.intercept -8.430442e-04 911.3277372 -9.250724e-07 9.999993e-01 partition9.x -1.343712e+01 1065.3561696 -1.261280e-02 9.899367e-01 partition9.x^2 -9.070418e-01 232.5330963 -3.900700e-03 9.968877e-01 partition9.x^3 -5.870929e-01 102.0353887 -5.753816e-03 9.954091e-01 partition10.intercept 1.564940e+00 98.7719574 1.584397e-02 9.873589e-01 partition10.x 1.976609e-02 303.7015648 6.508391e-05 9.999481e-01 partition10.x^2 -2.264401e-02 209.8837697 -1.078883e-04 9.999139e-01 partition10.x^3 5.538549e-03 27.7545082 1.995549e-04 9.998408e-01 partition11.intercept -3.165436e-01 150.8914604 -2.097823e-03 9.983262e-01 partition11.x 1.148684e-01 373.3039743 3.077075e-04 9.997545e-01 partition11.x^2 6.723730e-04 206.4194398 3.257314e-06 9.999974e-01 partition11.x^3 -4.335440e-03 21.7082977 -1.997135e-04 9.998407e-01 CI LB CI UB partition1.intercept -884.876444 882.7089838 partition1.x -2177.700291 2177.6172022 partition1.x^2 -1202.758910 1202.7318942 partition1.x^3 -126.724902 126.7219949 partition2.intercept -563.439832 562.1348931 partition2.x -1746.086870 1746.0409884 partition2.x^2 -1210.368739 1210.3567754 partition2.x^3 -159.527457 159.5269952 partition3.intercept -320.448048 317.9944193 partition3.x -1306.880692 1306.8483133 partition3.x^2 -1201.180424 1201.1476598 partition3.x^3 -92.570703 92.5614529 partition4.intercept -55.543870 54.2591824 partition4.x -342.079659 342.0110185 partition4.x^2 -473.079899 473.0230985 partition4.x^3 -123.635408 123.6197557 partition5.intercept -10.002744 7.6920014 partition5.x -120.714428 111.5834289 partition5.x^2 -338.583425 320.3276089 partition5.x^3 -178.457343 166.9637232 partition6.intercept -2.186064 -0.7563869 partition6.x -6.552958 15.6676821 partition6.x^2 14.331070 195.4984257 partition6.x^3 -170.013385 160.6875061 partition7.intercept -5.845188 5.7118850 partition7.x -76.096819 75.9900902 partition7.x^2 -215.956771 216.0154320 partition7.x^3 -113.260590 113.2536182 partition8.intercept -34.252860 38.5990874 partition8.x -256.438113 196.9852812 partition8.x^2 -266.277485 361.0668724 partition8.x^3 -101.461692 62.7511598 partition9.intercept -1786.170386 1786.1687000 partition9.x -2101.496846 2074.6226003 partition9.x^2 -456.663536 454.8494521 partition9.x^3 -200.572780 199.3985941 partition10.intercept -192.024539 195.1544192 partition10.x -595.224363 595.2638952 partition10.x^2 -411.387273 411.3419855 partition10.x^3 -54.392298 54.4033751 partition11.intercept -296.058372 295.4252844 partition11.x -731.547476 731.7772134 partition11.x^2 -404.573995 404.5753400 partition11.x^3 -42.551817 42.5431462 Dispersion: 1 Effective degrees of freedom: 206 Critical value for confidence intervals: 1.959964 ---------------------------------------------------- [ FAIL 1 | WARN 39 | SKIP 1 | PASS 37 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-parallel.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-advanced.R:34:3'): Weibull accelerated failure time (AFT) models can be fit under custom constraints ── Error in `model_fit$B`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. ├─testthat::expect_equal(round(sum(unlist(model_fit$B)), 10), 12) at test-advanced.R:34:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::unlist(model_fit$B) [ FAIL 1 | WARN 39 | SKIP 1 | PASS 37 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.0
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [7s/8s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(lgspline) > test_check("lgspline") Pre-Processing Starting Polynomial Expansions Standardization Get Knots Assign partitions Expansion Standardize Knot Expand 2nd Derivative Penalty Constraint Matrix Predictor-and-Partiiton Penalty Setup Parallel and Weighting Setup SQP Setup Tune Smoothing Spline Penalty Prep for final fitting Last fit After Fitting Processing Optional Components U Variance Est VarCov Mat Lagrangian Multiplier Smoothing Spline Model Summary ==================================================== Model Family: quasibinomial Model Family (Link Function): quasibinomial (logit) Observations: 250 Predictors: 1 Partitions: 11 Basis Functions per Partition: 4 ---------------------------------------------------- Univariate Inference: Estimate Std. Error z value Pr(>|z|) partition1.intercept -1.083730e+00 450.9229324 -2.403360e-03 9.980824e-01 partition1.x -4.154440e-02 1111.0707885 -3.739132e-05 9.999702e-01 partition1.x^2 -1.350788e-02 613.6568848 -2.201211e-05 9.999824e-01 partition1.x^3 -1.453430e-03 64.6560082 -2.247942e-05 9.999821e-01 partition2.intercept -6.524693e-01 287.1416848 -2.272291e-03 9.981870e-01 partition2.x -2.294057e-02 890.8653104 -2.575089e-05 9.999795e-01 partition2.x^2 -5.981955e-03 617.5433646 -9.686696e-06 9.999923e-01 partition2.x^3 -2.309796e-04 81.3929373 -2.837834e-06 9.999977e-01 partition3.intercept -1.226814e+00 162.8709689 -7.532430e-03 9.939900e-01 partition3.x -1.618938e-02 666.7798552 -2.427995e-05 9.999806e-01 partition3.x^2 -1.638188e-02 612.8500576 -2.673064e-05 9.999787e-01 partition3.x^3 -4.624865e-03 47.2284585 -9.792537e-05 9.999219e-01 partition4.intercept -6.423439e-01 28.0114975 -2.293144e-02 9.817050e-01 partition4.x -3.432002e-02 174.5161346 -1.966582e-04 9.998431e-01 partition4.x^2 -2.840035e-02 241.3572405 -1.176693e-04 9.999061e-01 partition4.x^3 -7.826113e-03 63.0764559 -1.240734e-04 9.999010e-01 partition5.intercept -1.155371e+00 4.5140487 -2.559501e-01 7.979893e-01 partition5.x -4.565500e+00 59.2607464 -7.704087e-02 9.385910e-01 partition5.x^2 -9.127908e+00 168.0926382 -5.430284e-02 9.566939e-01 partition5.x^3 -5.746810e+00 88.1192382 -6.521629e-02 9.480018e-01 partition6.intercept -1.471225e+00 0.3647202 -4.033846e+00 5.487121e-05 partition6.x 4.557362e+00 5.6686349 8.039611e-01 4.214195e-01 partition6.x^2 1.049147e+02 46.2170114 2.270046e+00 2.320478e-02 partition6.x^3 -4.662939e+00 84.3640223 -5.527166e-02 9.559220e-01 partition7.intercept -6.665160e-02 2.9482871 -2.260689e-02 9.819638e-01 partition7.x -5.336450e-02 38.7983939 -1.375431e-03 9.989026e-01 partition7.x^2 2.933060e-02 110.1990154 2.661602e-04 9.997876e-01 partition7.x^3 -3.485641e-03 57.7852985 -6.032055e-05 9.999519e-01 partition8.intercept 2.173114e+00 18.5850218 1.169282e-01 9.069169e-01 partition8.x -2.972642e+01 115.6713587 -2.569903e-01 7.971863e-01 partition8.x^2 4.739469e+01 160.0397665 2.961432e-01 7.671207e-01 partition8.x^3 -1.935527e+01 41.8918035 -4.620299e-01 6.440599e-01 partition9.intercept -8.430442e-04 911.3277372 -9.250724e-07 9.999993e-01 partition9.x -1.343712e+01 1065.3561696 -1.261280e-02 9.899367e-01 partition9.x^2 -9.070418e-01 232.5330963 -3.900700e-03 9.968877e-01 partition9.x^3 -5.870929e-01 102.0353887 -5.753816e-03 9.954091e-01 partition10.intercept 1.564940e+00 98.7719575 1.584397e-02 9.873589e-01 partition10.x 1.976609e-02 303.7015650 6.508391e-05 9.999481e-01 partition10.x^2 -2.264401e-02 209.8837698 -1.078883e-04 9.999139e-01 partition10.x^3 5.538549e-03 27.7545082 1.995549e-04 9.998408e-01 partition11.intercept -3.165436e-01 150.8914544 -2.097823e-03 9.983262e-01 partition11.x 1.148684e-01 373.3039592 3.077075e-04 9.997545e-01 partition11.x^2 6.723730e-04 206.4194315 3.257314e-06 9.999974e-01 partition11.x^3 -4.335440e-03 21.7082969 -1.997135e-04 9.998407e-01 CI LB CI UB partition1.intercept -884.876437 882.7089770 partition1.x -2177.700274 2177.6171854 partition1.x^2 -1202.758901 1202.7318851 partition1.x^3 -126.724901 126.7219940 partition2.intercept -563.439830 562.1348913 partition2.x -1746.086864 1746.0409828 partition2.x^2 -1210.368735 1210.3567715 partition2.x^3 -159.527457 159.5269947 partition3.intercept -320.448047 317.9944190 partition3.x -1306.880691 1306.8483123 partition3.x^2 -1201.180423 1201.1476589 partition3.x^3 -92.570703 92.5614529 partition4.intercept -55.543870 54.2591824 partition4.x -342.079659 342.0110185 partition4.x^2 -473.079899 473.0230985 partition4.x^3 -123.635408 123.6197557 partition5.intercept -10.002744 7.6920014 partition5.x -120.714428 111.5834289 partition5.x^2 -338.583425 320.3276089 partition5.x^3 -178.457343 166.9637232 partition6.intercept -2.186064 -0.7563869 partition6.x -6.552958 15.6676821 partition6.x^2 14.331070 195.4984257 partition6.x^3 -170.013385 160.6875061 partition7.intercept -5.845188 5.7118850 partition7.x -76.096819 75.9900902 partition7.x^2 -215.956771 216.0154320 partition7.x^3 -113.260590 113.2536182 partition8.intercept -34.252860 38.5990874 partition8.x -256.438113 196.9852812 partition8.x^2 -266.277485 361.0668723 partition8.x^3 -101.461692 62.7511598 partition9.intercept -1786.170386 1786.1687000 partition9.x -2101.496846 2074.6226003 partition9.x^2 -456.663536 454.8494521 partition9.x^3 -200.572780 199.3985941 partition10.intercept -192.024539 195.1544193 partition10.x -595.224363 595.2638955 partition10.x^2 -411.387274 411.3419857 partition10.x^3 -54.392298 54.4033751 partition11.intercept -296.058360 295.4252725 partition11.x -731.547447 731.7771838 partition11.x^2 -404.573979 404.5753239 partition11.x^3 -42.551815 42.5431446 Dispersion: 1 Effective degrees of freedom: 206 Critical value for confidence intervals: 1.959964 ---------------------------------------------------- [ FAIL 1 | WARN 0 | SKIP 1 | PASS 37 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-parallel.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-advanced.R:34:3'): Weibull accelerated failure time (AFT) models can be fit under custom constraints ── round(sum(unlist(model_fit$B)), 10) (`actual`) not equal to 12 (`expected`). `actual`: -49.2 `expected`: 12.0 [ FAIL 1 | WARN 0 | SKIP 1 | PASS 37 ] Error: Test failures Execution halted Flavor: r-release-macos-arm64