inst/tinytest/test_inset.R

mtq <- mf_get_mtq()
mf_map(mtq)
expect_silent(mf_inset_on(x = mtq))
mf_map(mtq)
expect_silent(mf_inset_off())
expect_silent(mf_inset_on(fig = c(0, .5, 0, .5)))
mf_map(mtq)
expect_silent(mf_inset_off())


expect_silent(mf_inset_on(x = "worldmap", pos = "topleft"))
mf_worldmap(mtq)
expect_silent(mf_inset_off())

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.