title: Prevent wide header split into multiple lines for rmarkdown table
body: <p>I'm trying to render an R markdown document using <code>rmarkdown::render()</code>. The header in one of the tables ends up being split into multiple lines although it only contains column headers consisting of single words. An example of the output is shown below.</p>
  
  <p><a href="https://i.stack.imgur.com/lvJ7p.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lvJ7p.png" alt="enter image description here"></a></p>
  
  <p>There are 6 one-word labels and I would like them all to be on the same line. </p>
  
  <p>I <em>think</em> it may be because the header is too wide and pandoc tried to prevent the table from being split altogether. If I remove, say, the last column then only one of the label is "moved up a line". Below I've added an Rmd-file that results in the image shown above if I render it using <code>rmarkdown::render()</code>.</p>
  
  <pre><code>---
  title: trees
  date: "`r Sys.Date()`"
  output: pdf_document
  documentclass: report
  ---
  
  ### My header
  The following table is of interest
  
  ------------------------------------------------------------------------------------------------------------------------
  &amp;nbsp;                                                  character    factor    labelled   numeric    integer    logical
  ------------------------------------------------------ ----------- ---------- ---------- ---------- ---------- ---------
  Identify miscoded missing values                        $\times$    $\times$   $\times$   $\times$   $\times$
  
  Identify prefixed and suffixed whitespace               $\times$    $\times$   $\times$
  
  Identify levels with &lt; 6 obs.                           $\times$    $\times$
  
  Identify case issues                                    $\times$    $\times$
  
  Identify missclassified numeric or integer variables    $\times$    $\times$
  
  Identify outliers                                                                         $\times$   $\times$
  ------------------------------------------------------------------------------------------------------------------------
  </code></pre>