- using R Under development (unstable) (2024-11-15 r87338)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (GCC) 14.2.0
GNU Fortran (GCC) 14.2.0
- running under: Fedora Linux 36 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- 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 ... [44m/21m] OK
See the install log for details.
- used C compiler: ‘gcc-14 (GCC) 14.2.0’
- used C++ compiler: ‘g++-14 (GCC) 14.2.0’
- checking C++ specification ... OK
- checking package directory ... 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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 ... [136s/210s] OK
- checking Rd files ... 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 ... 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 ... [6s/19s] 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 ...
- checking PDF version of manual ... [11s/18s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR