R Under development (unstable) (2024-01-14 r85805 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 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. > library(testthat) > > # to run manually > # test_dir("/Density secr 4.5/ipsecr/tests") > > test_check("ipsecr") Loading required package: ipsecr Loading required package: secr This is secr 4.6.4. For overview type ?secr This is ipsecr 1.4.1. For overview type ?ipsecr Checking data Preparing density design matrix Finding initial parameter values... Initial values D = 6.1956, g0 = 0.18949, sigma = 28.9877 Fitting box 1 ... D lambda0 sigma min 1.52384 -1.860194 3.066872 max 2.12384 -1.260194 3.666872 Fitting box 2 ... D lambda0 sigma min 1.739366 -1.395321 3.319872 max 1.839366 -1.295321 3.419872 Fitting box 3 ... D lambda0 sigma min 1.753091 -1.469715 3.323744 max 1.853091 -1.369715 3.423744 Simulations per vertex, by box : 60, 40, 60 Simulating for variance ... 500 variance simulations successful Completed in 25.49 seconds at 06:31:54 15 Jan 2024 [1] "ipsecr.fit( capthist = ch, mask = msk, detectfn = HHN, details = list(var.nsim = 500, boxsize1 = 0.3, dev.max = c(0.005, 0.005)), verbose = TRUE, ncores = 1 )" ipsecr 1.4.1, 06:31:29 15 Jan 2024, 25.49 seconds Detector type single Detector number 40 Average spacing 30 m x-range 365 455 m y-range 365 635 m N animals : 37 N detections : 83 N occasions : 5 Mask area : 13.66625 ha Model : D~1 lambda0~1 sigma~1 Fixed (real) : none Detection fn : hazard halfnormal Distribution : poisson N parameters : 3 Design points : 11 Simulations per point for each box 1 60 2 40 3 60 Beta parameters (coefficients) beta SE.beta lcl ucl D 1.803105 0.2112888 1.388986 2.2172230 lambda0 -1.416582 0.2579696 -1.922194 -0.9109713 sigma 3.369799 0.1223255 3.130045 3.6095525 Variance-covariance matrix of beta parameters D lambda0 sigma D 0.044642952 0.003728399 -0.01363963 lambda0 0.003728399 0.066548317 -0.01366352 sigma -0.013639634 -0.013663522 0.01496353 Variance bootstrap target nsim simulated SE.simulated q025 median logn 3.6109179 500 3.6038249 0.0003017533 3.3131115 3.6109179 cloglogp -0.5185504 500 -0.5204132 0.0002258804 -0.7672123 -0.5144371 logRPSV 3.1845502 500 3.1870661 0.0001733235 3.0079319 3.1857435 q975 logn 3.8918203 cloglogp -0.3173856 logRPSV 3.3497604 Fitted (real) parameters evaluated at base levels of covariates link estimate SE.estimate lcl ucl D log 6.0684585 1.29664150 4.0107819 9.1817979 lambda0 log 0.2425415 0.06362387 0.1462857 0.4021335 sigma log 29.0726786 3.56967573 22.8750147 36.9495125 Reading layer `OVforest' from data source `D:\RCompile\CRANpkg\lib\4.4\secr\extdata\OVforest.shp' using driver `ESRI Shapefile' Simple feature collection with 3 features and 1 field Geometry type: MULTIPOLYGON Dimension: XY Bounding box: xmin: 2674402 ymin: 5982130 xmax: 2675402 ymax: 5983130 Projected CRS: NZGD49 / New Zealand Map Grid [ FAIL 0 | WARN 0 | SKIP 0 | PASS 36 ] > > proc.time() user system elapsed 37.00 3.67 40.67