tests/testthat/test-proj.R

test_that("PROJ utility functions run", {
    expect_length(proj_version(), 4)
    expect_no_error(proj_search_paths())
    expect_no_error(proj_networking(TRUE))
    expect_no_error(proj_networking(FALSE))
    if (as.integer(gdal_version()[2]) >= 3000300) {
        proj_paths <- proj_search_paths()
        expect_no_error(proj_search_paths(proj_paths))
    }
})

Try the gdalraster package in your browser

Any scripts or data that you put into this service are public.

gdalraster documentation built on April 4, 2025, 4:38 a.m.