Last updated on 2024-10-31 10:50:23 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
fdaPDE | 1 | 8 | 4 |
Current CRAN status: ERROR: 1, NOTE: 8, OK: 4
Version: 1.1-20
Check: examples
Result: ERROR
Running examples in ‘fdaPDE-Ex.R’ failed
The error most likely occurred in:
> ### Name: DE.FEM
> ### Title: Nonparametric density estimation with differential
> ### regularization
> ### Aliases: DE.FEM
>
> ### ** Examples
>
> library(fdaPDE)
>
> ## Create a 2D mesh over a squared domain
> Xbound <- seq(-3, 3, length.out = 10)
> Ybound <- seq(-3, 3, length.out = 10)
> grid_XY <- expand.grid(Xbound, Ybound)
> Bounds <- grid_XY[(grid_XY$Var1 %in% c(-3, 3)) | (grid_XY$Var2 %in% c(-3, 3)), ]
> mesh <- create.mesh.2D(nodes = Bounds, order = 1)
> mesh <- refine.mesh.2D(mesh, maximum_area = 0.2)
> FEMbasis <- create.FEM.basis(mesh)
>
> ## Generate data
> n <- 50
> set.seed(10)
> data_x <- rnorm(n)
> data_y <- rnorm(n)
> data <- cbind(data_x, data_y)
>
> plot(mesh)
> points(data, col="red", pch=19, cex=0.5)
>
> ## Density Estimation
> lambda = 0.1
> sol <- DE.FEM(data = data, FEMbasis = FEMbasis, lambda = lambda, fvec=NULL, heatStep=0.1,
+ heatIter=500, nsimulations=300,step_method = "Fixed_Step", inference = TRUE)
*** caught segfault ***
address 0x1, cause 'memory not mapped'
Traceback:
1: CPP_FEM.DE(data, FEMbasis, lambda, scaling, fvec, heatStep, heatIter, ndim, mydim, step_method, direction_method, preprocess_method, stepProposals, tol1, tol2, print, nfolds, nsimulations, search, inference)
2: DE.FEM(data = data, FEMbasis = FEMbasis, lambda = lambda, fvec = NULL, heatStep = 0.1, heatIter = 500, nsimulations = 300, step_method = "Fixed_Step", inference = TRUE)
An irrecoverable exception occurred. R is aborting now ...
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.1-20
Check: for GNU extensions in Makefiles
Result: NOTE
GNU make is a SystemRequirements.
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 1.1-20
Check: installed package size
Result: NOTE
installed size is 12.2Mb
sub-directories of 1Mb or more:
libs 11.0Mb
Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64