Files
Graham Whaley 8787955188 metrics: report: generate PNGs alongside the pdf
To aid in incorporating the results graphs and tables into other
documents, generate PNG files of the tables and plots alongside
the full PDF report, and place them in the output directory.

Achieve this by processing an html as well as a pdf targetted
output document, and grabbing the png's generated from that
operation.

Signed-off-by: Graham Whaley <graham.whaley@intel.com>
2019-08-27 12:46:11 -06:00

24 lines
530 B
Plaintext

---
# Copyright (c) 2018-2019 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
title: "Kubernetes metrics report"
author: "Auto generated"
date: "`r format(Sys.time(), '%d %B, %Y')`"
output:
html_document:
urlcolor: blue
---
```{r setup, include=FALSE}
#Set these opts to get pdf images which fit into beamer slides better
opts_chunk$set(dev = 'png')
# Pick up any env set by the invoking script, such as the root dir of the
# results data tree
source("/inputdir/Env.R")
```
```{r child = 'metrics_report.Rmd'}
```