Learn R Programming

inlabru (version 2.3.1)

fm_has_PROJ6: PROJ6 detection

Description

Detect whether PROJ6 is available

Usage

fm_has_PROJ6()

fm_not_for_PROJ6(fun = NULL)

fm_not_for_PROJ4(fun = NULL)

fm_fallback_PROJ6(fun = NULL)

fm_requires_PROJ6(fun = NULL)

Arguments

fun

The name of the function that requires PROJ6. Default: NULL, which uses the name of the calling function.

Value

For fm_has_PROJ6, logical; TRUE if PROJ6 is available, FALSE otherwise

Details

fm_not_for_PROJ6 is called to warn about using old PROJ4 features even though PROJ6 is available

fm_not_for_PROJ4 is called to give an error when calling methods that are only available for PROJ6

fm_fallback_PROJ6 is called to warn about falling back to using old PROJ4 methods when a PROJ6 method hasn't been implemented

fm_requires_PROJ6 is called to give an error when PROJ6 is required but not available

Examples

Run this code
# NOT RUN {
fm_has_PROJ6()
# }

Run the code above in your browser using DataLab