Skip to content

A column is not split according to split.cells when it contains a hyperlink. #373

@argx-lcougnaud

Description

@argx-lcougnaud

When a table contains a hyperlink, the split.cells parameter for this column does not seem to be respected:

library(pander)
data <- iris[1:10, ]
data <- cbind(link = "[pander](https://cran.r-project.org/package=pander)", data)
pander::pander(data, 
  split.tables = Inf, 
  split.cells = c(0.1, rep(0.9/(ncol(data)-1), ncol(data)-1))*80
)

Resulting table (Word document created by rmarkdown):

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions