From 13620165ab342c8a787767f200d8124dd2bd2dd7 Mon Sep 17 00:00:00 2001 From: Taiyun Date: Wed, 30 Jun 2021 14:51:44 +0800 Subject: [PATCH] just check cairo --- vignettes/corrplot-intro.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vignettes/corrplot-intro.Rmd b/vignettes/corrplot-intro.Rmd index 7d5ba76..7552543 100644 --- a/vignettes/corrplot-intro.Rmd +++ b/vignettes/corrplot-intro.Rmd @@ -36,7 +36,7 @@ get_os = function(){ } tolower(os) } -if(get_os() =='windows' & capabilities('cairo')){ +if(capabilities('cairo')){ knitr::opts_chunk$set(dev.args = list(type='cairo')) } ```