Skip to contents

This function performs a comprehensive validation of a GeoLocator Data Package by checking the package metadata, profile, and resources. The validation includes verifying that the package conforms to the GeoLocator Data Package profile and that each resource adheres to its schema.

Usage

check_gldp(pkg, quiet = FALSE)

Arguments

pkg

An object of class "geolocatordp" representing the GeoLocator Data Package to be validated.

quiet

A logical indicating whether to suppress messages from the cli package. Defaults to FALSE.

Value

A logical value indicating whether the package validation was successful (TRUE) or failed (FALSE).

Details

If quiet is TRUE, the function suppresses the output of the cli package's messages.