I have a table with a column containing markdown formatted links. When pander decides how wide to make the columns, it (understandably) takes the width of the URL into account. Is there a way to over-ride this behaviour so I can make this column small; the linked text is very narrow.
Here is an example in markdown with the compiled result. I would like to make the second column take 10% of the width, as specified with the split.cells
argument.
---
title: ''
output: pdf_document
---
```{r}
library('pander')
testDF <- data.frame(Description='some rather long description that I would like to take up the majority of the column width',
link='[Y](http://www.thelongesturlintheworld-no-I-mean-really-really-long-leik-so-looooooooooooooooooooooooooooooooooooooooooong.cooooooooooooooom)')
pander::pander(testDF,
split.cells = c('90%','10%'),
split.table = 500,
justify = 'left')
```
I'm aware that I could dig into the produced .tex
file and change the widths with a find an replace - I was wondering if I could do this in a more reproducible manner.