check_connection: Check internet connection with GitHub repository

View source: R/utils.R

check_connectionR Documentation

Check internet connection with GitHub repository

Description

Checks if there is an internet connection with GitHub to download data.

Usage

check_connection(
  url = paste0("https://raw.githubusercontent.com/PaulESantos/",
    "perugeopkg/master/metadata_peru_gpkg.csv"),
  silent = FALSE
)

Arguments

url

A string with the url address of an perugpkg dataset

silent

Logical. Throw a message when silent is FALSE (default)

Value

Logical. TRUE if url is working, FALSE if not.


geoperu documentation built on July 4, 2024, 9:08 a.m.