Skip to content

Commit

Permalink
fixed #898
Browse files Browse the repository at this point in the history
  • Loading branch information
mtennekes committed Jul 16, 2024
1 parent 70f0769 commit 732cf46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/tmapGetShapeMeta.R
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ tmapGetShapeMeta1.SpatVector = function(shp, o) {
#' @export
#' @keywords internal
get_fact_levels_na = function(x, o) {
if (inherits(x, "sfc")) {
if (inherits(x, "sfc") || is.list(x)) {
levs = NULL
} else if (is.factor(x)) {
if (o$drop.empty.facets) {
Expand Down

0 comments on commit 732cf46

Please sign in to comment.