#' Check if network has depots.
#'
#' @template arg_network
#' @return [\code{logical(1)}]
#' @export
hasDepots = function(x) {
assertClass(x, "Network")
!is.null(x$depot.coordinates)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.