CRAN Package Check Results for Package bayesQR

Last updated on 2018-05-21 11:49:57 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.3 3.17 22.42 25.59 ERROR
r-devel-linux-x86_64-debian-gcc 2.3 2.98 21.37 24.35 NOTE
r-devel-linux-x86_64-fedora-clang 2.3 37.76 NOTE
r-devel-linux-x86_64-fedora-gcc 2.3 36.08 NOTE
r-devel-windows-ix86+x86_64 2.3 16.00 153.00 169.00 OK
r-patched-linux-x86_64 2.3 3.71 26.59 30.30 NOTE
r-patched-solaris-x86 2.3 68.70 OK
r-release-linux-x86_64 2.3 2.88 26.59 29.47 NOTE
r-release-windows-ix86+x86_64 2.3 16.00 86.00 102.00 OK
r-release-osx-x86_64 2.3 OK
r-oldrel-windows-ix86+x86_64 2.3 11.00 83.00 94.00 OK
r-oldrel-osx-x86_64 2.3 OK

Check Details

Version: 2.3
Check: compiled code
Result: NOTE
    File ‘bayesQR/libs/bayesQR.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    It is good practice to register native routines and to disable symbol
    search.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 2.3
Check: examples
Result: ERROR
    Running examples in ‘bayesQR-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: prior
    > ### Title: Create prior for Bayesian quantile regression
    > ### Aliases: prior
    >
    > ### ** Examples
    >
    > # Load the Prostate cancer dataset
    > data(Prostate)
    >
    > # Create informative prior object
    > prior <- prior(lpsa~., data=Prostate, beta0=rep(5,9), V0=diag(9))
    >
    > # Investigate structure of bayesQR.prior object
    > str(prior)
    List of 5
     $ beta0 : num [1:9] 5 5 5 5 5 5 5 5 5
     $ V0 : num [1:9, 1:9] 1 0 0 0 0 0 0 0 0 0 ...
     $ shape0: num 0.01
     $ scale0: num 0.01
     $ method: chr "QRc"
     - attr(*, "class")= chr "bayesQR.prior"
    >
    > # Estimate the model parameters with informative prior
    > out <- bayesQR(lpsa~., data=Prostate, prior=prior, ndraw=5000)
    Current iteration :
    [1] 500
    Current iteration :
    [1] 1000
    Current iteration :
    [1] 1500
    Current iteration :
    [1] 2000
    Current iteration :
    [1] 2500
    Current iteration :
    [1] 3000
    Current iteration :
    [1] 3500
    Current iteration :
    [1] 4000
    Current iteration :
    [1] 4500
    Current iteration :
    [1] 5000
    >
    > # Print results
    > summary(out)
    Error in quantile.default(newX[, i], ...) :
     missing values and NaN's not allowed if 'na.rm' is FALSE
    Calls: summary ... FUN -> cbind -> t -> apply -> FUN -> quantile.default
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang