CRAN Package Check Results for Package gustave

Last updated on 2019-03-14 00:46:39 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.0 8.17 74.47 82.64 WARN
r-devel-linux-x86_64-debian-gcc 0.4.0 5.78 61.53 67.31 OK
r-devel-linux-x86_64-fedora-clang 0.4.0 102.21 OK
r-devel-linux-x86_64-fedora-gcc 0.4.0 96.27 OK
r-devel-windows-ix86+x86_64 0.4.0 17.00 97.00 114.00 OK
r-patched-linux-x86_64 0.4.0 5.34 76.02 81.36 OK
r-patched-solaris-x86 0.4.0 157.40 OK
r-release-linux-x86_64 OK
r-release-windows-ix86+x86_64 0.4.0 11.00 86.00 97.00 OK
r-release-osx-x86_64 0.4.0 OK
r-oldrel-windows-ix86+x86_64 0.4.0 11.00 85.00 96.00 ERROR
r-oldrel-osx-x86_64 0.4.0 OK

Check Details

Version: 0.4.0
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     Warning: unable to re-encode 'define_statistic_wrapper.R' line 89
     Warning: unable to re-encode 'standard_statistic_wrapper.R' line 39
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.4.0
Check: examples
Result: ERROR
    Running examples in 'gustave-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: res_cal
    > ### Title: Linear Regression Residuals Calculation
    > ### Aliases: res_cal
    >
    > ### ** Examples
    >
    > # Generating random data
    > set.seed(1)
    > n <- 100
    > H <- 5
    > y <- matrix(rnorm(2*n), nrow = n)
    > x <- matrix(rnorm(10*n), nrow = n)
    > by <- letters[sample(1:H, n, replace = TRUE)]
    >
    > # Direct calculation
    > res_cal(y, x)
     [,1] [,2]
     [1,] -0.3265432586 -0.55772909
     [2,] -0.1357574593 -0.03021647
     [3,] -0.9224491379 -0.67955475
     [4,] 1.7087510719 0.21990900
     [5,] 0.6660872565 -0.51921517
     [6,] -0.5944545977 1.82307597
     [7,] 0.4333500021 0.82388163
     [8,] 0.4298115965 0.81630288
     [9,] 0.1390156659 0.14896245
     [10,] -0.0712864659 1.80164546
     [11,] 1.2542456251 -0.67967451
     [12,] 0.2208770103 -0.59073182
     [13,] -0.9021353873 1.03484499
     [14,] -2.1239621717 -0.88832846
     [15,] 0.7799911846 0.21929901
     [16,] -0.0085706363 -0.23140925
     [17,] -0.2985629918 -0.55738730
     [18,] 0.9332732688 -0.70852089
     [19,] 0.7467131768 0.44146086
     [20,] 0.5434929781 -0.16829989
     [21,] 0.7460936652 -0.73871163
     [22,] 0.8978325672 1.52551447
     [23,] -0.0233310560 -0.03120397
     [24,] -1.8317588860 0.11189922
     [25,] 0.6620859110 -0.02881462
     [26,] -0.5191865459 0.37869659
     [27,] -0.0365127357 0.10228664
     [28,] -1.3114869156 0.01885828
     [29,] -0.6207885455 -0.83987243
     [30,] 0.4822765995 0.02182098
     [31,] 1.4734065009 0.07635306
     [32,] -0.2743311085 -0.99599881
     [33,] 0.4233241137 0.56466975
     [34,] 0.1176390350 -1.39620088
     [35,] -1.1740321582 0.16113027
     [36,] -0.5123139275 -1.43642831
     [37,] -0.6259289239 -0.30895994
     [38,] 0.2946971258 -0.43613796
     [39,] 1.5544622867 -0.54502562
     [40,] 0.6807744338 -0.16134929
     [41,] 0.0152465058 -1.83036157
     [42,] -0.4090411778 1.02694803
     [43,] 0.3410705141 -1.71688754
     [44,] 0.4551567131 -0.81824838
     [45,] -0.3805961587 -0.99450472
     [46,] -0.3641270382 -0.56335804
     [47,] 0.3400922153 2.39567455
     [48,] 0.7345984020 -0.03215983
     [49,] -0.0896046138 -1.38259878
     [50,] 1.1903061219 -1.29476485
     [51,] 0.2332781266 0.56969347
     [52,] -0.4924408213 0.10929308
     [53,] 0.1588635338 -0.08162807
     [54,] -0.6704578323 -0.70196882
     [55,] 1.9391970080 -0.98713357
     [56,] 1.9699926442 -1.17717599
     [57,] -0.5997753394 0.75314317
     [58,] -0.8877000460 -0.43390254
     [59,] 0.7735471805 -1.36764833
     [60,] -0.1379987765 1.80365491
     [61,] 1.8140575836 0.10799777
     [62,] -0.0292098000 -0.21122322
     [63,] 1.0539577364 0.94413313
     [64,] -0.4026273514 0.68631042
     [65,] -1.0204207069 -0.89543259
     [66,] 0.0856166985 1.91113575
     [67,] -1.7605699858 -0.32090690
     [68,] 1.4479465406 -1.74669073
     [69,] -0.3394567405 -0.44653638
     [70,] 2.0305648861 0.23721233
     [71,] 0.4595866551 2.36614970
     [72,] -0.7116357506 0.46808414
     [73,] 0.8240772067 0.25044010
     [74,] -0.8646837777 -0.22269640
     [75,] -0.8575583740 -0.36033791
     [76,] 0.6069973859 -0.01889453
     [77,] -0.5391697707 0.33581612
     [78,] -0.0531472996 1.82846065
     [79,] -0.4245724338 0.93378004
     [80,] -0.5873351087 1.20007327
     [81,] -0.4822375854 -0.90949073
     [82,] 0.0926332021 0.98541926
     [83,] 1.3662700952 0.39229268
     [84,] -1.3601149261 -1.40368572
     [85,] 0.5180625482 0.17321385
     [86,] 0.2078741879 -0.50318796
     [87,] 1.2479187772 1.33784486
     [88,] -0.3190587357 -0.51878095
     [89,] 0.5401526469 -0.13657206
     [90,] -0.0008499672 -1.02603711
     [91,] -0.0910243197 0.28899111
     [92,] 1.1205684224 0.18046098
     [93,] 1.3667717985 -0.74596729
     [94,] 0.6704327291 0.65637143
     [95,] 0.7318554793 -1.53878004
     [96,] 0.4490018258 -1.12368861
     [97,] -0.8770646436 1.48022728
     [98,] -0.4628308009 -0.61346049
     [99,] -1.1938068364 0.43594250
    [100,] -0.2977016124 -0.30749160
    >
    > # Calculation with pre-calculated data
    > precalc <- res_cal(y = NULL, x)
    > res_cal(y, precalc = precalc)
     [,1] [,2]
     [1,] -0.3265432586 -0.55772909
     [2,] -0.1357574593 -0.03021647
     [3,] -0.9224491379 -0.67955475
     [4,] 1.7087510719 0.21990900
     [5,] 0.6660872565 -0.51921517
     [6,] -0.5944545977 1.82307597
     [7,] 0.4333500021 0.82388163
     [8,] 0.4298115965 0.81630288
     [9,] 0.1390156659 0.14896245
     [10,] -0.0712864659 1.80164546
     [11,] 1.2542456251 -0.67967451
     [12,] 0.2208770103 -0.59073182
     [13,] -0.9021353873 1.03484499
     [14,] -2.1239621717 -0.88832846
     [15,] 0.7799911846 0.21929901
     [16,] -0.0085706363 -0.23140925
     [17,] -0.2985629918 -0.55738730
     [18,] 0.9332732688 -0.70852089
     [19,] 0.7467131768 0.44146086
     [20,] 0.5434929781 -0.16829989
     [21,] 0.7460936652 -0.73871163
     [22,] 0.8978325672 1.52551447
     [23,] -0.0233310560 -0.03120397
     [24,] -1.8317588860 0.11189922
     [25,] 0.6620859110 -0.02881462
     [26,] -0.5191865459 0.37869659
     [27,] -0.0365127357 0.10228664
     [28,] -1.3114869156 0.01885828
     [29,] -0.6207885455 -0.83987243
     [30,] 0.4822765995 0.02182098
     [31,] 1.4734065009 0.07635306
     [32,] -0.2743311085 -0.99599881
     [33,] 0.4233241137 0.56466975
     [34,] 0.1176390350 -1.39620088
     [35,] -1.1740321582 0.16113027
     [36,] -0.5123139275 -1.43642831
     [37,] -0.6259289239 -0.30895994
     [38,] 0.2946971258 -0.43613796
     [39,] 1.5544622867 -0.54502562
     [40,] 0.6807744338 -0.16134929
     [41,] 0.0152465058 -1.83036157
     [42,] -0.4090411778 1.02694803
     [43,] 0.3410705141 -1.71688754
     [44,] 0.4551567131 -0.81824838
     [45,] -0.3805961587 -0.99450472
     [46,] -0.3641270382 -0.56335804
     [47,] 0.3400922153 2.39567455
     [48,] 0.7345984020 -0.03215983
     [49,] -0.0896046138 -1.38259878
     [50,] 1.1903061219 -1.29476485
     [51,] 0.2332781266 0.56969347
     [52,] -0.4924408213 0.10929308
     [53,] 0.1588635338 -0.08162807
     [54,] -0.6704578323 -0.70196882
     [55,] 1.9391970080 -0.98713357
     [56,] 1.9699926442 -1.17717599
     [57,] -0.5997753394 0.75314317
     [58,] -0.8877000460 -0.43390254
     [59,] 0.7735471805 -1.36764833
     [60,] -0.1379987765 1.80365491
     [61,] 1.8140575836 0.10799777
     [62,] -0.0292098000 -0.21122322
     [63,] 1.0539577364 0.94413313
     [64,] -0.4026273514 0.68631042
     [65,] -1.0204207069 -0.89543259
     [66,] 0.0856166985 1.91113575
     [67,] -1.7605699858 -0.32090690
     [68,] 1.4479465406 -1.74669073
     [69,] -0.3394567405 -0.44653638
     [70,] 2.0305648861 0.23721233
     [71,] 0.4595866551 2.36614970
     [72,] -0.7116357506 0.46808414
     [73,] 0.8240772067 0.25044010
     [74,] -0.8646837777 -0.22269640
     [75,] -0.8575583740 -0.36033791
     [76,] 0.6069973859 -0.01889453
     [77,] -0.5391697707 0.33581612
     [78,] -0.0531472996 1.82846065
     [79,] -0.4245724338 0.93378004
     [80,] -0.5873351087 1.20007327
     [81,] -0.4822375854 -0.90949073
     [82,] 0.0926332021 0.98541926
     [83,] 1.3662700952 0.39229268
     [84,] -1.3601149261 -1.40368572
     [85,] 0.5180625482 0.17321385
     [86,] 0.2078741879 -0.50318796
     [87,] 1.2479187772 1.33784486
     [88,] -0.3190587357 -0.51878095
     [89,] 0.5401526469 -0.13657206
     [90,] -0.0008499672 -1.02603711
     [91,] -0.0910243197 0.28899111
     [92,] 1.1205684224 0.18046098
     [93,] 1.3667717985 -0.74596729
     [94,] 0.6704327291 0.65637143
     [95,] 0.7318554793 -1.53878004
     [96,] 0.4490018258 -1.12368861
     [97,] -0.8770646436 1.48022728
     [98,] -0.4628308009 -0.61346049
     [99,] -1.1938068364 0.43594250
    [100,] -0.2977016124 -0.30749160
    > identical(res_cal(y, x), res_cal(y, precalc = precalc))
    [1] TRUE
    >
    > # Matrix::TsparseMatrix capability
    > require(Matrix)
    Loading required package: Matrix
    > X <- as(x, "TsparseMatrix")
    > Y <- as(y, "TsparseMatrix")
    > identical(res_cal(y, x), as.matrix(res_cal(Y, X)))
    [1] TRUE
    >
    > # by parameter for within by-groups calculation
    > res_cal(Y, X, by = by)
    100 x 2 sparse Matrix of class "dgTMatrix"
    Error in isFALSE(suppRows) : could not find function "isFALSE"
    Calls: <Anonymous> -> <Anonymous> -> printSpMatrix2
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64