skip_if_no_mapping | R Documentation |
Function map depends on several spatial dependencies (ggspatial, prettymapr, rosm). This helper function allows to skip a test if these dependencies are not available Inspired by https://testthat.r-lib.org/articles/skipping.html#helpers.
skip_if_no_mapping()
Invisibly returns TRUE if dependencies available, otherwise skips the test with a message "map() dependencies (ggspatial, prettymapr, rosm) not installed".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.