How to stop "## NULL" over a table in knitr output?

I just found and started using the package condformatin R.

It works fine, but when I run the code below, the row is ## NULLdisplayed just above the table. If I add include=FALSE, it will fall ## NULL, but also the table.

Is there a way to suppress ## NULLwithout suppressing the table?

---
title: "condformat_test"
author: "John"
date: "Dec 24, 2016"
output:
  pdf_document
---


```{r setup_chunk, include=FALSE}
library(condformat)
library(knitr)

knitr::opts_chunk$set(echo=FALSE) 

```

```{r condformat_test}

condformat(iris[c(1:5,70:75, 120:125),]) +
  rule_fill_gradient2(Petal.Length)
```
+4
source share
1 answer

Thanks for reporting. There was a bug with condformat 0.4.0, which will be fixed in the next release of CRAN.

Currently feel free to use:

devtools::install_github("zeehio/condformat")
+5
source

Source: https://habr.com/ru/post/1665270/


All Articles