- using R Under development (unstable) (2025-02-19 r87756)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
- running under: Fedora Linux 40 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘CensSpatial/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘CensSpatial’ version ‘3.6’
- 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 ‘CensSpatial’ can be installed ... [97s/248s] OK
See the install log for details.
- 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 ... [29s/77s] OK
- checking whether the package can be loaded with stated dependencies ... [30s/82s] OK
- checking whether the package can be unloaded cleanly ... [29s/58s] OK
- checking whether the namespace can be loaded with stated dependencies ... [27s/44s] OK
- checking whether the namespace can be unloaded cleanly ... [27s/38s] OK
- checking loading without being on the library search path ... [30s/116s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... NOTE
Namespace in Imports field not imported from: ‘Rcpp’
All declared Imports should be used.
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [137s/283s] 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 examples ... [0m/30m] ERROR
Running examples in ‘CensSpatial-Ex.R’ failed
The error most likely occurred in:
> ### Name: algnaive12
> ### Title: Naive 1 and Naive 2 method for spatial prediction.
> ### Aliases: algnaive12
> ### Keywords: Spatial Censored SAEM
>
> ### ** Examples
>
> ###simulated coordinates
> n<-200 ### sample size for estimation.
> n1=100 ### number of observation used in the prediction.
>
> ###simulated coordinates
> r1=sample(seq(1,30,length=400),n+n1)
> r2=sample(seq(1,30,length=400),n+n1)
> coords=cbind(r1,r2)### total coordinates (used in estimation and prediction).
>
> coords1=coords[1:n,]####coordinates used for estimation.
>
> type="matern"### covariance structure.
>
> xtot<-cbind(1,runif((n+n1)),runif((n+n1),2,3))## X matrix for estimation and prediction.
> xobs=xtot[1:n,]## X matrix for estimation.
>
> ###simulated data
> obj=rspacens(cov.pars=c(3,.3,0),beta=c(5,3,1),x=xtot,coords=coords,kappa=1.2,
+ cens=0.25,n=(n+n1),n1=n1,cov.model=type,cens.type="left")
>
> data2=obj$datare
> data2[,4:5]=xobs[,-1]
>
> cc=obj$cc
> y=obj$datare[,3]
> cutoff=rep(obj$cutoff,length(y[cc==1]))
>
>
> aux2=algnaive12(data=data2,cc=obj$cc,covar=TRUE,covar.col=4:5,
+ copred=obj$coords1,thetaini=c(.1,.2),y.col=3,coords.col=1:2,
+ fix.nugget=TRUE,nugget=0,kappa=1.2,cutoff=cutoff,trend=~V4+V5,
+ cov.model=type)
- checking PDF version of manual ... [8s/22s] 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, 1 NOTE