- using R Under development (unstable) (2024-12-19 r87451)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-8) 14.2.0
GNU Fortran (Debian 14.2.0-8) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘fdaPDE/DESCRIPTION’ ... OK
- this is package ‘fdaPDE’ version ‘1.1-20’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘fdaPDE’ can be installed ... OK
See the install log for details.
- used C compiler: ‘gcc-14 (Debian 14.2.0-8) 14.2.0’
- used C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
- checking C++ specification ... OK
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [2s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the package can be unloaded cleanly ... [2s/3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/2s] OK
- checking loading without being on the library search path ... [2s/3s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [59s/75s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... INFO
GNU make is a SystemRequirements.
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking examples ... [3s/3s] ERROR
Running examples in ‘fdaPDE-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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 ...
Segmentation fault
- checking PDF version of manual ... [5s/8s] OK
- checking HTML version of manual ... [2s/3s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR