CRAN Package Check Results for Package phenoCDM

Last updated on 2019-01-19 00:46:37 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.3 1.42 34.87 36.29 OK
r-devel-linux-x86_64-debian-gcc 0.1.3 1.49 28.84 30.33 OK
r-devel-linux-x86_64-fedora-clang 0.1.3 45.38 OK
r-devel-linux-x86_64-fedora-gcc 0.1.3 41.72 OK
r-devel-windows-ix86+x86_64 0.1.3 4.00 48.00 52.00 ERROR
r-patched-linux-x86_64 0.1.3 1.20 32.55 33.75 OK
r-patched-solaris-x86 0.1.3 99.10 OK
r-release-linux-x86_64 0.1.3 1.05 32.67 33.72 OK
r-release-windows-ix86+x86_64 0.1.3 6.00 64.00 70.00 OK
r-release-osx-x86_64 0.1.3 OK
r-oldrel-windows-ix86+x86_64 0.1.3 5.00 50.00 55.00 OK
r-oldrel-osx-x86_64 0.1.3 OK

Check Details

Version: 0.1.3
Check: examples
Result: ERROR
    Running examples in 'phenoCDM-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: fitCDM
    > ### Title: Fit a CDM Model
    > ### Aliases: fitCDM
    > ### Keywords: CDM Fit Model
    >
    > ### ** Examples
    >
    >
    > #Summarize CDM Model Ouput
    >
    > ssSim <- phenoSim(nSites = 2, #number of sites
    + nTSet = 30, #number of Time steps
    + beta = c(1, 2), #beta coefficients
    + sig = .01, #process error
    + tau = .1, #observation error
    + plotFlag = TRUE, #whether plot the data or not
    + miss = 0.05, #fraction of missing data
    + ymax = c(6, 3) #maximum of saturation trajectory
    + )
    >
    > ssOut <- fitCDM(x = ssSim$x, #predictors
    + nGibbs = 200,
    + nBurnin = 100,
    + z = ssSim$z,#response
    + connect = ssSim$connect, #connectivity of time data
    + quiet=TRUE)
    >
    > summ <- getGibbsSummary(ssOut, burnin = 100, sigmaPerSeason = FALSE)
    >
    > colMeans(summ$ymax)
     ymax.1 ymax.2
    35.194814 6.807656
    > colMeans(summ$betas)
     beta.1 beta.2
    0.1815666 0.4433582
    > colMeans(summ$tau)
    [1] 1.728856
    > colMeans(summ$sigma)
    [1] 0.02092356
    >
    >
    >
    >
    > cleanEx()
    Error: connections left open:
     "model\n {\n for (i in 1:N)\n {\n z[i] ~ dnorm(y[i], tau2)\n }\n\n tau2 <- pow(tau, -2)\n tau ~ dunif(0, 100)\n\n for (i in connectHead)\n {\n y[i] ~ dnorm(0, sigma2)\n }\n\n for (i in connectBody)\n {\n dy[i] ~ dnorm(x[i-1,]%*%beta*(1-y[i-1]/ymax[blocks[i]]), sigma2)\n y[i] <- y[i-1] + t[1]*min(0, dy[i]) + t[2]*dy[i] + t[3]*max(0, dy[i])\n }\n\n for (i in connectTail)\n {\n dy[i] ~ dnorm(x[i-1,]%*%beta*(1 - y[i-1]/ymax[blocks[i]]), sigma2)\n y[i] <- y
    Execution halted
Flavor: r-devel-windows-ix86+x86_64