Skip to content

Commit

Permalink
Merge pull request #204 from taiyun/dev
Browse files Browse the repository at this point in the history
check cairo supports
  • Loading branch information
taiyun authored Jun 30, 2021
2 parents 20d36d8 + 9d4e873 commit 1388f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/corrplot-intro.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ get_os = function(){
}
tolower(os)
}
if(capabilities('cairo')){
if(get_os() =='windows' & capabilities('cairo') | all(capabilities(c('cairo', 'X11')))){
knitr::opts_chunk$set(dev.args = list(type='cairo'))
}
```
Expand Down

0 comments on commit 1388f7f

Please sign in to comment.