inst/tinytest/test_arrow.R

# init
mtq <- mf_get_mtq()
mf_map(mtq)

## mf_arrow
for (i in list("topleft", "top", "topright", "right", "bottomright", "bottom",
               "bottomleft", "left", c(701012.7, 1613554))){
  expect_silent(mf_arrow(pos = i, col = "red"))
}
expect_silent(mf_arrow(pos = "top", adj = c(-5, 0), cex = 2))
expect_silent(mf_arrow(pos = "top", adj = c(-5, 0), cex = 2, align = mtq))
riatelab/mapsf documentation built on June 9, 2025, 10:07 p.m.