Skip to content

Commit

Permalink
Fix partial match warning
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy committed Mar 15, 2024
1 parent d4e583c commit 3db248f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/step4_plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ step4_plot = function(tm, vp, return.asp, show, knit, args) {
# prepare aux layers and return group label (in case it is not user specified)
aux_group_def = mapply(function(a, id) {
FUNaux_prep = paste0("tmap", gs, a$mapping.fun, "Prep")
do.call(FUNaux_prep, list(a = a$args, b = db$bbox, id = id, o = o))
do.call(FUNaux_prep, list(a = a$args, bs = db$bbox, id = id, o = o))
}, aux, 1:length(aux))
aux_group = mapply(function(a, agd) {
if (is.na(a$group)) agd else as.character(a$group)
Expand Down
2 changes: 1 addition & 1 deletion R/tmapLeafletLegend.R
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ tmapLeaflet_legend = function(cmp, lf, o, orientation) {

legpos = leaflet_pos(cmp$position)

lf2 = if (cmp$typ == "none") {
lf2 = if (cmp$type == "none") {
#message("Text based legends not supported in view mode")
lf
} else if (cmp$type == "gradient") {
Expand Down

0 comments on commit 3db248f

Please sign in to comment.