@@ -62,17 +62,17 @@ cormatrix_to_excel <- function(data,
62
62
p_val <- attr(cormatrix , " p" )
63
63
64
64
# Define colours
65
- style_gray <- c( rgb = " C1CDCD" )
66
- style_black <- c( rgb = " 000000" )
67
- style_pink <- c( rgb = " FBCAC0" )
68
- style_peach <- c( rgb = " F79681" )
69
- style_red <- c( rgb = " F65534" )
70
- style_lightblue <- c( rgb = " 97FFFF" )
71
- style_midblue <- c( rgb = " 0AF3FF" )
72
- style_darkblue <- c( rgb = " 00BFFF" )
73
- style_green1 <- c( rgb = " 698B22" )
74
- style_green2 <- c( rgb = " 9ACD32" )
75
- style_green3 <- c( rgb = " B3EE3A" )
65
+ style_gray <- openxlsx2 :: wb_colour( hex = " C1CDCD" )
66
+ style_black <- openxlsx2 :: wb_colour( hex = " 000000" )
67
+ style_pink <- openxlsx2 :: wb_colour( hex = " FBCAC0" )
68
+ style_peach <- openxlsx2 :: wb_colour( hex = " F79681" )
69
+ style_red <- openxlsx2 :: wb_colour( hex = " F65534" )
70
+ style_lightblue <- openxlsx2 :: wb_colour( hex = " 97FFFF" )
71
+ style_midblue <- openxlsx2 :: wb_colour( hex = " 0AF3FF" )
72
+ style_darkblue <- openxlsx2 :: wb_colour( hex = " 00BFFF" )
73
+ style_green1 <- openxlsx2 :: wb_colour( hex = " 698B22" )
74
+ style_green2 <- openxlsx2 :: wb_colour( hex = " 9ACD32" )
75
+ style_green3 <- openxlsx2 :: wb_colour( hex = " B3EE3A" )
76
76
77
77
# Colours
78
78
gray_style <- openxlsx2 :: create_dxfs_style(
0 commit comments