这是indexloc提供的服务,不要输入任何密码
Skip to content

fixes order of checks in tmap_save #590

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 27, 2021
Merged

fixes order of checks in tmap_save #590

merged 1 commit into from
Aug 27, 2021

Conversation

Nowosad
Copy link
Member

@Nowosad Nowosad commented Aug 23, 2021

fixes the following issue:

library(tmap)
library(sf)
library(spData)
tm = tm_shape(world) +
    tm_polygons()
tmap_save(tm)
#> Error in if (!device %in% names(devices)) {: argument is of length zero

Created on 2021-08-23 by the reprex package (v2.0.1)

@mtennekes mtennekes merged commit bab938b into r-tmap:master Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants