R Under development (unstable) (2023-10-21 r85382 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > #' > #' Header for all (concatenated) test files > #' > #' Require spatstat.explore > #' Obtain environment variable controlling tests. > #' > #' $Revision: 1.5 $ $Date: 2020/04/30 05:31:37 $ > > require(spatstat.explore) Loading required package: spatstat.explore Loading required package: spatstat.data Loading required package: spatstat.geom spatstat.geom 3.2-7 Loading required package: spatstat.random spatstat.random 3.2-1 Loading required package: nlme spatstat.explore 3.2-5 > FULLTEST <- (nchar(Sys.getenv("SPATSTAT_TEST", unset="")) > 0) > ALWAYS <- TRUE > cat(paste("--------- Executing", + if(FULLTEST) "** ALL **" else "**RESTRICTED** subset of", + "test code -----------\n")) --------- Executing **RESTRICTED** subset of test code ----------- > # > # tests/NAinCov.R > # > # Testing the response to the presence of NA's in covariates > # > # $Revision: 1.8 $ $Date: 2022/05/22 08:37:38 $ > > if(FULLTEST) { + local({ + #' quantile.ewcdf + f <- ewcdf(runif(100), runif(100)) + qf <- quantile(f, probs=c(0.1, NA, 0.8)) + #' quantile.density + f <- density(runif(100)) + qf <- quantile(f, probs=c(0.1, NA, 0.8)) + }) + } > # > # tests/nnstat.R > # > # Check code that uses nndist/nnwhich > # > # nnorient() > # stienen() > # > # $Revision: 1.1 $ $Date: 2020/12/04 03:45:44 $ > # > > > local({ + if(FULLTEST) { + #' test nnorient + nnorient(cells, domain=erosion(Window(cells), 0.1)) + #' degenerate case + X <- cells[nndist(cells) > bdist.points(cells)] + f <- nnorient(X) + #' nnclean + A <- nnclean(shapley, k=17, edge.correct=TRUE) + B <- nnclean(runifpoint3(300), 3) + #' stienen set + #' bug when disc radius is zero + Y <- unmark(humberside)[40:100] # contains duplicated points + stienen(Y) + Z <- stienenSet(Y) + #' other cases + U <- stienen(cells[1]) + V <- stienenSet(cells, edge=FALSE) + } + }) > > > > > proc.time() user system elapsed 0.90 0.25 1.14