CRAN Package Check Results for Package ddalpha

Last updated on 2021-12-03 22:57:37 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.11 172.59 122.90 295.49 OK
r-devel-linux-x86_64-debian-gcc 1.3.11 116.76 88.46 205.22 ERROR
r-devel-linux-x86_64-fedora-clang 1.3.11 474.71 NOTE
r-devel-linux-x86_64-fedora-gcc 1.3.11 380.10 OK
r-devel-windows-x86_64-new-UL 1.3.11 241.00 217.00 458.00 OK
r-devel-windows-x86_64-new-TK 1.3.11 OK
r-devel-windows-x86_64-old 1.3.11 224.00 132.00 356.00 OK
r-patched-linux-x86_64 1.3.11 146.27 117.75 264.02 OK
r-release-linux-x86_64 1.3.11 140.40 117.98 258.38 OK
r-release-macos-arm64 1.3.11 NOTE
r-release-macos-x86_64 1.3.11 OK
r-release-windows-ix86+x86_64 1.3.11 446.00 225.00 671.00 OK
r-oldrel-macos-x86_64 1.3.11 OK
r-oldrel-windows-ix86+x86_64 1.3.11 434.00 224.00 658.00 OK

Check Details

Version: 1.3.11
Check: examples
Result: ERROR
    Running examples in ‘ddalpha-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: depth.space.projection
    > ### Title: Calculate Depth Space using Projection Depth
    > ### Aliases: depth.space.projection
    > ### Keywords: robust multivariate nonparametric
    >
    > ### ** Examples
    >
    > # Generate a bivariate normal location-shift classification task
    > # containing 20 training objects
    > class1 <- mvrnorm(10, c(0,0),
    + matrix(c(1,1,1,4), nrow = 2, ncol = 2, byrow = TRUE))
    > class2 <- mvrnorm(10, c(2,2),
    + matrix(c(1,1,1,4), nrow = 2, ncol = 2, byrow = TRUE))
    > data <- rbind(class1, class2)
    > # Get depth space using projection depth
    > depth.space.projection(data, c(10, 10), method = "random", num.directions = 1000)
     [,1] [,2]
     [1,] 0.21034563 0.1146591
     [2,] 0.70837639 0.1680515
     [3,] 0.23246999 0.2344218
     [4,] 0.10032551 0.3608801
     [5,] 0.46493094 0.1291922
     [6,] 0.26659326 0.2029743
     [7,] 0.35237181 0.2021289
     [8,] 0.37595736 0.1373136
     [9,] 0.46025868 0.1430761
    [10,] 0.45350325 0.1546194
    [11,] 0.16177587 0.2187834
    [12,] 0.10619790 0.4043519
    [13,] 0.14216812 0.5000000
    [14,] 0.19574581 0.2356736
    [15,] 0.08220193 0.2354572
    [16,] 0.11472563 0.4738594
    [17,] 0.11770490 0.5000000
    [18,] 0.18388669 0.2977510
    [19,] 0.22776191 0.2658998
    [20,] 0.14853879 0.3349843
    > depth.space.projection(data, c(10, 10), method = "linearize")
     [,1] [,2]
     [1,] 0.2563389 0.1660591
     [2,] 0.7770655 0.2488989
     [3,] 0.2964184 0.2169622
     [4,] 0.1341979 0.4194350
     [5,] 0.5139414 0.2259513
     [6,] 0.3373677 0.1994252
     [7,] 0.4197566 0.3050460
     [8,] 0.4246722 0.2680779
     [9,] 0.6846742 0.2599384
    [10,] 0.5761836 0.2066389
    [11,] 0.1858397 0.3383523
    [12,] 0.1431530 0.4717310
    [13,] 0.1871146 0.8049528
    [14,] 0.2461082 0.2646409
    [15,] 0.1107153 0.2979884
    [16,] 0.1514700 0.5196371
    [17,] 0.1549109 0.6931370
    [18,] 0.2181168 0.3276631
    [19,] 0.2867778 0.3896926
    [20,] 0.1892232 0.5149121
    >
    > data <- getdata("hemophilia")
    > cardinalities = c(sum(data$gr == "normal"), sum(data$gr == "carrier"))
    > depth.space.projection(data[,1:2], cardinalities)
    Error in depth.projection(data, pattern, method, num.directions, seed) :
     'list' object cannot be coerced to type 'double'
    Calls: depth.space.projection -> depth.projection
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.3.11
Check: Rd cross-references
Result: NOTE
    Undeclared package ‘fda.usc’ in Rd xrefs
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.3.11
Check: installed package size
Result: NOTE
     installed size is 5.4Mb
     sub-directories of 1Mb or more:
     libs 4.1Mb
Flavor: r-release-macos-arm64