CRAN Package Check Results for Package censored

Last updated on 2026-08-24 02:50:33 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.4 16.46 371.10 387.56 NOTE
r-devel-linux-x86_64-debian-gcc 0.3.4 11.49 242.92 254.41 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.4 12.00 282.87 294.87 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.4 12.00 276.65 288.65 ERROR
r-devel-windows-x86_64 0.3.4 19.00 388.00 407.00 NOTE
r-patched-linux-x86_64 0.3.4 17.22 375.01 392.23 OK
r-release-linux-x86_64 0.3.4 15.99 376.45 392.44 OK
r-release-macos-arm64 0.3.4 4.00 89.00 93.00 OK
r-release-macos-x86_64 0.3.4 11.00 561.00 572.00 OK
r-release-windows-x86_64 0.3.4 16.00 322.00 338.00 OK
r-oldrel-macos-arm64 0.3.4 4.00 94.00 98.00 OK
r-oldrel-macos-x86_64 0.3.4 11.00 426.00 437.00 OK
r-oldrel-windows-x86_64 0.3.4 25.00 476.00 501.00 OK

Check Details

Version: 0.3.4
Check: R code for possible problems
Result: NOTE Found calls to structure() using deprecated special names: censored/tests/testthat/test-proportional_hazards-survival.R (.Dim: 1) '.Dim' should be changed to 'dim'. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 0.3.4
Check: tests
Result: ERROR Running ‘testthat.R’ [140s/158s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(censored) Loading required package: parsnip Loading required package: survival > > test_check("censored") Saving _problems/test-bag_tree-rpart-41.R [ FAIL 1 | WARN 29 | SKIP 23 | PASS 711 ] ══ Skipped tests (23) ══════════════════════════════════════════════════════════ • On CRAN (23): 'test-bag_tree-rpart.R:87:1', 'test-bag_tree-rpart.R:151:1', 'test-boost_tree-mboost.R:108:1', 'test-decision_tree-partykit.R:113:1', 'test-decision_tree-rpart.R:112:1', 'test-proportional_hazards-glmnet.R:23:1', 'test-proportional_hazards-glmnet.R:1204:1', 'test-proportional_hazards-glmnet.R:1216:1', 'test-proportional_hazards-glmnet.R:1247:1', 'test-proportional_hazards-glmnet.R:1258:1', 'test-proportional_hazards-glmnet.R:1380:1', 'test-proportional_hazards-survival.R:134:1', 'test-proportional_hazards-survival.R:211:1', 'test-proportional_hazards-survival.R:225:1', 'test-proportional_hazards.R:4:1', 'test-rand_forest-aorsf.R:210:1', 'test-rand_forest-partykit.R:134:1', 'test-survival_reg-flexsurvspline.R:56:1', 'test-survival_reg-flexsurvspline.R:298:1', 'test-survival_reg-flexsurvspline.R:478:1', 'test-survival_reg-survival.R:47:1', 'test-survival_reg-survival.R:189:1', 'test-survival_reg.R:4:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-bag_tree-rpart.R:41:3'): main args work without set_model_arg() ── Expected `f_fit$fit[-6]` to equal `exp_f_fit[-6]`. Differences: actual$mtrees[[1]]$btree$call[81:84] vs expected$mtrees[[1]]$btree$call[81:84] `"186.1", "50.3", "228", "90", "81.1", "74", "149", "12", "38", ` `"82", "196.1", "48", "87.2", "167.1", "83", "95", "148.4", "147", ` `"152.1", "108.1", "32", "6.1", "7", "73.3"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[2]]$btree$call[81:84] vs expected$mtrees[[2]]$btree$call[81:84] `"65", "34.1", "4.2", "153", "79", "96.1", "10.2", "121", "13.1", ` `"78", "220.2", "144.1", "54.3", "112", "108.1", "165.1", "220.3", ` `"55.1", "124.2", "178", "128", "15.1", "143.3"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[3]]$btree$call[80:83] vs expected$mtrees[[3]]$btree$call[80:84] `"223.1", "97.1", "121.1", "86.2", "132", "32.2", "151.1", "160", ` `"34", "106.2", "136.2", "44", "71", "164.1", "228", "119", "136.3", ` `"76.2", "205", "141", "58.1", "202.1", "99", "30.1", "122.2", ` - `"128.3", "56", "169.3", "216.1"), class = "data.frame"), control = control)` + `"128.3", "56", "169.3", "216.1"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[4]]$btree$call[81:84] vs expected$mtrees[[4]]$btree$call[81:84] `"26", "83", "3.2", "28.1", "154.1", "216.1", "172.1", "125.2", ` `"151.1", "87.1", "120", "66.1", "6", "113.1", "204.2", "65", ` `"215", "195", "224.1", "124.2", "115", "99.1"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[5]]$btree$call[81:84] vs expected$mtrees[[5]]$btree$call[81:84] `"197.1", "145.2", "192", "159", "183.3", "134", "127", "218.3", ` `"40", "168", "155.2", "81", "155.3", "165", "157", "131", "94.1", ` `"33.1", "226.1", "97.1", "225.2", "30"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[6]]$btree$call[80:83] vs expected$mtrees[[6]]$btree$call[80:84] `"221.2", "83.1", "198.1", "33.1", "54.1", "100.1", "52.4", "49.3", ` `"39.1", "87", "78", "195.1", "148.1", "203.1", "40", "145", "79.2", ` `"218", "38.1", "81.1", "24.2", "54.2", "117.2", "137.3", "36.1", ` - `"129.2", "113.2", "175.1"), class = "data.frame"), control = control)` + `"129.2", "113.2", "175.1"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[7]]$btree$call[82:85] vs expected$mtrees[[7]]$btree$call[82:85] `"56.1", "112.1", "93.1", "175.2", "165", "133", "164", "155.2", ` `"223.2", "85.2", "87.1", "219", "201.1", "217.1", "67", "166.2", ` `"212.1", "204.1", "163.1", "157.1", "149.1", "97"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[8]]$btree$call[81:84] vs expected$mtrees[[8]]$btree$call[81:84] `"40.1", "16.2", "210.1", "18", "162", "93.2", "70.1", "112", ` `"150", "177", "174.1", "25.1", "190.1", "2.1", "115", "118.2", ` `"129", "225.3", "97.2", "222.2", "99"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[9]]$btree$call[81:84] vs expected$mtrees[[9]]$btree$call[81:84] `"113", "219.1", "35.1", "172.2", "222", "158.3", "38.1", "12", ` `"204", "162", "176.2", "62", "194.1", "33", "179.1", "173.1", ` `"216.1", "180", "155", "121", "79.2"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[10]]$btree$call[81:84] vs expected$mtrees[[10]]$btree$call[81:84] `"79.1", "18.1", "97.2", "141.3", "113.1", "7", "208.1", "125", ` `"207", "92.2", "186.1", "228.2", "137", "131.3", "197.1", "13", ` `"204.1", "43", "24.2", "83.2", "109", "42.1"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[11]]$btree$call[80:83] vs expected$mtrees[[11]]$btree$call[80:84] `"140", "9.2", "133", "185", "121", "155", "111", "95", "153.1", ` `"51.3", "160", "142.2", "45.1", "4.2", "13.1", "223.1", "187", ` `"119", "215.2", "24.1", "190.1", "31", "56.2", "184", "166", ` - `"63.2", "228"), class = "data.frame"), control = control)` + `"63.2", "228"), class = "data.frame"), control = control, maxdepth = 20, ` + ` minsplit = 10, cp = 0.5)` actual$mtrees[[12]]$btree$call[80:83] vs expected$mtrees[[12]]$btree$call[80:84] `"66.2", "28", "19.1", "148", "163.1", "60.1", "183.1", "51", ` `"209.2", "129.1", "85", "116", "75.1", "97", "165.1", "168", ` `"50", "147.1", "65", "78.2", "211", "169.2", "84.2", "91.2", ` - `"205.1", "146", "222.2", "166"), class = "data.frame"), control = control)` + `"205.1", "146", "222.2", "166"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[13]]$btree$call[80:83] vs expected$mtrees[[13]]$btree$call[80:84] `"139.1", "120", "19", "226", "180.1", "84.2", "202", "93", "224.1", ` `"87.1", "206.1", "168", "113", "95.2", "97.2", "199.1", "38.1", ` `"122", "77", "137", "119.1", "192", "191", "56.2", "176", "39", ` - `"78", "210.1", "6.1", "198"), class = "data.frame"), control = control)` + `"78", "210.1", "6.1", "198"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[14]]$btree$call[80:83] vs expected$mtrees[[14]]$btree$call[80:84] `"183.1", "152", "31.2", "218", "161.1", "27.3", "195", "162.2", ` `"27.4", "191", "205", "28.2", "147", "212", "17", "157", "96.1", ` `"23.3", "38", "2.2", "124", "28.3", "173.4", "62", "186.2", "203.1", ` - `"44.1", "177.2", "8.1", "36.2"), class = "data.frame"), control = control)` + `"44.1", "177.2", "8.1", "36.2"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[15]]$btree$call[81:84] vs expected$mtrees[[15]]$btree$call[81:84] `"98", "197", "196.1", "40", "69.2", "89.3", "118", "12", "84.1", ` `"108", "53", "48.1", "154.3", "134.1", "170.1", "171.2", "18.1", ` `"109.2", "216", "222", "215", "181", "10.1"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[16]]$btree$call[80:83] vs expected$mtrees[[16]]$btree$call[80:84] `"10.1", "67.1", "141", "155", "118", "210", "189", "99.1", "23.1", ` `"139", "139.1", "184.2", "48", "193.1", "202", "106", "42.1", ` `"41", "32", "212.1", "92.4", "30.3", "68.3", "200.2", "193.2", ` - `"99.2", "187.1", "129.1"), class = "data.frame"), control = control)` + `"99.2", "187.1", "129.1"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[17]]$btree$call[80:83] vs expected$mtrees[[17]]$btree$call[80:84] `"138", "43", "129", "136", "182", "9", "130", "225", "29", "160", ` `"110", "219.1", "66.1", "98.2", "174.1", "150.2", "20.2", "165", ` `"131", "91", "76", "161", "154.1", "26", "43.1", "94.2", "224", ` - `"73.3"), class = "data.frame"), control = control)` + `"73.3"), class = "data.frame"), control = control, maxdepth = 20, ` + ` minsplit = 10, cp = 0.5)` actual$mtrees[[18]]$btree$call[80:83] vs expected$mtrees[[18]]$btree$call[80:83] `"59.1", "104.1", "102.1", "224", "8", "142", "121.2", "19.3", ` `"80", "154.2", "138.1", "73", "100", "182.2", "70", "36.1", "202.1", ` `"87.1", "99.2", "85.1", "226.1", "193", "44", "43", "146.1"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[19]]$btree$call[80:83] vs expected$mtrees[[19]]$btree$call[80:84] `"163", "108", "28.2", "24.1", "158", "108.1", "215", "144.1", ` `"85.2", "192.1", "175.1", "175.2", "192.2", "22.2", "124", "95.2", ` `"163.1", "51", "15.1", "158.1", "27", "165.2", "212", "49.3", ` - `"218", "97", "227"), class = "data.frame"), control = control)` + `"218", "97", "227"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[20]]$btree$call[80:83] vs expected$mtrees[[20]]$btree$call[80:84] `"59", "13", "90.1", "12.2", "193.1", "55.2", "138.1", "21.2", ` `"182", "220", "83.3", "96.2", "86", "219.1", "30.1", "37.2", ` `"111.1", "34.1", "212", "81", "110.2", "134.3", "161", "148.2", ` - `"207", "79.1", "71.1"), class = "data.frame"), control = control)` + `"207", "79.1", "71.1"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[21]]$btree$call[80:83] vs expected$mtrees[[21]]$btree$call[80:84] `"115.1", "88.1", "167", "74", "106.1", "184", "97.2", "58.1", ` `"186.1", "144.2", "50.3", "183", "210", "154.2", "222.4", "148", ` `"142", "186.2", "169.2", "83", "192", "44.1", "30", "155", "134", ` - `"112", "165", "102.1"), class = "data.frame"), control = control)` + `"112", "165", "102.1"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[22]]$btree$call[81:84] vs expected$mtrees[[22]]$btree$call[81:84] `"159.1", "98.1", "43.2", "152.3", "125.2", "99", "189", "208", ` `"116.1", "173.2", "58", "52", "105.1", "77", "59", "13", "103", ` `"45", "165.1", "63.1", "155.1", "8"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[23]]$btree$call[81:84] vs expected$mtrees[[23]]$btree$call[81:85] `"111.2", "205.1", "49", "225", "193", "116", "154", "76.1", "166", ` `"130.1", "75.1", "87", "7.3", "209", "77.1", "122.2", "191", ` `"195", "146", "159.3", "114", "182", "38.1", "194.2", "214", ` - `"124", "115.2", "46.3", "214.1"), class = "data.frame"), control = control)` + `"124", "115.2", "46.3", "214.1"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[24]]$btree$call[81:84] vs expected$mtrees[[24]]$btree$call[81:84] `"81", "139.3", "142", "45.1", "54", "167.1", "13.1", "125.2", ` `"195.1", "25", "99", "65", "134.1", "177", "162.1", "24.1", "2.1", ` `"139.4", "134.2", "48", "187.1", "27"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[25]]$btree$call[81:84] vs expected$mtrees[[25]]$btree$call[81:84] `"159", "141", "24.1", "132", "120.3", "160.2", "22", "26.2", ` `"131.2", "83.1", "171", "133.1", "82.2", "79.1", "10.2", "211.1", ` `"162.1", "124.1", "220.1", "190", "96.1", "75.2"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` [ FAIL 1 | WARN 29 | SKIP 23 | PASS 711 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.4
Check: tests
Result: ERROR Running ‘testthat.R’ [175s/415s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(censored) Loading required package: parsnip Loading required package: survival > > test_check("censored") Saving _problems/test-bag_tree-rpart-41.R [ FAIL 1 | WARN 29 | SKIP 23 | PASS 711 ] ══ Skipped tests (23) ══════════════════════════════════════════════════════════ • On CRAN (23): 'test-bag_tree-rpart.R:87:1', 'test-bag_tree-rpart.R:151:1', 'test-boost_tree-mboost.R:108:1', 'test-decision_tree-partykit.R:113:1', 'test-decision_tree-rpart.R:112:1', 'test-proportional_hazards-glmnet.R:23:1', 'test-proportional_hazards-glmnet.R:1204:1', 'test-proportional_hazards-glmnet.R:1216:1', 'test-proportional_hazards-glmnet.R:1247:1', 'test-proportional_hazards-glmnet.R:1258:1', 'test-proportional_hazards-glmnet.R:1380:1', 'test-proportional_hazards-survival.R:134:1', 'test-proportional_hazards-survival.R:211:1', 'test-proportional_hazards-survival.R:225:1', 'test-proportional_hazards.R:4:1', 'test-rand_forest-aorsf.R:210:1', 'test-rand_forest-partykit.R:134:1', 'test-survival_reg-flexsurvspline.R:56:1', 'test-survival_reg-flexsurvspline.R:298:1', 'test-survival_reg-flexsurvspline.R:478:1', 'test-survival_reg-survival.R:47:1', 'test-survival_reg-survival.R:189:1', 'test-survival_reg.R:4:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-bag_tree-rpart.R:41:3'): main args work without set_model_arg() ── Expected `f_fit$fit[-6]` to equal `exp_f_fit[-6]`. Differences: actual$mtrees[[1]]$btree$call[81:84] vs expected$mtrees[[1]]$btree$call[81:84] `"186.1", "50.3", "228", "90", "81.1", "74", "149", "12", "38", ` `"82", "196.1", "48", "87.2", "167.1", "83", "95", "148.4", "147", ` `"152.1", "108.1", "32", "6.1", "7", "73.3"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[2]]$btree$call[81:84] vs expected$mtrees[[2]]$btree$call[81:84] `"65", "34.1", "4.2", "153", "79", "96.1", "10.2", "121", "13.1", ` `"78", "220.2", "144.1", "54.3", "112", "108.1", "165.1", "220.3", ` `"55.1", "124.2", "178", "128", "15.1", "143.3"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[3]]$btree$call[80:83] vs expected$mtrees[[3]]$btree$call[80:84] `"223.1", "97.1", "121.1", "86.2", "132", "32.2", "151.1", "160", ` `"34", "106.2", "136.2", "44", "71", "164.1", "228", "119", "136.3", ` `"76.2", "205", "141", "58.1", "202.1", "99", "30.1", "122.2", ` - `"128.3", "56", "169.3", "216.1"), class = "data.frame"), control = control)` + `"128.3", "56", "169.3", "216.1"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[4]]$btree$call[81:84] vs expected$mtrees[[4]]$btree$call[81:84] `"26", "83", "3.2", "28.1", "154.1", "216.1", "172.1", "125.2", ` `"151.1", "87.1", "120", "66.1", "6", "113.1", "204.2", "65", ` `"215", "195", "224.1", "124.2", "115", "99.1"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[5]]$btree$call[81:84] vs expected$mtrees[[5]]$btree$call[81:84] `"197.1", "145.2", "192", "159", "183.3", "134", "127", "218.3", ` `"40", "168", "155.2", "81", "155.3", "165", "157", "131", "94.1", ` `"33.1", "226.1", "97.1", "225.2", "30"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[6]]$btree$call[80:83] vs expected$mtrees[[6]]$btree$call[80:84] `"221.2", "83.1", "198.1", "33.1", "54.1", "100.1", "52.4", "49.3", ` `"39.1", "87", "78", "195.1", "148.1", "203.1", "40", "145", "79.2", ` `"218", "38.1", "81.1", "24.2", "54.2", "117.2", "137.3", "36.1", ` - `"129.2", "113.2", "175.1"), class = "data.frame"), control = control)` + `"129.2", "113.2", "175.1"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[7]]$btree$call[82:85] vs expected$mtrees[[7]]$btree$call[82:85] `"56.1", "112.1", "93.1", "175.2", "165", "133", "164", "155.2", ` `"223.2", "85.2", "87.1", "219", "201.1", "217.1", "67", "166.2", ` `"212.1", "204.1", "163.1", "157.1", "149.1", "97"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[8]]$btree$call[81:84] vs expected$mtrees[[8]]$btree$call[81:84] `"40.1", "16.2", "210.1", "18", "162", "93.2", "70.1", "112", ` `"150", "177", "174.1", "25.1", "190.1", "2.1", "115", "118.2", ` `"129", "225.3", "97.2", "222.2", "99"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[9]]$btree$call[81:84] vs expected$mtrees[[9]]$btree$call[81:84] `"113", "219.1", "35.1", "172.2", "222", "158.3", "38.1", "12", ` `"204", "162", "176.2", "62", "194.1", "33", "179.1", "173.1", ` `"216.1", "180", "155", "121", "79.2"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[10]]$btree$call[81:84] vs expected$mtrees[[10]]$btree$call[81:84] `"79.1", "18.1", "97.2", "141.3", "113.1", "7", "208.1", "125", ` `"207", "92.2", "186.1", "228.2", "137", "131.3", "197.1", "13", ` `"204.1", "43", "24.2", "83.2", "109", "42.1"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[11]]$btree$call[80:83] vs expected$mtrees[[11]]$btree$call[80:84] `"140", "9.2", "133", "185", "121", "155", "111", "95", "153.1", ` `"51.3", "160", "142.2", "45.1", "4.2", "13.1", "223.1", "187", ` `"119", "215.2", "24.1", "190.1", "31", "56.2", "184", "166", ` - `"63.2", "228"), class = "data.frame"), control = control)` + `"63.2", "228"), class = "data.frame"), control = control, maxdepth = 20, ` + ` minsplit = 10, cp = 0.5)` actual$mtrees[[12]]$btree$call[80:83] vs expected$mtrees[[12]]$btree$call[80:84] `"66.2", "28", "19.1", "148", "163.1", "60.1", "183.1", "51", ` `"209.2", "129.1", "85", "116", "75.1", "97", "165.1", "168", ` `"50", "147.1", "65", "78.2", "211", "169.2", "84.2", "91.2", ` - `"205.1", "146", "222.2", "166"), class = "data.frame"), control = control)` + `"205.1", "146", "222.2", "166"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[13]]$btree$call[80:83] vs expected$mtrees[[13]]$btree$call[80:84] `"139.1", "120", "19", "226", "180.1", "84.2", "202", "93", "224.1", ` `"87.1", "206.1", "168", "113", "95.2", "97.2", "199.1", "38.1", ` `"122", "77", "137", "119.1", "192", "191", "56.2", "176", "39", ` - `"78", "210.1", "6.1", "198"), class = "data.frame"), control = control)` + `"78", "210.1", "6.1", "198"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[14]]$btree$call[80:83] vs expected$mtrees[[14]]$btree$call[80:84] `"183.1", "152", "31.2", "218", "161.1", "27.3", "195", "162.2", ` `"27.4", "191", "205", "28.2", "147", "212", "17", "157", "96.1", ` `"23.3", "38", "2.2", "124", "28.3", "173.4", "62", "186.2", "203.1", ` - `"44.1", "177.2", "8.1", "36.2"), class = "data.frame"), control = control)` + `"44.1", "177.2", "8.1", "36.2"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[15]]$btree$call[81:84] vs expected$mtrees[[15]]$btree$call[81:84] `"98", "197", "196.1", "40", "69.2", "89.3", "118", "12", "84.1", ` `"108", "53", "48.1", "154.3", "134.1", "170.1", "171.2", "18.1", ` `"109.2", "216", "222", "215", "181", "10.1"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[16]]$btree$call[80:83] vs expected$mtrees[[16]]$btree$call[80:84] `"10.1", "67.1", "141", "155", "118", "210", "189", "99.1", "23.1", ` `"139", "139.1", "184.2", "48", "193.1", "202", "106", "42.1", ` `"41", "32", "212.1", "92.4", "30.3", "68.3", "200.2", "193.2", ` - `"99.2", "187.1", "129.1"), class = "data.frame"), control = control)` + `"99.2", "187.1", "129.1"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[17]]$btree$call[80:83] vs expected$mtrees[[17]]$btree$call[80:84] `"138", "43", "129", "136", "182", "9", "130", "225", "29", "160", ` `"110", "219.1", "66.1", "98.2", "174.1", "150.2", "20.2", "165", ` `"131", "91", "76", "161", "154.1", "26", "43.1", "94.2", "224", ` - `"73.3"), class = "data.frame"), control = control)` + `"73.3"), class = "data.frame"), control = control, maxdepth = 20, ` + ` minsplit = 10, cp = 0.5)` actual$mtrees[[18]]$btree$call[80:83] vs expected$mtrees[[18]]$btree$call[80:83] `"59.1", "104.1", "102.1", "224", "8", "142", "121.2", "19.3", ` `"80", "154.2", "138.1", "73", "100", "182.2", "70", "36.1", "202.1", ` `"87.1", "99.2", "85.1", "226.1", "193", "44", "43", "146.1"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[19]]$btree$call[80:83] vs expected$mtrees[[19]]$btree$call[80:84] `"163", "108", "28.2", "24.1", "158", "108.1", "215", "144.1", ` `"85.2", "192.1", "175.1", "175.2", "192.2", "22.2", "124", "95.2", ` `"163.1", "51", "15.1", "158.1", "27", "165.2", "212", "49.3", ` - `"218", "97", "227"), class = "data.frame"), control = control)` + `"218", "97", "227"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[20]]$btree$call[80:83] vs expected$mtrees[[20]]$btree$call[80:84] `"59", "13", "90.1", "12.2", "193.1", "55.2", "138.1", "21.2", ` `"182", "220", "83.3", "96.2", "86", "219.1", "30.1", "37.2", ` `"111.1", "34.1", "212", "81", "110.2", "134.3", "161", "148.2", ` - `"207", "79.1", "71.1"), class = "data.frame"), control = control)` + `"207", "79.1", "71.1"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[21]]$btree$call[80:83] vs expected$mtrees[[21]]$btree$call[80:84] `"115.1", "88.1", "167", "74", "106.1", "184", "97.2", "58.1", ` `"186.1", "144.2", "50.3", "183", "210", "154.2", "222.4", "148", ` `"142", "186.2", "169.2", "83", "192", "44.1", "30", "155", "134", ` - `"112", "165", "102.1"), class = "data.frame"), control = control)` + `"112", "165", "102.1"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[22]]$btree$call[81:84] vs expected$mtrees[[22]]$btree$call[81:84] `"159.1", "98.1", "43.2", "152.3", "125.2", "99", "189", "208", ` `"116.1", "173.2", "58", "52", "105.1", "77", "59", "13", "103", ` `"45", "165.1", "63.1", "155.1", "8"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[23]]$btree$call[81:84] vs expected$mtrees[[23]]$btree$call[81:85] `"111.2", "205.1", "49", "225", "193", "116", "154", "76.1", "166", ` `"130.1", "75.1", "87", "7.3", "209", "77.1", "122.2", "191", ` `"195", "146", "159.3", "114", "182", "38.1", "194.2", "214", ` - `"124", "115.2", "46.3", "214.1"), class = "data.frame"), control = control)` + `"124", "115.2", "46.3", "214.1"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[24]]$btree$call[81:84] vs expected$mtrees[[24]]$btree$call[81:84] `"81", "139.3", "142", "45.1", "54", "167.1", "13.1", "125.2", ` `"195.1", "25", "99", "65", "134.1", "177", "162.1", "24.1", "2.1", ` `"139.4", "134.2", "48", "187.1", "27"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[25]]$btree$call[81:84] vs expected$mtrees[[25]]$btree$call[81:84] `"159", "141", "24.1", "132", "120.3", "160.2", "22", "26.2", ` `"131.2", "83.1", "171", "133.1", "82.2", "79.1", "10.2", "211.1", ` `"162.1", "124.1", "220.1", "190", "96.1", "75.2"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` [ FAIL 1 | WARN 29 | SKIP 23 | PASS 711 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.3.4
Check: tests
Result: ERROR Running ‘testthat.R’ [174s/380s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(censored) Loading required package: parsnip Loading required package: survival > > test_check("censored") Saving _problems/test-bag_tree-rpart-41.R [ FAIL 1 | WARN 29 | SKIP 23 | PASS 711 ] ══ Skipped tests (23) ══════════════════════════════════════════════════════════ • On CRAN (23): 'test-bag_tree-rpart.R:87:1', 'test-bag_tree-rpart.R:151:1', 'test-boost_tree-mboost.R:108:1', 'test-decision_tree-partykit.R:113:1', 'test-decision_tree-rpart.R:112:1', 'test-proportional_hazards-glmnet.R:23:1', 'test-proportional_hazards-glmnet.R:1204:1', 'test-proportional_hazards-glmnet.R:1216:1', 'test-proportional_hazards-glmnet.R:1247:1', 'test-proportional_hazards-glmnet.R:1258:1', 'test-proportional_hazards-glmnet.R:1380:1', 'test-proportional_hazards-survival.R:134:1', 'test-proportional_hazards-survival.R:211:1', 'test-proportional_hazards-survival.R:225:1', 'test-proportional_hazards.R:4:1', 'test-rand_forest-aorsf.R:210:1', 'test-rand_forest-partykit.R:134:1', 'test-survival_reg-flexsurvspline.R:56:1', 'test-survival_reg-flexsurvspline.R:298:1', 'test-survival_reg-flexsurvspline.R:478:1', 'test-survival_reg-survival.R:47:1', 'test-survival_reg-survival.R:189:1', 'test-survival_reg.R:4:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-bag_tree-rpart.R:41:3'): main args work without set_model_arg() ── Expected `f_fit$fit[-6]` to equal `exp_f_fit[-6]`. Differences: actual$mtrees[[1]]$btree$call[81:84] vs expected$mtrees[[1]]$btree$call[81:84] `"186.1", "50.3", "228", "90", "81.1", "74", "149", "12", "38", ` `"82", "196.1", "48", "87.2", "167.1", "83", "95", "148.4", "147", ` `"152.1", "108.1", "32", "6.1", "7", "73.3"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[2]]$btree$call[81:84] vs expected$mtrees[[2]]$btree$call[81:84] `"65", "34.1", "4.2", "153", "79", "96.1", "10.2", "121", "13.1", ` `"78", "220.2", "144.1", "54.3", "112", "108.1", "165.1", "220.3", ` `"55.1", "124.2", "178", "128", "15.1", "143.3"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[3]]$btree$call[80:83] vs expected$mtrees[[3]]$btree$call[80:84] `"223.1", "97.1", "121.1", "86.2", "132", "32.2", "151.1", "160", ` `"34", "106.2", "136.2", "44", "71", "164.1", "228", "119", "136.3", ` `"76.2", "205", "141", "58.1", "202.1", "99", "30.1", "122.2", ` - `"128.3", "56", "169.3", "216.1"), class = "data.frame"), control = control)` + `"128.3", "56", "169.3", "216.1"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[4]]$btree$call[81:84] vs expected$mtrees[[4]]$btree$call[81:84] `"26", "83", "3.2", "28.1", "154.1", "216.1", "172.1", "125.2", ` `"151.1", "87.1", "120", "66.1", "6", "113.1", "204.2", "65", ` `"215", "195", "224.1", "124.2", "115", "99.1"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[5]]$btree$call[81:84] vs expected$mtrees[[5]]$btree$call[81:84] `"197.1", "145.2", "192", "159", "183.3", "134", "127", "218.3", ` `"40", "168", "155.2", "81", "155.3", "165", "157", "131", "94.1", ` `"33.1", "226.1", "97.1", "225.2", "30"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[6]]$btree$call[80:83] vs expected$mtrees[[6]]$btree$call[80:84] `"221.2", "83.1", "198.1", "33.1", "54.1", "100.1", "52.4", "49.3", ` `"39.1", "87", "78", "195.1", "148.1", "203.1", "40", "145", "79.2", ` `"218", "38.1", "81.1", "24.2", "54.2", "117.2", "137.3", "36.1", ` - `"129.2", "113.2", "175.1"), class = "data.frame"), control = control)` + `"129.2", "113.2", "175.1"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[7]]$btree$call[82:85] vs expected$mtrees[[7]]$btree$call[82:85] `"56.1", "112.1", "93.1", "175.2", "165", "133", "164", "155.2", ` `"223.2", "85.2", "87.1", "219", "201.1", "217.1", "67", "166.2", ` `"212.1", "204.1", "163.1", "157.1", "149.1", "97"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[8]]$btree$call[81:84] vs expected$mtrees[[8]]$btree$call[81:84] `"40.1", "16.2", "210.1", "18", "162", "93.2", "70.1", "112", ` `"150", "177", "174.1", "25.1", "190.1", "2.1", "115", "118.2", ` `"129", "225.3", "97.2", "222.2", "99"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[9]]$btree$call[81:84] vs expected$mtrees[[9]]$btree$call[81:84] `"113", "219.1", "35.1", "172.2", "222", "158.3", "38.1", "12", ` `"204", "162", "176.2", "62", "194.1", "33", "179.1", "173.1", ` `"216.1", "180", "155", "121", "79.2"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[10]]$btree$call[81:84] vs expected$mtrees[[10]]$btree$call[81:84] `"79.1", "18.1", "97.2", "141.3", "113.1", "7", "208.1", "125", ` `"207", "92.2", "186.1", "228.2", "137", "131.3", "197.1", "13", ` `"204.1", "43", "24.2", "83.2", "109", "42.1"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[11]]$btree$call[80:83] vs expected$mtrees[[11]]$btree$call[80:84] `"140", "9.2", "133", "185", "121", "155", "111", "95", "153.1", ` `"51.3", "160", "142.2", "45.1", "4.2", "13.1", "223.1", "187", ` `"119", "215.2", "24.1", "190.1", "31", "56.2", "184", "166", ` - `"63.2", "228"), class = "data.frame"), control = control)` + `"63.2", "228"), class = "data.frame"), control = control, maxdepth = 20, ` + ` minsplit = 10, cp = 0.5)` actual$mtrees[[12]]$btree$call[80:83] vs expected$mtrees[[12]]$btree$call[80:84] `"66.2", "28", "19.1", "148", "163.1", "60.1", "183.1", "51", ` `"209.2", "129.1", "85", "116", "75.1", "97", "165.1", "168", ` `"50", "147.1", "65", "78.2", "211", "169.2", "84.2", "91.2", ` - `"205.1", "146", "222.2", "166"), class = "data.frame"), control = control)` + `"205.1", "146", "222.2", "166"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[13]]$btree$call[80:83] vs expected$mtrees[[13]]$btree$call[80:84] `"139.1", "120", "19", "226", "180.1", "84.2", "202", "93", "224.1", ` `"87.1", "206.1", "168", "113", "95.2", "97.2", "199.1", "38.1", ` `"122", "77", "137", "119.1", "192", "191", "56.2", "176", "39", ` - `"78", "210.1", "6.1", "198"), class = "data.frame"), control = control)` + `"78", "210.1", "6.1", "198"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[14]]$btree$call[80:83] vs expected$mtrees[[14]]$btree$call[80:84] `"183.1", "152", "31.2", "218", "161.1", "27.3", "195", "162.2", ` `"27.4", "191", "205", "28.2", "147", "212", "17", "157", "96.1", ` `"23.3", "38", "2.2", "124", "28.3", "173.4", "62", "186.2", "203.1", ` - `"44.1", "177.2", "8.1", "36.2"), class = "data.frame"), control = control)` + `"44.1", "177.2", "8.1", "36.2"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[15]]$btree$call[81:84] vs expected$mtrees[[15]]$btree$call[81:84] `"98", "197", "196.1", "40", "69.2", "89.3", "118", "12", "84.1", ` `"108", "53", "48.1", "154.3", "134.1", "170.1", "171.2", "18.1", ` `"109.2", "216", "222", "215", "181", "10.1"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[16]]$btree$call[80:83] vs expected$mtrees[[16]]$btree$call[80:84] `"10.1", "67.1", "141", "155", "118", "210", "189", "99.1", "23.1", ` `"139", "139.1", "184.2", "48", "193.1", "202", "106", "42.1", ` `"41", "32", "212.1", "92.4", "30.3", "68.3", "200.2", "193.2", ` - `"99.2", "187.1", "129.1"), class = "data.frame"), control = control)` + `"99.2", "187.1", "129.1"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[17]]$btree$call[80:83] vs expected$mtrees[[17]]$btree$call[80:84] `"138", "43", "129", "136", "182", "9", "130", "225", "29", "160", ` `"110", "219.1", "66.1", "98.2", "174.1", "150.2", "20.2", "165", ` `"131", "91", "76", "161", "154.1", "26", "43.1", "94.2", "224", ` - `"73.3"), class = "data.frame"), control = control)` + `"73.3"), class = "data.frame"), control = control, maxdepth = 20, ` + ` minsplit = 10, cp = 0.5)` actual$mtrees[[18]]$btree$call[80:83] vs expected$mtrees[[18]]$btree$call[80:83] `"59.1", "104.1", "102.1", "224", "8", "142", "121.2", "19.3", ` `"80", "154.2", "138.1", "73", "100", "182.2", "70", "36.1", "202.1", ` `"87.1", "99.2", "85.1", "226.1", "193", "44", "43", "146.1"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[19]]$btree$call[80:83] vs expected$mtrees[[19]]$btree$call[80:84] `"163", "108", "28.2", "24.1", "158", "108.1", "215", "144.1", ` `"85.2", "192.1", "175.1", "175.2", "192.2", "22.2", "124", "95.2", ` `"163.1", "51", "15.1", "158.1", "27", "165.2", "212", "49.3", ` - `"218", "97", "227"), class = "data.frame"), control = control)` + `"218", "97", "227"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[20]]$btree$call[80:83] vs expected$mtrees[[20]]$btree$call[80:84] `"59", "13", "90.1", "12.2", "193.1", "55.2", "138.1", "21.2", ` `"182", "220", "83.3", "96.2", "86", "219.1", "30.1", "37.2", ` `"111.1", "34.1", "212", "81", "110.2", "134.3", "161", "148.2", ` - `"207", "79.1", "71.1"), class = "data.frame"), control = control)` + `"207", "79.1", "71.1"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[21]]$btree$call[80:83] vs expected$mtrees[[21]]$btree$call[80:84] `"115.1", "88.1", "167", "74", "106.1", "184", "97.2", "58.1", ` `"186.1", "144.2", "50.3", "183", "210", "154.2", "222.4", "148", ` `"142", "186.2", "169.2", "83", "192", "44.1", "30", "155", "134", ` - `"112", "165", "102.1"), class = "data.frame"), control = control)` + `"112", "165", "102.1"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[22]]$btree$call[81:84] vs expected$mtrees[[22]]$btree$call[81:84] `"159.1", "98.1", "43.2", "152.3", "125.2", "99", "189", "208", ` `"116.1", "173.2", "58", "52", "105.1", "77", "59", "13", "103", ` `"45", "165.1", "63.1", "155.1", "8"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[23]]$btree$call[81:84] vs expected$mtrees[[23]]$btree$call[81:85] `"111.2", "205.1", "49", "225", "193", "116", "154", "76.1", "166", ` `"130.1", "75.1", "87", "7.3", "209", "77.1", "122.2", "191", ` `"195", "146", "159.3", "114", "182", "38.1", "194.2", "214", ` - `"124", "115.2", "46.3", "214.1"), class = "data.frame"), control = control)` + `"124", "115.2", "46.3", "214.1"), class = "data.frame"), control = control, ` + ` maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[24]]$btree$call[81:84] vs expected$mtrees[[24]]$btree$call[81:84] `"81", "139.3", "142", "45.1", "54", "167.1", "13.1", "125.2", ` `"195.1", "25", "99", "65", "134.1", "177", "162.1", "24.1", "2.1", ` `"139.4", "134.2", "48", "187.1", "27"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` actual$mtrees[[25]]$btree$call[81:84] vs expected$mtrees[[25]]$btree$call[81:84] `"159", "141", "24.1", "132", "120.3", "160.2", "22", "26.2", ` `"131.2", "83.1", "171", "133.1", "82.2", "79.1", "10.2", "211.1", ` `"162.1", "124.1", "220.1", "190", "96.1", "75.2"), class = "data.frame"), ` - ` control = control)` + ` control = control, maxdepth = 20, minsplit = 10, cp = 0.5)` [ FAIL 1 | WARN 29 | SKIP 23 | PASS 711 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc