R Under development (unstable) (2023-07-05 r84643 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. > library(testthat) > test_check("move") Loading required package: move Loading required package: geosphere The legacy packages maptools, rgdal, and rgeos, underpinning the sp package, which was just loaded, will retire in October 2023. Please refer to R-spatial evolution reports for details, especially https://r-spatial.org/r/2023/05/15/evolution4.html. It may be desirable to make the sf package available; package maintainers should consider adding sf to Suggests:. The sp package is now running under evolution status 2 (status 2 uses the sf package in place of rgdal) Loading required package: sp Loading required package: raster List of 2 $ Leroy : num [1:918] 101.4 157.4 26.5 -133.2 -108.4 ... $ Ricky.T: num [1:999] 115.7 70.2 -18.2 -78.9 76.5 ... List of 2 $ Leroy : num [1:918] 6.38 5.61 12.67 9.65 11.73 ... $ Ricky.T: num [1:999] 153.35 12.62 7.81 10.23 13.18 ... List of 2 $ Leroy : Named num [1:919] NA NA NA NA NA NA NA NA NA NA ... ..- attr(*, "names")= chr [1:919] "Leroy1" "Leroy2" "Leroy3" "Leroy4" ... $ Ricky.T: Named num [1:1000] NA NA NA NA NA NA NA NA NA NA ... ..- attr(*, "names")= chr [1:1000] "Ricky.T1" "Ricky.T2" "Ricky.T3" "Ricky.T4" ... class : Move features : 919 extent : -73.93067, -73.84366, 42.70898, 42.7687 (xmin, xmax, ymin, ymax) crs : +proj=longlat +datum=WGS84 +no_defs variables : 17 names : timestamp, eobs.battery.voltage, eobs.horizontal.accuracy.estimate, eobs.key.bin.checksum, eobs.speed.accuracy.estimate, eobs.start.timestamp, eobs.status, eobs.temperature, eobs.type.of.fix, eobs.used.time.to.get.fix, ground.speed, heading, height.above.ellipsoid, utm.easting, utm.northing, ... min values : 1234354605, 3596, 3.07, 3258904, 0.27, 2009-02-11 12:14:59.000, A, 13, 3, 4, 0.01, 0, -169.6, 587507.837877134, 4729143.16566605, ... max values : 1236158219.998, 3666, 97.02, 4291715164, 33.04, 2009-03-04 09:15:01.000, A, 35, 3, 119, 31.71, 359.79, 349, 594679.382402579, 4735720.47868847, ... timestamps : 2009-02-11 12:16:45 ... 2009-03-04 09:16:59.998 Time difference of 21 days (start ... end, duration) sensors : gps indiv. data : eobs.fix.battery.voltage, manually.marked.outlier, visible, sensor.type, individual.taxon.canonical.name, tag.local.identifier, individual.local.identifier, study.name, study.timezone indiv. value: 0 NA true gps Martes pennanti 74 Leroy Urban fisher GPS tracking Eastern Standard Time unused rec. : 1071 study name : Urban fisher GPS tracking date created: 2023-01-20 16:56:43 class : DBBMM dimensions : 42, 45, 1890 (nrow, ncol, ncell) resolution : 759.9677, 759.9677 (x, y) extent : -17098.3, 17100.24, -15958.9, 15959.75 (xmin, xmax, ymin, ymax) crs : +proj=aeqd +lat_0=42.73884025 +lon_0=-73.8871629 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs source : memory names : layer values : 0, 0.06319155 (min, max) List of 2 $ Leroy : num [1:918] 0.00715 0.00659 0.01461 0.01069 0.01313 ... $ Ricky.T: num [1:999] 0.0928 0.0825 0.0691 0.0769 0.3766 ... List of 2 $ Leroy : num [1:918] 14.9 14.2 14.5 15 14.9 ... $ Ricky.T: num [1:999] 27.55 2.55 1.883 2.217 0.583 ... List of 2 $ Leroy : POSIXct[1:919], format: "2009-02-11 12:16:45" "2009-02-11 12:31:38" ... $ Ricky.T: POSIXct[1:1000], format: "2010-02-09 17:01:23" "2010-02-09 17:28:56" ... List of 2 $ Leroy : num [1:917] 56 -130.9 -159.7 24.8 -179.2 ... $ Ricky.T: num [1:998] -45.5 -88.4 -60.7 155.4 -108.9 ... Formal class '.unUsedRecords' [package "move"] with 3 slots ..@ timestampsUnUsedRecords: POSIXct[1:1071], format: "2009-02-11 00:00:01" "2009-02-11 00:15:01" ... ..@ sensorUnUsedRecords : Factor w/ 1 level "gps": 1 1 1 1 1 1 1 1 1 1 ... ..@ dataUnUsedRecords :'data.frame': 1071 obs. of 19 variables: .. ..$ timestamp : POSIXct[1:1071], format: "2009-02-11 00:00:01" "2009-02-11 00:15:01" ... .. ..$ location.long : num [1:1071] NA NA NA NA NA NA NA NA NA NA ... .. ..$ location.lat : num [1:1071] NA NA NA NA NA NA NA NA NA NA ... .. ..$ eobs.battery.voltage : int [1:1071] 3642 3635 3632 3632 3642 3643 3647 3652 3654 3654 ... .. ..$ eobs.horizontal.accuracy.estimate: num [1:1071] NA NA NA NA NA NA NA NA NA NA ... .. ..$ eobs.key.bin.checksum : num [1:1071] 3.72e+09 3.76e+09 3.05e+07 7.20e+08 2.24e+09 ... .. ..$ eobs.speed.accuracy.estimate : num [1:1071] NA NA NA NA NA NA NA NA NA NA ... .. ..$ eobs.start.timestamp : Factor w/ 1990 levels "2009-02-11 00:00:01.000",..: 1 2 3 4 5 6 7 8 9 10 ... .. ..$ eobs.status : Factor w/ 2 levels "A","D": 2 2 2 2 2 2 2 2 2 2 ... .. ..$ eobs.temperature : int [1:1071] 27 23 21 20 22 22 21 20 26 29 ... .. ..$ eobs.type.of.fix : int [1:1071] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ eobs.used.time.to.get.fix : int [1:1071] 120 120 120 120 120 120 120 120 120 120 ... .. ..$ ground.speed : num [1:1071] NA NA NA NA NA NA NA NA NA NA ... .. ..$ heading : num [1:1071] NA NA NA NA NA NA NA NA NA NA ... .. ..$ height.above.ellipsoid : num [1:1071] NA NA NA NA NA NA NA NA NA NA ... .. ..$ utm.easting : num [1:1071] NA NA NA NA NA NA NA NA NA NA ... .. ..$ utm.northing : num [1:1071] NA NA NA NA NA NA NA NA NA NA ... .. ..$ utm.zone : Factor w/ 2 levels "","18N": 1 1 1 1 1 1 1 1 1 1 ... .. ..$ study.local.timestamp : POSIXct[1:1071], format: "2009-02-10 19:00:01" "2009-02-10 19:15:01" ... Formal class '.unUsedRecordsStack' [package "move"] with 4 slots ..@ trackIdUnUsedRecords : Factor w/ 2 levels "Leroy","Ricky.T": 1 1 1 1 1 1 1 1 1 1 ... .. ..- attr(*, "names")= chr [1:2959] "Leroy1" "Leroy2" "Leroy3" "Leroy4" ... ..@ timestampsUnUsedRecords: POSIXct[1:2959], format: "2009-02-11 00:00:01" "2009-02-11 00:15:01" ... ..@ sensorUnUsedRecords : Factor w/ 1 level "gps": 1 1 1 1 1 1 1 1 1 1 ... ..@ dataUnUsedRecords :'data.frame': 2959 obs. of 22 variables: .. ..$ timestamp : POSIXct[1:2959], format: "2009-02-11 00:00:01" "2009-02-11 00:15:01" ... .. ..$ location.long : num [1:2959] NA NA NA NA NA NA NA NA NA NA ... .. ..$ location.lat : num [1:2959] NA NA NA NA NA NA NA NA NA NA ... .. ..$ eobs.battery.voltage : int [1:2959] 3642 3635 3632 3632 3642 3643 3647 3652 3654 3654 ... .. ..$ eobs.horizontal.accuracy.estimate: num [1:2959] NA NA NA NA NA NA NA NA NA NA ... .. ..$ eobs.key.bin.checksum : num [1:2959] 3.72e+09 3.76e+09 3.05e+07 7.20e+08 2.24e+09 ... .. ..$ eobs.speed.accuracy.estimate : num [1:2959] NA NA NA NA NA NA NA NA NA NA ... .. ..$ eobs.start.timestamp : Factor w/ 12836 levels "2009-02-11 00:00:01.000",..: 1 2 3 4 5 6 7 8 9 10 ... .. ..$ eobs.status : Factor w/ 2 levels "A","D": 2 2 2 2 2 2 2 2 2 2 ... .. ..$ eobs.temperature : int [1:2959] 27 23 21 20 22 22 21 20 26 29 ... .. ..$ eobs.type.of.fix : int [1:2959] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ eobs.used.time.to.get.fix : int [1:2959] 120 120 120 120 120 120 120 120 120 120 ... .. ..$ ground.speed : num [1:2959] NA NA NA NA NA NA NA NA NA NA ... .. ..$ heading : num [1:2959] NA NA NA NA NA NA NA NA NA NA ... .. ..$ height.above.ellipsoid : num [1:2959] NA NA NA NA NA NA NA NA NA NA ... .. ..$ utm.easting : num [1:2959] NA NA NA NA NA NA NA NA NA NA ... .. ..$ utm.northing : num [1:2959] NA NA NA NA NA NA NA NA NA NA ... .. ..$ utm.zone : Factor w/ 2 levels "","18N": 1 1 1 1 1 1 1 1 1 1 ... .. ..$ study.local.timestamp : POSIXct[1:2959], format: "2009-02-10 19:00:01" "2009-02-10 19:15:01" ... .. ..$ X : int [1:2959] NA NA NA NA NA NA NA NA NA NA ... .. ..$ event.id : int [1:2959] NA NA NA NA NA NA NA NA NA NA ... .. ..$ eobs.fix.battery.voltage : int [1:2959] NA NA NA NA NA NA NA NA NA NA ... ... computing starting delimiters [1] 0 -0.0000e+00 4 919 [1] 1 -1.5574e+00 4 674 [1] 2 -1.3639e+00 4 66 [1] 3 -1.0174e+00 4 45 [1] 4 -8.4560e-01 4 23 [1] 5 -7.7790e-01 4 13 [1] 6 -7.5598e-01 4 10 [1] 7 -7.4796e-01 4 8 [1] 8 -7.4349e-01 4 13 [1] 9 -7.3983e-01 4 11 [1] 10 -7.3618e-01 4 7 [1] 11 -7.3268e-01 4 16 [1] 12 -7.2911e-01 4 6 [1] 13 -7.2514e-01 4 9 [1] 14 -7.2179e-01 4 9 [1] 15 -7.1882e-01 4 9 [1] 16 -7.1578e-01 4 5 [1] 17 -7.1345e-01 4 5 [1] 18 -7.1146e-01 4 1 [1] 19 -7.1022e-01 4 5 [1] 20 -7.0936e-01 4 4 [1] 21 -7.0868e-01 4 5 [1] 22 -7.0826e-01 4 1 [1] 23 -7.0798e-01 4 3 [1] 24 -7.0791e-01 4 1 [1] 25 -7.0772e-01 4 1 [1] 26 -7.0767e-01 4 2 [1] 27 -7.0760e-01 4 0 [1] 28 -7.0758e-01 4 0 [1] 29 -7.0757e-01 4 0 [1] ... Stable clustering username: password: username: password: [ FAIL 0 | WARN 9 | SKIP 22 | PASS 412 ] ══ Skipped tests (22) ══════════════════════════════════════════════════════════ • Function now defunct (2): 'test.getDataRepositoryData.R:3:3', 'test.getDataRepositoryData.R:79:3' • On CRAN (17): 'test.brownian.bridge.dyn.R:4:3', 'test.brownian.bridge.dyn.R:22:3', 'test.brownian.bridge.dyn.R:45:3', 'test.brownian.bridge.dyn.R:101:3', 'test.brownian.bridge.dyn.R:125:3', 'test.brownian.bridge.dyn.R:186:3', 'test.brownian.bridge.dyn.R:235:3', 'test.brownian.bridge.dyn.R:294:3', 'test.dBGB.R:5:3', 'test.dBGB.R:13:3', 'test.dBGB.R:28:3', 'test.dBGB.R:48:3', 'test.dBGB.R:60:3', 'test.dBGB.R:87:3', 'test.dBGB.R:110:3', 'test.web.R:13:3', 'test.web.R:33:3' • On Windows (1): 'test.move.R:51:3' • fails on old sp version (1): 'test.spTransform.R:10:3' • provides a problem that needs solving (1): 'test.move.R:4:3' [ FAIL 0 | WARN 9 | SKIP 22 | PASS 412 ] > if (F) { + require(testthat) + tmp <- reportCoverage( + sourcefiles = list.files("../R", full.names = T), + executionfiles = list.files("testthat", full.names = T) + ) + tmp <- reportCoverage( + sourcefiles = list.files("../R", full.names = T), + executionfiles = "testthat/test.smallFunctions.R" + ) + tmp <- reportCoverage( + sourcefiles = list.files("../R", full.names = T), + executionfiles = "test-all.R" + ) + cov <- package_coverage() + shine(cov) + } > > proc.time() user system elapsed 44.09 1.73 45.82