Nothing
Code
path <- .mm_asset("fake")
Message
i Downloading Fake layer (0.0 MB); this happens once.
Code
.mm_asset("fake")
Message
i Downloading Fake layer (0.0 MB); this happens once.
Condition
Error:
! The download of Fake layer is corrupt (checksum mismatch).
i Try again; if it keeps failing, report it at <https://github.com/temuulene/mongolmaps/issues>.
Code
path <- .mm_asset("fake")
Message
i Downloading Fake layer (0.0 MB); this happens once.
Condition
Warning:
Fake layer changed upstream since this package version (checksum mismatch).
i Using it anyway; results may differ from the documented data.
Code
.mm_asset("fake")
Condition
Error:
! Can't download Fake layer: offline mode is on.
i Turn it off with `options(mongolmaps.offline = FALSE)`, or prefetch layers with `mn_download()`.
Code
.mm_asset("fake")
Condition
Error:
! Can't download Fake layer: no internet connection.
i Layers are downloaded once and cached; prefetch them with `mn_download()` while online.
Code
.mm_http_download("https://example.org/missing.gpkg", path)
Condition
Error:
! Download failed (status 404) [https://example.org/missing.gpkg].
Caused by error in `httr2::req_perform()`:
! HTTP 404 Not Found.
Code
.mm_manifest_row("nope")
Condition
Error:
! Unknown data layer "nope". See `mn_sources()`.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.