Last updated on 2018-06-17 19:49:42 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1 | 6.73 | 67.55 | 74.28 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.1 | 5.94 | 52.66 | 58.60 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.1 | 98.90 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 0.1 | 94.87 | NOTE | |||
r-devel-windows-ix86+x86_64 | 0.1 | 15.00 | 110.00 | 125.00 | NOTE | |
r-patched-linux-x86_64 | 0.1 | 5.56 | 57.90 | 63.46 | ERROR | |
r-patched-solaris-x86 | 0.1 | 132.70 | NOTE | |||
r-release-linux-x86_64 | 0.1 | 6.34 | 56.40 | 62.74 | ERROR | |
r-release-windows-ix86+x86_64 | 0.1 | 14.00 | 84.00 | 98.00 | NOTE | |
r-release-osx-x86_64 | 0.1 | NOTE | ||||
r-oldrel-windows-ix86+x86_64 | 0.1 | 6.00 | 110.00 | 116.00 | NOTE | |
r-oldrel-osx-x86_64 | 0.1 | NOTE |
Version: 0.1
Check: S3 generic/method consistency
Result: NOTE
Found the following apparent S3 methods exported but not registered:
plot.GPCE.lar plot.GPCE.quad plot.GPCE.sparse predict.GPCE.lar
predict.GPCE.quad predict.GPCE.sparse print.GPCE.lar print.GPCE.quad
print.GPCE.sparse tell.GPCE.lar tell.GPCE.quad tell.GPCE.sparse
See section ‘Registering S3 methods’ 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-patched-solaris-x86, r-release-linux-x86_64
Version: 0.1
Check: R code for possible problems
Result: NOTE
EE: no visible global function definition for ‘var’
GetDesign4Predict: no visible global function definition for ‘pnorm’
GetDesign4Predict: no visible global function definition for ‘pgamma’
GetDesign4Predict: no visible global function definition for ‘pbeta’
GetDesign4Predict: no visible global function definition for ‘qnorm’
GetDesignReg: no visible global function definition for ‘qnorm’
GetDesignReg: no visible global function definition for ‘qgamma’
GetDesignReg: no visible global function definition for ‘qbeta’
LOO: no visible global function definition for ‘var’
LOOLar: no visible global function definition for ‘var’
PostProcessReg: no visible global function definition for ‘combn’
WeightsRootsFejer: no visible global function definition for ‘fft’
getSobol: no visible global function definition for ‘combn’
nodeplot: no visible global function definition for ‘par’
nodeplot: no visible global function definition for ‘axis’
nodeplot: no visible global function definition for ‘box’
nodeplot: no visible global function definition for ‘points’
plot.GPCE.lar: no visible global function definition for ‘legend’
plot.GPCE.lar: no visible global function definition for ‘barplot’
plot.GPCE.quad: no visible global function definition for ‘legend’
plot.GPCE.quad: no visible global function definition for ‘barplot’
plot.GPCE.sparse: no visible global function definition for ‘legend’
plot.GPCE.sparse: no visible global function definition for ‘barplot’
print.GPCE.lar: no visible global function definition for ‘combn’
print.GPCE.sparse: no visible global function definition for ‘combn’
Undefined global functions or variables:
axis barplot box combn fft legend par pbeta pgamma pnorm points qbeta
qgamma qnorm var
Consider adding
importFrom("graphics", "axis", "barplot", "box", "legend", "par",
"points")
importFrom("stats", "fft", "pbeta", "pgamma", "pnorm", "qbeta",
"qgamma", "qnorm", "var")
importFrom("utils", "combn")
to your NAMESPACE file.
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-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64
Version: 0.1
Check: examples
Result: ERROR
Running examples in ‘GPC-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: GPCE.lar
> ### Title: Adaptive sparse generalized polynomial chaos expansion based on
> ### least angle regression
> ### Aliases: GPCE.lar
>
> ### ** Examples
>
> ### CASE 1: model is a R function.
> ### Model definition: y= 1 + Phi_1(x1)*Phi_1(x2)
> Model <- function(x){
+ PHerm = hermite.he.polynomials(5, normalized=FALSE)
+ y=1+unlist(polynomial.values(PHerm[2],x[,1]))*unlist(polynomial.values(PHerm[2],x[,2]))
+ return(y)
+ }
>
> ### Run the algorithm with the lar regression method
> ResultObject=GPCE.lar(Model=Model, PCSpace="Gaussian", InputDim=3, InputDistrib=rep("Gaussian",3))
[1] "p is" "1"
[1] "p is" "2"
[1] "Entering PostProcessReg"
[1] "Entering EvalPCE"
> names(ResultObject)
[1] "TruncSet" "Q2" "Designs" "CoeffPCE" "Moments"
[6] "Sensitivity" "OutputDistib" "Args" "Output"
> ###
>
> ### CASE 2: external model (for the example the function Model will be used externaly).
>
> ### initialized Output
> Output=c()
>
> ### Get a first design
> ResultObject=GPCE.lar(PCSpace="Gaussian",InputDim=3,InputDistrib=rep("Gaussian",3))
> names(ResultObject)
[1] "Designs" "Design2Eval" "Args" "p" "SaveQmax"
[6] "SaveAmax"
>
> ### Calculate the model output for the given design and concatenate the model output results
> ### into the output vector
> Output=c(Output,Model(ResultObject$Design2Eval))
>
> ### Give the design and the calculated ouput to the tell function
> ResultObject=tell(ResultObject,Output)
Error in UseMethod("tell") :
no applicable method for 'tell' applied to an object of class "GPCE.lar"
Calls: tell
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64