File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -116,9 +116,26 @@ push_log <- function(case) {
116116 }
117117
118118 log_path <- file.path(" .." , " vdiffr.fail" )
119+ log_exists <- file.exists(log_path )
120+
119121 file <- file(log_path , " a" )
120122 on.exit(close(file ))
121123
124+ if (! log_exists ) {
125+ cxn_meow(file , glue(
126+ " R environment:
127+ - vdiffr: { utils::packageVersion('vdiffr') }
128+ - gdtools: { utils::packageVersion('gdtools') }
129+ - svglite: { utils::packageVersion('svglite') }
130+
131+ System environment:
132+ - Fontconfig: { gdtools::version_fontconfig() }
133+ - FreeType: { gdtools::version_freetype() }
134+ - Cairo: { gdtools::version_cairo() }
135+
136+ "
137+ ))
138+ }
122139 cxn_meow(file , svg_files_lines(case ))
123140
124141 invisible (TRUE )
You can’t perform that action at this time.
0 commit comments