Being not familar with R myself, I'd like to create a badge to summarize the test coverage in Gitlab CI, using the covr
package. The only way I found on the net was to use the gitlab
function; however this seems to create an HTML page, which is not what I want.
Is there a simple way to retrieve the summary on stdout, and a regexp to parse it for the badge?