CRAN Package Check Results for Package flightplanning

Last updated on 2022-01-06 15:51:19 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.8.4 5.31 57.18 62.49 ERROR
r-devel-linux-x86_64-debian-gcc 0.8.4 4.19 44.64 48.83 ERROR
r-devel-linux-x86_64-fedora-clang 0.8.4 77.02 ERROR
r-devel-linux-x86_64-fedora-gcc 0.8.4 65.59 ERROR
r-devel-windows-x86_64-new-UL 0.8.4 66.00 72.00 138.00 ERROR
r-devel-windows-x86_64-new-TK 0.8.4 ERROR
r-patched-linux-x86_64 0.8.4 4.66 55.46 60.12 NOTE
r-release-linux-x86_64 0.8.4 5.04 55.49 60.53 NOTE
r-release-macos-arm64 0.8.4 NOTE
r-release-macos-x86_64 0.8.4 NOTE
r-release-windows-ix86+x86_64 0.8.4 11.00 66.00 77.00 NOTE
r-oldrel-macos-x86_64 0.8.4 OK
r-oldrel-windows-ix86+x86_64 0.8.4 10.00 65.00 75.00 OK

Check Details

Version: 0.8.4
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-new-UL, r-devel-windows-x86_64-new-TK, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64

Version: 0.8.4
Check: examples
Result: ERROR
    Running examples in 'flightplanning-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: litchi.plan
    > ### Title: Function to generate Litchi csv flight plan
    > ### Aliases: litchi.plan
    >
    > ### ** Examples
    >
    > library(flightplanning)
    > library(rgdal)
    Loading required package: sp
    Please note that rgdal will be retired by the end of 2023,
    plan transition to sf/stars/terra functions using GDAL and PROJ
    at your earliest convenience.
    
    rgdal: version: 1.5-28, (SVN revision 1158)
    Geospatial Data Abstraction Library extensions to R successfully loaded
    Loaded GDAL runtime: GDAL 3.4.0, released 2021/11/04
    Path to GDAL shared files: /usr/share/gdal
    GDAL binary built with GEOS: TRUE
    Loaded PROJ runtime: Rel. 8.2.0, November 1st, 2021, [PJ_VERSION: 820]
    Path to PROJ shared files: /home/hornik/.local/share/proj:/usr/share/proj
    PROJ CDN enabled: FALSE
    Linking to sp version:1.4-6
    To mute warnings of possible GDAL/OSR exportToProj4() degradation,
    use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
    >
    > exampleBoundary = readOGR(
    + system.file("extdata",
    + "exampleBoundary.shp",
    + package="flightplanning"
    + ),
    + "exampleBoundary")
    OGR data source with driver: ESRI Shapefile
    Source: "/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
    with 1 features
    It has 12 fields
    > outPath = tempfile(fileext=".csv")
    >
    > flight.params = flight.parameters(
    + gsd = 4,
    + side.overlap = 0.8,
    + front.overlap = 0.8,
    + flight.speed.kmh = 54
    + )
    Warning in flight.parameters(gsd = 4, side.overlap = 0.8, front.overlap = 0.8, :
     Speed had to be lowered because frequency of photos would be too high
     New speed: 43.2km/h
    >
    > litchi.plan(exampleBoundary,
    + outPath,
    + flight.params,
    + flight.lines.angle = -1,
    + max.waypoints.distance = 2000,
    + max.flight.time = 15)
    Error in curve[, 1:2] : incorrect number of dimensions
    Calls: litchi.plan
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.8.4
Check: tests
Result: ERROR
     Running 'testthat.R' [6s/7s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > ## load dependencies
     > library(testthat)
     > library(flightplanning)
     >
     > ## test package
     > test_check('flightplanning')
     OGR data source with driver: ESRI Shapefile
     Source: "/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     == Failed tests ================================================================
     -- Error (test.R:159:3): Litchi plan outputs the csv file ----------------------
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     x
     1. \-flightplanning::litchi.plan(exampleBoundary, outPath, params) test.R:159:2
     -- Error (test.R:179:3): Different starting points are working -----------------
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     x
     1. \-flightplanning::litchi.plan(...) test.R:179:2
     -- Error (test.R:209:3): Different flight line angles are working --------------
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     x
     1. \-flightplanning::litchi.plan(...) test.R:209:2
     -- Error (test.R:260:3): Break waypoints too far -------------------------------
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     x
     1. \-flightplanning::litchi.plan(...) test.R:260:2
     -- Error (test.R:278:3): Break flight if exceeds max flight time ---------------
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     x
     1. \-flightplanning::litchi.plan(...) test.R:278:2
    
     [ FAIL 5 | WARN 6 | SKIP 0 | PASS 16 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.8.4
Check: examples
Result: ERROR
    Running examples in ‘flightplanning-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: litchi.plan
    > ### Title: Function to generate Litchi csv flight plan
    > ### Aliases: litchi.plan
    >
    > ### ** Examples
    >
    > library(flightplanning)
    > library(rgdal)
    Loading required package: sp
    Please note that rgdal will be retired by the end of 2023,
    plan transition to sf/stars/terra functions using GDAL and PROJ
    at your earliest convenience.
    
    rgdal: version: 1.5-28, (SVN revision 1158)
    Geospatial Data Abstraction Library extensions to R successfully loaded
    Loaded GDAL runtime: GDAL 3.4.0, released 2021/11/04
    Path to GDAL shared files: /usr/share/gdal
    GDAL binary built with GEOS: TRUE
    Loaded PROJ runtime: Rel. 8.2.0, November 1st, 2021, [PJ_VERSION: 820]
    Path to PROJ shared files: /home/hornik/.local/share/proj:/usr/share/proj
    PROJ CDN enabled: FALSE
    Linking to sp version:1.4-6
    To mute warnings of possible GDAL/OSR exportToProj4() degradation,
    use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
    >
    > exampleBoundary = readOGR(
    + system.file("extdata",
    + "exampleBoundary.shp",
    + package="flightplanning"
    + ),
    + "exampleBoundary")
    OGR data source with driver: ESRI Shapefile
    Source: "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
    with 1 features
    It has 12 fields
    > outPath = tempfile(fileext=".csv")
    >
    > flight.params = flight.parameters(
    + gsd = 4,
    + side.overlap = 0.8,
    + front.overlap = 0.8,
    + flight.speed.kmh = 54
    + )
    Warning in flight.parameters(gsd = 4, side.overlap = 0.8, front.overlap = 0.8, :
     Speed had to be lowered because frequency of photos would be too high
     New speed: 43.2km/h
    >
    > litchi.plan(exampleBoundary,
    + outPath,
    + flight.params,
    + flight.lines.angle = -1,
    + max.waypoints.distance = 2000,
    + max.flight.time = 15)
    Error in curve[, 1:2] : incorrect number of dimensions
    Calls: litchi.plan
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.8.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [4s/7s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > ## load dependencies
     > library(testthat)
     > library(flightplanning)
     >
     > ## test package
     > test_check('flightplanning')
     OGR data source with driver: ESRI Shapefile
     Source: "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test.R:159:3): Litchi plan outputs the csv file ──────────────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(exampleBoundary, outPath, params) test.R:159:2
     ── Error (test.R:179:3): Different starting points are working ─────────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:179:2
     ── Error (test.R:209:3): Different flight line angles are working ──────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:209:2
     ── Error (test.R:260:3): Break waypoints too far ───────────────────────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:260:2
     ── Error (test.R:278:3): Break flight if exceeds max flight time ───────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:278:2
    
     [ FAIL 5 | WARN 6 | SKIP 0 | PASS 16 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.8.4
Check: examples
Result: ERROR
    Running examples in ‘flightplanning-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: litchi.plan
    > ### Title: Function to generate Litchi csv flight plan
    > ### Aliases: litchi.plan
    >
    > ### ** Examples
    >
    > library(flightplanning)
    > library(rgdal)
    Loading required package: sp
    Please note that rgdal will be retired by the end of 2023,
    plan transition to sf/stars/terra functions using GDAL and PROJ
    at your earliest convenience.
    
    rgdal: version: 1.5-28, (SVN revision 1158)
    Geospatial Data Abstraction Library extensions to R successfully loaded
    Loaded GDAL runtime: GDAL 3.0.4, released 2020/01/28
    Path to GDAL shared files: /usr/share/gdal
    GDAL binary built with GEOS: TRUE
    Loaded PROJ runtime: Rel. 6.3.2, May 1st, 2020, [PJ_VERSION: 632]
    Path to PROJ shared files: /usr/share/proj
    Linking to sp version:1.4-6
    To mute warnings of possible GDAL/OSR exportToProj4() degradation,
    use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
    >
    > exampleBoundary = readOGR(
    + system.file("extdata",
    + "exampleBoundary.shp",
    + package="flightplanning"
    + ),
    + "exampleBoundary")
    OGR data source with driver: ESRI Shapefile
    Source: "/data/gannet/ripley/R/packages/tests-clang/flightplanning.Rcheck/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
    with 1 features
    It has 12 fields
    > outPath = tempfile(fileext=".csv")
    >
    > flight.params = flight.parameters(
    + gsd = 4,
    + side.overlap = 0.8,
    + front.overlap = 0.8,
    + flight.speed.kmh = 54
    + )
    Warning in flight.parameters(gsd = 4, side.overlap = 0.8, front.overlap = 0.8, :
     Speed had to be lowered because frequency of photos would be too high
     New speed: 43.2km/h
    >
    > litchi.plan(exampleBoundary,
    + outPath,
    + flight.params,
    + flight.lines.angle = -1,
    + max.waypoints.distance = 2000,
    + max.flight.time = 15)
    Error in curve[, 1:2] : incorrect number of dimensions
    Calls: litchi.plan
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.8.4
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > ## load dependencies
     > library(testthat)
     > library(flightplanning)
     >
     > ## test package
     > test_check('flightplanning')
     OGR data source with driver: ESRI Shapefile
     Source: "/data/gannet/ripley/R/packages/tests-clang/flightplanning.Rcheck/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/data/gannet/ripley/R/packages/tests-clang/flightplanning.Rcheck/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/data/gannet/ripley/R/packages/tests-clang/flightplanning.Rcheck/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/data/gannet/ripley/R/packages/tests-clang/flightplanning.Rcheck/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/data/gannet/ripley/R/packages/tests-clang/flightplanning.Rcheck/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/data/gannet/ripley/R/packages/tests-clang/flightplanning.Rcheck/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/data/gannet/ripley/R/packages/tests-clang/flightplanning.Rcheck/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test.R:159:3): Litchi plan outputs the csv file ──────────────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(exampleBoundary, outPath, params) test.R:159:2
     ── Error (test.R:179:3): Different starting points are working ─────────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:179:2
     ── Error (test.R:209:3): Different flight line angles are working ──────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:209:2
     ── Error (test.R:260:3): Break waypoints too far ───────────────────────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:260:2
     ── Error (test.R:278:3): Break flight if exceeds max flight time ───────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:278:2
    
     [ FAIL 5 | WARN 6 | SKIP 0 | PASS 16 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.8.4
Check: examples
Result: ERROR
    Running examples in ‘flightplanning-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: litchi.plan
    > ### Title: Function to generate Litchi csv flight plan
    > ### Aliases: litchi.plan
    >
    > ### ** Examples
    >
    > library(flightplanning)
    > library(rgdal)
    Loading required package: sp
    Please note that rgdal will be retired by the end of 2023,
    plan transition to sf/stars/terra functions using GDAL and PROJ
    at your earliest convenience.
    
    rgdal: version: 1.5-28, (SVN revision 1158)
    Geospatial Data Abstraction Library extensions to R successfully loaded
    Loaded GDAL runtime: GDAL 3.0.4, released 2020/01/28
    Path to GDAL shared files: /usr/share/gdal
    GDAL binary built with GEOS: TRUE
    Loaded PROJ runtime: Rel. 6.3.2, May 1st, 2020, [PJ_VERSION: 632]
    Path to PROJ shared files: /usr/share/proj
    Linking to sp version:1.4-6
    To mute warnings of possible GDAL/OSR exportToProj4() degradation,
    use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
    >
    > exampleBoundary = readOGR(
    + system.file("extdata",
    + "exampleBoundary.shp",
    + package="flightplanning"
    + ),
    + "exampleBoundary")
    OGR data source with driver: ESRI Shapefile
    Source: "/data/gannet/ripley/R/packages/tests-devel/flightplanning.Rcheck/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
    with 1 features
    It has 12 fields
    > outPath = tempfile(fileext=".csv")
    >
    > flight.params = flight.parameters(
    + gsd = 4,
    + side.overlap = 0.8,
    + front.overlap = 0.8,
    + flight.speed.kmh = 54
    + )
    Warning in flight.parameters(gsd = 4, side.overlap = 0.8, front.overlap = 0.8, :
     Speed had to be lowered because frequency of photos would be too high
     New speed: 43.2km/h
    >
    > litchi.plan(exampleBoundary,
    + outPath,
    + flight.params,
    + flight.lines.angle = -1,
    + max.waypoints.distance = 2000,
    + max.flight.time = 15)
    Error in curve[, 1:2] : incorrect number of dimensions
    Calls: litchi.plan
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.8.4
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > ## load dependencies
     > library(testthat)
     > library(flightplanning)
     >
     > ## test package
     > test_check('flightplanning')
     OGR data source with driver: ESRI Shapefile
     Source: "/data/gannet/ripley/R/packages/tests-devel/flightplanning.Rcheck/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/data/gannet/ripley/R/packages/tests-devel/flightplanning.Rcheck/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/data/gannet/ripley/R/packages/tests-devel/flightplanning.Rcheck/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/data/gannet/ripley/R/packages/tests-devel/flightplanning.Rcheck/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/data/gannet/ripley/R/packages/tests-devel/flightplanning.Rcheck/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/data/gannet/ripley/R/packages/tests-devel/flightplanning.Rcheck/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/data/gannet/ripley/R/packages/tests-devel/flightplanning.Rcheck/flightplanning/extdata/exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test.R:159:3): Litchi plan outputs the csv file ──────────────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(exampleBoundary, outPath, params) test.R:159:2
     ── Error (test.R:179:3): Different starting points are working ─────────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:179:2
     ── Error (test.R:209:3): Different flight line angles are working ──────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:209:2
     ── Error (test.R:260:3): Break waypoints too far ───────────────────────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:260:2
     ── Error (test.R:278:3): Break flight if exceeds max flight time ───────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:278:2
    
     [ FAIL 5 | WARN 6 | SKIP 0 | PASS 16 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.8.4
Check: examples
Result: ERROR
    Running examples in 'flightplanning-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: litchi.plan
    > ### Title: Function to generate Litchi csv flight plan
    > ### Aliases: litchi.plan
    >
    > ### ** Examples
    >
    > library(flightplanning)
    > library(rgdal)
    Loading required package: sp
    Please note that rgdal will be retired by the end of 2023,
    plan transition to sf/stars/terra functions using GDAL and PROJ
    at your earliest convenience.
    
    rgdal: version: 1.5-28, (SVN revision 1158)
    Geospatial Data Abstraction Library extensions to R successfully loaded
    Loaded GDAL runtime: GDAL 3.3.2, released 2021/09/01
    Path to GDAL shared files: D:/RCompile/CRANpkg/lib/4.2/rgdal/gdal
    GDAL binary built with GEOS: TRUE
    Loaded PROJ runtime: Rel. 7.2.1, January 1st, 2021, [PJ_VERSION: 721]
    Path to PROJ shared files: D:/RCompile/CRANpkg/lib/4.2/rgdal/proj
    PROJ CDN enabled: FALSE
    Linking to sp version:1.4-6
    To mute warnings of possible GDAL/OSR exportToProj4() degradation,
    use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
    Overwritten PROJ_LIB was D:/RCompile/CRANpkg/lib/4.2/rgdal/proj
    >
    > exampleBoundary = readOGR(
    + system.file("extdata",
    + "exampleBoundary.shp",
    + package="flightplanning"
    + ),
    + "exampleBoundary")
    OGR data source with driver: ESRI Shapefile
    Source: "D:\RCompile\CRANpkg\lib\4.2\flightplanning\extdata\exampleBoundary.shp", layer: "exampleBoundary"
    with 1 features
    It has 12 fields
    > outPath = tempfile(fileext=".csv")
    >
    > flight.params = flight.parameters(
    + gsd = 4,
    + side.overlap = 0.8,
    + front.overlap = 0.8,
    + flight.speed.kmh = 54
    + )
    Warning in flight.parameters(gsd = 4, side.overlap = 0.8, front.overlap = 0.8, :
     Speed had to be lowered because frequency of photos would be too high
     New speed: 43.2km/h
    >
    > litchi.plan(exampleBoundary,
    + outPath,
    + flight.params,
    + flight.lines.angle = -1,
    + max.waypoints.distance = 2000,
    + max.flight.time = 15)
    Error in curve[, 1:2] : incorrect number of dimensions
    Calls: litchi.plan
    Execution halted
Flavor: r-devel-windows-x86_64-new-UL

Version: 0.8.4
Check: tests
Result: ERROR
     Running 'testthat.R' [6s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > ## load dependencies
     > library(testthat)
     > library(flightplanning)
     >
     > ## test package
     > test_check('flightplanning')
     OGR data source with driver: ESRI Shapefile
     Source: "D:\RCompile\CRANpkg\lib\4.2\flightplanning\extdata\exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "D:\RCompile\CRANpkg\lib\4.2\flightplanning\extdata\exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "D:\RCompile\CRANpkg\lib\4.2\flightplanning\extdata\exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "D:\RCompile\CRANpkg\lib\4.2\flightplanning\extdata\exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "D:\RCompile\CRANpkg\lib\4.2\flightplanning\extdata\exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "D:\RCompile\CRANpkg\lib\4.2\flightplanning\extdata\exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "D:\RCompile\CRANpkg\lib\4.2\flightplanning\extdata\exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test.R:159:3): Litchi plan outputs the csv file ──────────────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(exampleBoundary, outPath, params) test.R:159:2
     ── Error (test.R:179:3): Different starting points are working ─────────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:179:2
     ── Error (test.R:209:3): Different flight line angles are working ──────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:209:2
     ── Error (test.R:260:3): Break waypoints too far ───────────────────────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:260:2
     ── Error (test.R:278:3): Break flight if exceeds max flight time ───────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:278:2
    
     [ FAIL 5 | WARN 6 | SKIP 0 | PASS 16 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-new-UL

Version: 0.8.4
Check: examples
Result: ERROR
    Running examples in 'flightplanning-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: litchi.plan
    > ### Title: Function to generate Litchi csv flight plan
    > ### Aliases: litchi.plan
    >
    > ### ** Examples
    >
    > library(flightplanning)
    > library(rgdal)
    Loading required package: sp
    Please note that rgdal will be retired by the end of 2023,
    plan transition to sf/stars/terra functions using GDAL and PROJ
    at your earliest convenience.
    
    rgdal: version: 1.5-28, (SVN revision 1158)
    Geospatial Data Abstraction Library extensions to R successfully loaded
    Loaded GDAL runtime: GDAL 3.3.2, released 2021/09/01
    Path to GDAL shared files: C:/r_packages/pkgcheck/lib/rgdal/gdal
    GDAL binary built with GEOS: TRUE
    Loaded PROJ runtime: Rel. 7.2.1, January 1st, 2021, [PJ_VERSION: 721]
    Path to PROJ shared files: C:/r_packages/pkgcheck/lib/rgdal/proj
    PROJ CDN enabled: FALSE
    Linking to sp version:1.4-6
    To mute warnings of possible GDAL/OSR exportToProj4() degradation,
    use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
    Overwritten PROJ_LIB was C:/r_packages/pkgcheck/lib/rgdal/proj
    >
    > exampleBoundary = readOGR(
    + system.file("extdata",
    + "exampleBoundary.shp",
    + package="flightplanning"
    + ),
    + "exampleBoundary")
    OGR data source with driver: ESRI Shapefile
    Source: "C:\r_packages\pkgcheck\CRAN\flightplanning\flightplanning.Rcheck\flightplanning\extdata\exampleBoundary.shp", layer: "exampleBoundary"
    with 1 features
    It has 12 fields
    > outPath = tempfile(fileext=".csv")
    >
    > flight.params = flight.parameters(
    + gsd = 4,
    + side.overlap = 0.8,
    + front.overlap = 0.8,
    + flight.speed.kmh = 54
    + )
    Warning in flight.parameters(gsd = 4, side.overlap = 0.8, front.overlap = 0.8, :
     Speed had to be lowered because frequency of photos would be too high
     New speed: 43.2km/h
    >
    > litchi.plan(exampleBoundary,
    + outPath,
    + flight.params,
    + flight.lines.angle = -1,
    + max.waypoints.distance = 2000,
    + max.flight.time = 15)
    Error in curve[, 1:2] : incorrect number of dimensions
    Calls: litchi.plan
    Execution halted
Flavor: r-devel-windows-x86_64-new-TK

Version: 0.8.4
Check: tests
Result: ERROR
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > ## load dependencies
     > library(testthat)
     > library(flightplanning)
     >
     > ## test package
     > test_check('flightplanning')
     OGR data source with driver: ESRI Shapefile
     Source: "C:\r_packages\pkgcheck\CRAN\flightplanning\flightplanning.Rcheck\flightplanning\extdata\exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "C:\r_packages\pkgcheck\CRAN\flightplanning\flightplanning.Rcheck\flightplanning\extdata\exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "C:\r_packages\pkgcheck\CRAN\flightplanning\flightplanning.Rcheck\flightplanning\extdata\exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "C:\r_packages\pkgcheck\CRAN\flightplanning\flightplanning.Rcheck\flightplanning\extdata\exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "C:\r_packages\pkgcheck\CRAN\flightplanning\flightplanning.Rcheck\flightplanning\extdata\exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "C:\r_packages\pkgcheck\CRAN\flightplanning\flightplanning.Rcheck\flightplanning\extdata\exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     OGR data source with driver: ESRI Shapefile
     Source: "C:\r_packages\pkgcheck\CRAN\flightplanning\flightplanning.Rcheck\flightplanning\extdata\exampleBoundary.shp", layer: "exampleBoundary"
     with 1 features
     It has 12 fields
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test.R:159:3): Litchi plan outputs the csv file ──────────────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(exampleBoundary, outPath, params) test.R:159:2
     ── Error (test.R:179:3): Different starting points are working ─────────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:179:2
     ── Error (test.R:209:3): Different flight line angles are working ──────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:209:2
     ── Error (test.R:260:3): Break waypoints too far ───────────────────────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:260:2
     ── Error (test.R:278:3): Break flight if exceeds max flight time ───────────────
     Error in `curve[, 1:2]`: incorrect number of dimensions
     Backtrace:
     █
     1. └─flightplanning::litchi.plan(...) test.R:278:2
    
     [ FAIL 5 | WARN 6 | SKIP 0 | PASS 16 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-new-TK