CRAN Package Check Results for Package CensSpatial

Last updated on 2025-02-21 13:50:43 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.6 52.52 399.81 452.33 OK
r-devel-linux-x86_64-debian-gcc 3.6 38.86 281.51 320.37 OK
r-devel-linux-x86_64-fedora-clang 3.6 816.88 NOTE
r-devel-linux-x86_64-fedora-gcc 3.6 723.87 ERROR
r-devel-macos-arm64 3.6 372.00 OK
r-devel-macos-x86_64 3.6 436.00 OK
r-devel-windows-x86_64 3.6 31.00 244.00 275.00 OK
r-patched-linux-x86_64 3.6 47.94 376.66 424.60 OK
r-release-linux-x86_64 3.6 49.94 377.02 426.96 OK
r-release-macos-arm64 3.6 294.00 OK
r-release-macos-x86_64 3.6 293.00 OK
r-release-windows-x86_64 3.6 32.00 243.00 275.00 OK
r-oldrel-macos-arm64 3.6 123.00 OK
r-oldrel-macos-x86_64 3.6 265.00 OK
r-oldrel-windows-x86_64 3.6 44.00 323.00 367.00 OK

Check Details

Version: 3.6
Check: dependencies in R code
Result: NOTE Namespace in Imports field not imported from: ‘Rcpp’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 3.6
Check: examples
Result: 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) Flavor: r-devel-linux-x86_64-fedora-gcc