inst/tinytest/test_credits.R

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

## mf_credits
for (i in  c("bottomleft", "bottomright", "rightbottom")){
  expect_silent(mf_credits(txt = "credits line with \n a jump",
                           pos = i, col = "red"))
}
expect_silent(mf_credits(txt = "credits line with \n a jump\n\n."))

Try the mapsf package in your browser

Any scripts or data that you put into this service are public.

mapsf documentation built on Nov. 21, 2023, 5:09 p.m.