CRAN Package Check Results for Package RJafroc

Last updated on 2020-02-23 14:46:48 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.1 72.30 160.36 232.66 ERROR
r-devel-linux-x86_64-debian-gcc 1.3.1 50.85 133.36 184.21 OK
r-devel-linux-x86_64-fedora-clang 1.3.1 308.63 OK
r-devel-linux-x86_64-fedora-gcc 1.3.1 295.22 OK
r-devel-windows-ix86+x86_64 1.3.1 121.00 249.00 370.00 OK
r-devel-windows-ix86+x86_64-gcc8 1.3.1 156.00 340.00 496.00 OK
r-patched-linux-x86_64 1.3.1 OK
r-patched-solaris-x86 1.3.1 323.90 OK
r-release-linux-x86_64 1.3.1 54.15 154.23 208.38 OK
r-release-windows-ix86+x86_64 1.3.1 120.00 225.00 345.00 OK
r-release-osx-x86_64 1.3.1 OK
r-oldrel-windows-ix86+x86_64 1.3.1 103.00 211.00 314.00 OK
r-oldrel-osx-x86_64 1.3.1 OK

Check Details

Version: 1.3.1
Check: examples
Result: ERROR
    Running examples in 'RJafroc-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: Df2RJafrocDataset
    > ### Title: Convert ratings arrays to an RJafroc dataset
    > ### Aliases: Df2RJafrocDataset
    >
    > ### ** Examples
    >
    > set.seed(1)
    > NL <- rnorm(5)
    > LL <- rnorm(7)*1.5 + 2
    > dataset <- Df2RJafrocDataset(NL, LL) # an ROC dataset
    >
    > I <- 2;J <- 3;set.seed(1)
    > K1 <- 25;K2 <- 35
    > z1 <- array(dim = c(I, J, K1))
    > z2 <- array(dim = c(I, J, K2))
    > mu <- 2;sigma <- 1.5
    > for (i in 1:I) {
    + for (j in 1:J) {
    + z1[i,j,1:K1] <- rnorm(K1)
    + z2[i,j,] <- rnorm(K2) * sigma + mu
    + }
    + }
    > dataset <- Df2RJafrocDataset(z1, z2) ## note lesionVector consists of 1s; i.e., an ROC dataset
    >
    > set.seed(1)
    > mu <- 1;lambda <- 1;nu <- 1; zeta1 <- 0
    > K1 <- 5;K2 <- 7
    > Lmax <- 2;Lk2 <- floor(runif(K2, 1, Lmax + 1))
    > frocDataRaw <- SimulateFrocDataset(mu, lambda, nu, zeta1, I = 1, J = 1, K1, K2,
    + lesionVector = Lk2)
    > NL <- drop(frocDataRaw$NL)
    > LL <- drop(frocDataRaw$LL)
    > dataset <- Df2RJafrocDataset(NL, LL, lesionVector = Lk2)
    > ## note lesionVector is not all 1s, signalling an FROC dataset
    >
    > ## Simulate FROC dataset, convert to dataset object, display ROC, FROC and AFROC curves
    > I <- 2;J <- 3;set.seed(1)
    > K1 <- 25;K2 <- 35
    > mu <- 1;nuP <- 0.8;lambdaP <- 1;zeta1 <- 0
    > lambda <- UtilPhysical2IntrinsicRSM(mu,lambdaP,nuP)$lambda
    > nu <- UtilPhysical2IntrinsicRSM(mu,lambdaP,nuP)$nu
    > Lmax <- 2;Lk2 <- floor(runif(K2, 1, Lmax + 1))
    > z1 <- array(-Inf,dim = c(I,J,K1+K2,40))
    > z2 <- array(-Inf,dim = c(I,J,K2,40))
    > dimNL <- array(dim=c(I,J,2))
    > ## the last value (2) accommodates case and location indices
    > dimLL <- array(dim=c(I,J,2))
    > for (i in 1:I) {
    + for (j in 1:J) {
    + frocDataRaw <- SimulateFrocDataset(mu, lambda, nu, zeta1, I = 1,
    + J = 1, K1, K2, lesionVector = Lk2)
    + dimNL[i,j,] <- dim(drop(frocDataRaw$NL))
    + dimLL[i,j,] <- dim(drop(frocDataRaw$LL))
    + z1[i,j,,1:dimNL[i,j,2]] <- drop(frocDataRaw$NL) # drop the excess location indices
    + z2[i,j,,1:dimLL[i,j,2]] <- drop(frocDataRaw$LL)
    + }
    + }
    > z1 <- z1[,,,1:max(dimNL[,,2])]
    > z2 <- z2[,,,1:max(dimLL[,,2])]
    >
    > dataset <- Df2RJafrocDataset(z1, z2, lesionVector = Lk2)
    >
    > retPlot <- PlotEmpiricalOperatingCharacteristics(dataset,
    + trts = seq(1,I), rdrs = seq(1,J), opChType = "ROC")
    Error in if (pts$type[index] == "individual") shapeVector[n] <- 16 :
     missing value where TRUE/FALSE needed
    Calls: PlotEmpiricalOperatingCharacteristics -> gpfPlotGenericEmpiricalOperatingCharacteristic
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang