assert_spdf_list: Check whether the given spdf_list is a valid spdf_list and...

View source: R/check-helpers.R

assert_spdf_listR Documentation

Check whether the given spdf_list is a valid spdf_list and has all the required params.

Description

The spdf_list must be a list of at most two elements. All elements must be a s4 class of type SpatialPolygonsDataFrame.

Usage

assert_spdf_list(spdfs_list)

Arguments

spdfs_list

A list with the spdfs of all map levels

Value

TRUE if spdf_list is valid.


leafdown documentation built on Sept. 19, 2022, 9:05 a.m.