CRAN Package Check Results for Package RBPcurve

Last updated on 2019-07-21 07:49:18 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2 7.66 75.63 83.29 OK
r-devel-linux-x86_64-debian-gcc 1.2 7.19 59.79 66.98 OK
r-devel-linux-x86_64-fedora-clang 1.2 99.05 OK
r-devel-linux-x86_64-fedora-gcc 1.2 95.51 OK
r-devel-windows-ix86+x86_64 1.2 20.00 129.00 149.00 OK
r-patched-linux-x86_64 1.2 9.19 73.47 82.66 OK
r-patched-solaris-x86 1.2 164.00 OK
r-release-linux-x86_64 1.2 8.13 73.17 81.30 ERROR
r-release-windows-ix86+x86_64 1.2 18.00 78.00 96.00 OK
r-release-osx-x86_64 1.2 OK
r-oldrel-windows-ix86+x86_64 1.2 17.00 82.00 99.00 OK
r-oldrel-osx-x86_64 1.2 OK

Check Details

Version: 1.2
Check: tests
Result: ERROR
     Running ‘run-all.R’ [4s/5s]
    Running the tests in ‘tests/run-all.R’ failed.
    Complete output:
     > library(testthat)
     > library(mlr)
     Loading required package: ParamHelpers
     >
     > test_check("RBPcurve")
     Loading required package: RBPcurve
     ── 1. Error: add_functions (@test_add.R#18) ───────────────────────────────────
     invalid graphics state
     1: checkAdd(fun = k, obj = obj, plot.values = i, show.info = j) at testthat/test_add.R:18
     2: do.call(fun, fun.arg) at testthat/test_add.R:9
     3: addWellCalib(obj = structure(list(n = 256L, pred = c(0.612019092706377, 0.161757339184978,
     0.279532721868732, 0.0191319809711116, 0.106261882761889, 0.00578679460558326, 0.164962637794946,
     0.259077803360277, 0.762968607377623, 0.159312224842377, 0.565500896561368, 0.231108120282628,
     0.433475247645233, 0.181361010482937, 0.551627618902726, 0.321303492066774, 0.653292590957253,
     0.332485344599507, 0.0665648062099814, 0.20833587729525, 0.265517265434843, 0.73778373485464,
     0.909973983445332, 0.741052461855151, 0.522715572871567, 0.900691384468105, 0.279041490769769,
     0.141295997872789, 0.43463071799406, 0.16732387114439, 0.556438843966433, 0.456018701784419,
     0.179010807409185, 0.25032140154378, 0.554323013594569, 0.0743250281342558, 0.730670026095834,
     0.735610530660547, 0.518425447712306, 0.467631479866141, 0.763197290027437, 0.903070747432186,
     0.0549561578607955, 0.441667866266113, 0.553001309018358, 0.137676466350352, 0.845309853475911,
     0.0212397078574201, 0.370853274863033, 0.117236604871815, 0.663477126450652, 0.156123351726044,
     0.222426219348827, 0.0977096299501986, 0.429332131330676, 0.338180114236732, 0.0818479099469613,
     0.132479757928305, 0.0207790429915173, 0.782675621862651, 0.694872431306977, 0.784052314176626,
     0.403634757692869, 0.141032809505583, 0.775066735059257, 0.0378641750506313, 0.963901320201571,
     0.504085552000769, 0.275505097714667, 0.177694738947805, 0.257346927737338, 0.245151482459448,
     0.0560512010257764, 0.137113784383492, 0.228818825565305, 0.353555742098474, 0.10640214815232,
     0.538918338864718, 0.139475432565027, 0.066565063765702, 0.142388470270386, 0.189894863137231,
     0.944031540776062, 0.0792322306665951, 0.137031502151067, 0.0118703769154939, 0.958035101409887,
     0.908471989008018, 0.0562739370285671, 0.0624692449253487, 0.454128258100186, 0.223648995538505,
     0.0372794161612622, 0.190269319678322, 0.212899362758527, 0.177322963414047, 0.12188533566943,
     0.256146563185262, 0.644995920425133, 0.0809857661051659, 0.696390904292546, 0.142428692449781,
     0.701578941172679, 0.0971161643059886, 0.415417207012889, 0.819496776047247, 0.955907287800109,
     0.0422354760369227, 0.070392032788748, 0.311420329341296, 0.0561295162125845, 0.343091209076308,
     0.0866860349313725, 0.716121091645674, 0.814007162998478, 0.808618469424692, 0.0688154516638447,
     0.0990879891787409, 0.414820562197381, 0.128408297330624, 0.0593685659306419, 0.676195082140699,
     0.0665513522812494, 0.109721789958197, 0.467490057378856, 0.47178791669862, 0.0352437150090397,
     0.156581784570422, 0.234002931150288, 0.476240289089521, 0.113344002837067, 0.191102543104292,
     0.101446348032652, 0.278687931348525, 0.0648833172525031, 0.178331832229526, 0.476747671614105,
     0.200093593701711, 0.139622125568561, 0.297856931878834, 0.158850469333862, 0.732466623522446,
     0.941301762693511, 0.0985613484316892, 0.771379515168311, 0.450849588513647, 0.156658681860607,
     0.0647976306873515, 0.118985826325281, 0.294685584214015, 0.0295321472124369, 0.0803322834293497,
     0.113911319418433, 0.494256725271594, 0.740296392999841, 0.139865238379169, 0.098086858176106,
     0.109195793358364, 0.373566891039515, 0.739552021903298, 0.276851445617897, 0.627515502084826,
     0.342033903738559, 0.851901063135883, 0.72766321939496, 0.362812345539256, 0.956738189980386,
     0.684339010746399, 0.992353153145743, 0.170497990051416, 0.756398155999343, 0.290017709203212,
     0.240023014742412, 0.326722950289177, 0.103955523562858, 0.464263266961618, 0.14697328044667,
     0.388632624213261, 0.401154388504354, 0.115567761329716, 0.692887365779226, 0.550293662260636,
     0.476292888808168, 0.721410949652475, 0.835895761315162, 0.117581088754191, 0.677408422287992,
     0.103225485412677, 0.400894424487682, 0.15053061479947, 0.0247283720419478, 0.678932806374972,
     0.492426558789124, 0.350586779740144, 0.403733444386293, 0.224330190930875, 0.222159078834884,
     0.268283487524422, 0.396038106838689, 0.110167030928521, 0.155517418715335, 0.894318503946442,
     0.676024790790639, 0.693569765757002, 0.318785767328555, 0.831610633964182, 0.674573791858285,
     0.13084449845457, 0.107971990694248, 0.194214404802628, 0.253254706823264, 0.915574188506858,
     0.370480435539011, 0.0435432670701013, 0.131860940326702, 0.0604064157260137, 0.372144567322787,
     0.944447687011466, 0.287103331967698, 0.103291522179357, 0.18690392655533, 0.144891316133345,
     0.529445118287151, 0.1581622599085, 0.115163363039587, 0.770820134231698, 0.975480592933349,
     0.332735164270418, 0.654697711492438, 0.203823573193615, 0.816713318008713, 0.116777398931789,
     0.173264668749612, 0.0468599475022569, 0.121928414662667, 0.0647532183512734, 0.397803116708485,
     0.546866404204441, 0.663333885524925, 0.353784992483793, 0.460684156134705, 0.36005374763676,
     0.041550510873379, 0.85148279180606, 0.639851030489946, 0.805592006480011, 0.187212272813459,
     0.113494193699428, 0.26964807184917, 0.86492585501765, 0.115710651943316, 0.213166741173992,
     0.0352096611189516, 0.272926004030392, 0.60033691910637, 0.76775273559024), y = c(0,
     1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1,
     1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1,
     1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1,
     0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1,
     1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1,
     1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0,
     0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1,
     1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1,
     0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0,
     1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1), positive = "neg", e0 = 0.636548357733044, e1 = 0.26059243474764,
     pev = -0.375955922985404, tpr = 0.0601092896174863, fpr = 0.465753424657534,
     prev = 0.71484375, one.min.prev = 0.28515625, axis.x = c(0.00390625, 0.0078125,
     0.01171875, 0.015625, 0.01953125, 0.0234375, 0.02734375, 0.03125, 0.03515625,
     0.0390625, 0.04296875, 0.046875, 0.05078125, 0.0546875, 0.05859375, 0.0625, 0.06640625,
     0.0703125, 0.07421875, 0.078125, 0.08203125, 0.0859375, 0.08984375, 0.09375,
     0.09765625, 0.1015625, 0.10546875, 0.109375, 0.11328125, 0.1171875, 0.12109375,
     0.125, 0.12890625, 0.1328125, 0.13671875, 0.140625, 0.14453125, 0.1484375, 0.15234375,
     0.15625, 0.16015625, 0.1640625, 0.16796875, 0.171875, 0.17578125, 0.1796875,
     0.18359375, 0.1875, 0.19140625, 0.1953125, 0.19921875, 0.203125, 0.20703125,
     0.2109375, 0.21484375, 0.21875, 0.22265625, 0.2265625, 0.23046875, 0.234375,
     0.23828125, 0.2421875, 0.24609375, 0.25, 0.25390625, 0.2578125, 0.26171875, 0.265625,
     0.26953125, 0.2734375, 0.27734375, 0.28125, 0.28515625, 0.2890625, 0.29296875,
     0.296875, 0.30078125, 0.3046875, 0.30859375, 0.3125, 0.31640625, 0.3203125, 0.32421875,
     0.328125, 0.33203125, 0.3359375, 0.33984375, 0.34375, 0.34765625, 0.3515625,
     0.35546875, 0.359375, 0.36328125, 0.3671875, 0.37109375, 0.375, 0.37890625, 0.3828125,
     0.38671875, 0.390625, 0.39453125, 0.3984375, 0.40234375, 0.40625, 0.41015625,
     0.4140625, 0.41796875, 0.421875, 0.42578125, 0.4296875, 0.43359375, 0.4375, 0.44140625,
     0.4453125, 0.44921875, 0.453125, 0.45703125, 0.4609375, 0.46484375, 0.46875,
     0.47265625, 0.4765625, 0.48046875, 0.484375, 0.48828125, 0.4921875, 0.49609375,
     0.5, 0.50390625, 0.5078125, 0.51171875, 0.515625, 0.51953125, 0.5234375, 0.52734375,
     0.53125, 0.53515625, 0.5390625, 0.54296875, 0.546875, 0.55078125, 0.5546875,
     0.55859375, 0.5625, 0.56640625, 0.5703125, 0.57421875, 0.578125, 0.58203125,
     0.5859375, 0.58984375, 0.59375, 0.59765625, 0.6015625, 0.60546875, 0.609375,
     0.61328125, 0.6171875, 0.62109375, 0.625, 0.62890625, 0.6328125, 0.63671875,
     0.640625, 0.64453125, 0.6484375, 0.65234375, 0.65625, 0.66015625, 0.6640625,
     0.66796875, 0.671875, 0.67578125, 0.6796875, 0.68359375, 0.6875, 0.69140625,
     0.6953125, 0.69921875, 0.703125, 0.70703125, 0.7109375, 0.71484375, 0.71875,
     0.72265625, 0.7265625, 0.73046875, 0.734375, 0.73828125, 0.7421875, 0.74609375,
     0.75, 0.75390625, 0.7578125, 0.76171875, 0.765625, 0.76953125, 0.7734375, 0.77734375,
     0.78125, 0.78515625, 0.7890625, 0.79296875, 0.796875, 0.80078125, 0.8046875,
     0.80859375, 0.8125, 0.81640625, 0.8203125, 0.82421875, 0.828125, 0.83203125,
     0.8359375, 0.83984375, 0.84375, 0.84765625, 0.8515625, 0.85546875, 0.859375,
     0.86328125, 0.8671875, 0.87109375, 0.875, 0.87890625, 0.8828125, 0.88671875,
     0.890625, 0.89453125, 0.8984375, 0.90234375, 0.90625, 0.91015625, 0.9140625,
     0.91796875, 0.921875, 0.92578125, 0.9296875, 0.93359375, 0.9375, 0.94140625,
     0.9453125, 0.94921875, 0.953125, 0.95703125, 0.9609375, 0.96484375, 0.96875,
     0.97265625, 0.9765625, 0.98046875, 0.984375, 0.98828125, 0.9921875, 0.99609375,
     1), axis.y = c(-0.992353153145743, -0.975480592933349, -0.963901320201571, -0.958035101409887,
     -0.956738189980386, -0.955907287800109, -0.944447687011466, -0.944031540776062,
     -0.941301762693511, -0.915574188506858, -0.909973983445332, -0.903070747432186,
     -0.894318503946442, -0.86492585501765, -0.851901063135883, -0.85148279180606,
     -0.845309853475911, -0.835895761315162, -0.831610633964182, -0.819496776047247,
     -0.816713318008713, -0.814007162998478, -0.805592006480011, -0.782675621862651,
     -0.775066735059257, -0.771379515168311, -0.770820134231698, -0.763197290027437,
     -0.741052461855151, -0.739552021903298, -0.735610530660547, -0.732466623522446,
     -0.730670026095834, -0.72766321939496, -0.701578941172679, -0.696390904292546,
     -0.694872431306977, -0.684339010746399, -0.677408422287992, -0.676195082140699,
     -0.676024790790639, -0.654697711492438, -0.653292590957253, -0.612019092706377,
     -0.60033691910637, -0.565500896561368, -0.554323013594569, -0.553001309018358,
     -0.550293662260636, -0.546866404204441, -0.538918338864718, -0.529445118287151,
     -0.518425447712306, -0.504085552000769, -0.492426558789124, -0.467631479866141,
     -0.464263266961618, -0.441667866266113, -0.403634757692869, -0.400894424487682,
     -0.388632624213261, -0.353555742098474, -0.342033903738559, -0.265517265434843,
     -0.256146563185262, -0.234002931150288, -0.177322963414047, -0.173264668749612,
     -0.156123351726044, -0.139622125568561, -0.12188533566943, -0.103955523562858,
     -0.0352096611189516, 0.091528010991982, 0.0993086155318953, 0.191381530575308,
     0.215947685823374, 0.23224726440976, 0.237031392622377, 0.243601844000657, 0.259703607000159,
     0.26221626514536, 0.278589050347525, 0.283878908354326, 0.306430234242998, 0.307112634220774,
     0.321067193625028, 0.325426208141715, 0.336522873549348, 0.336666114475075, 0.355004079574867,
     0.360148969510054, 0.372484497915174, 0.443561156033567, 0.448372381097274, 0.477284427128433,
     0.505743274728406, 0.523252328385895, 0.523707111191832, 0.523759710910479, 0.52821208330138,
     0.532509942621144, 0.539315843865295, 0.543981298215581, 0.545871741899814, 0.549150411486353,
     0.56536928200594, 0.566524752354767, 0.570667868669324, 0.584582792987111, 0.585179437802619,
     0.596266555613707, 0.598845611495646, 0.602196883291515, 0.603961893161311, 0.626433108960486,
     0.627855432677213, 0.629146725136967, 0.629519564460989, 0.637187654460744, 0.63994625236324,
     0.646215007516207, 0.649413220259856, 0.656908790923692, 0.661819885763268, 0.667264835729582,
     0.667514655400493, 0.673277049710823, 0.678696507933226, 0.681214232671445, 0.688579670658704,
     0.702143068121166, 0.705314415785985, 0.709982290796788, 0.712896668032302, 0.720467278131268,
     0.720958509230231, 0.721312068651475, 0.723148554382103, 0.724494902285333, 0.727073995969608,
     0.730351928150829, 0.731716512475578, 0.740922196639723, 0.742653072262662, 0.746745293176736,
     0.74967859845622, 0.754848517540552, 0.759976985257588, 0.768891879717372, 0.771181174434695,
     0.775669809069125, 0.776351004461495, 0.777573780651173, 0.777840921165116, 0.786833258826008,
     0.787100637241473, 0.79166412270475, 0.796176426806385, 0.799906406298289, 0.805785595197372,
     0.808897456895708, 0.809730680321678, 0.810105136862769, 0.812787727186541, 0.81309607344467,
     0.818638989517063, 0.820989192590815, 0.821668167770474, 0.822305261052195, 0.829502009948584,
     0.83267612885561, 0.835037362205054, 0.838242660815022, 0.840687775157623, 0.841149530666138,
     0.8418377400915, 0.843341318139393, 0.843418215429578, 0.844482581284665, 0.84946938520053,
     0.85302671955333, 0.855108683866655, 0.857571307550219, 0.857611529729615, 0.858704002127211,
     0.858967190494417, 0.860134761620831, 0.860524567434973, 0.862323533649648, 0.862886215616508,
     0.862968497848933, 0.867520242071695, 0.868139059673298, 0.86915550154543, 0.871591702669376,
     0.878071585337334, 0.881014173674719, 0.882418911245809, 0.882763395128185, 0.883222601068211,
     0.884289348056684, 0.884432238670285, 0.884836636960413, 0.886088680581567, 0.886505806300572,
     0.886655997162933, 0.889832969071479, 0.890278210041803, 0.890804206641636, 0.892028009305752,
     0.89359785184768, 0.893738117238111, 0.896708477820643, 0.896774514587323, 0.898553651967348,
     0.900912010821259, 0.901438651568311, 0.901913141823894, 0.902290370049801, 0.902883835694011,
     0.913313965068627, 0.918152090053039, 0.919014233894834, 0.91966771657065, 0.920767769333405,
     0.925674971865744, 0.929607967211252, 0.931184548336155, 0.933434936234298, 0.933435193790019,
     0.933448647718751, 0.935116682747497, 0.935202369312648, 0.935246781648727, 0.937530755074651,
     0.939593584273986, 0.940631434069358, 0.943726062971433, 0.943870483787415, 0.943948798974224,
     0.945043842139204, 0.953140052497743, 0.956456732929899, 0.957764523963077, 0.958449489126621,
     0.962135824949369, 0.962720583838738, 0.96475628499096, 0.970467852787563, 0.975271627958052,
     0.97876029214258, 0.979220957008483, 0.980868019028888, 0.988129623084506, 0.994213205394417
     )), class = "RBPObj"), plot.values = TRUE)
     4: TeachingDemos::subplot(fun = {
     if (!diff) {
     args = list(height = t(abs(areas)), beside = TRUE, col = rep(col, each = 2L),
     main = "Area")
     }
     else {
     args = list(height = rowSums(areas), col = col, main = "Area difference")
     }
     do.call("barplot", append(append(args, list(las = 2L, xaxt = "n")), subplot.control))
     }, x = pos$x, y = pos$y, pars = list(mar = c(0, 0, 1, 0) + 0.1))
     5: do.call("barplot", append(append(args, list(las = 2L, xaxt = "n")), subplot.control))
     6: barplot(height = c(`[0, 0.1]` = 0.147008579115684, `[0.1, 0.2]` = 0.18437704655509,
     `[0.2, 0.3]` = 0.0819461231130923, `[0.3, 0.4]` = 0.0413395668008964, `[0.4, 0.5]` = 0.026220397240124,
     `[0.5, 0.6]` = -0.0136392256962697, `[0.6, 0.7]` = -0.0140809146506744, `[0.7, 0.8]` = -0.0271817074345732,
     `[0.8, 0.9]` = -0.0353120007641423, `[0.9, 1]` = -0.0436327301906742), col = c("#B2B2B2",
     "#9F9F9F", "#8B8B8B", "#777777", "#636363", "#4F4F4F", "#3C3C3C", "#282828", "#141414",
     "#000000"), main = "Area difference", las = 2L, xaxt = "n")
     7: barplot.default(height = c(`[0, 0.1]` = 0.147008579115684, `[0.1, 0.2]` = 0.18437704655509,
     `[0.2, 0.3]` = 0.0819461231130923, `[0.3, 0.4]` = 0.0413395668008964, `[0.4, 0.5]` = 0.026220397240124,
     `[0.5, 0.6]` = -0.0136392256962697, `[0.6, 0.7]` = -0.0140809146506744, `[0.7, 0.8]` = -0.0271817074345732,
     `[0.8, 0.9]` = -0.0353120007641423, `[0.9, 1]` = -0.0436327301906742), col = c("#B2B2B2",
     "#9F9F9F", "#8B8B8B", "#777777", "#636363", "#4F4F4F", "#3C3C3C", "#282828", "#141414",
     "#000000"), main = "Area difference", las = 2L, xaxt = "n")
     8: xyrect(rectbase + offset, w.l, c(height) + offset, w.r, horizontal = horiz, angle = angle,
     density = density, col = col, border = border)
     9: rect(y1, x1, y2, x2, ...)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 11 SKIPPED: 0 WARNINGS: 0 FAILED: 1
     1. Error: add_functions (@test_add.R#18)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64