Skip to content

docs: add datatable.prettyprint.char to datatable-intro vignetteFix/prettyprint char vignette docs#7764

Closed
mahjabinoyshi wants to merge 4 commits into
Rdatatable:masterfrom
mahjabinoyshi:fix/prettyprint-char-vignette-docs
Closed

docs: add datatable.prettyprint.char to datatable-intro vignetteFix/prettyprint char vignette docs#7764
mahjabinoyshi wants to merge 4 commits into
Rdatatable:masterfrom
mahjabinoyshi:fix/prettyprint-char-vignette-docs

Conversation

@mahjabinoyshi
Copy link
Copy Markdown
Contributor

Summary

Adds documentation for datatable.prettyprint.char to the
datatable-intro vignette as suggested in #7714.

Changes

  • Added a bullet point explaining the datatable.prettyprint.char option
    in the "Note that" section, near the datatable.print.nrows bullet
  • Included a working code example showing truncation behavior

Related Issues

Closes #7714

Based on Revdep checks and revdep issue template wiki pages
(implements issue Rdatatable#7658)
Closes Rdatatable#7714

Added explanation and example of datatable.prettyprint.char option
in the 'Note that' section, near the datatable.print.nrows bullet.
Copilot AI review requested due to automatic review settings May 28, 2026 15:27
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds documentation and tooling improvements around data.table printing behavior and reverse-dependency maintenance workflows.

Changes:

  • Documented datatable.prettyprint.char with an example in the data.table introduction vignette.
  • Added a GitHub issue template for reporting reverse dependency check failures.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
vignettes/datatable-intro.Rmd Documents a new/lesser-known print option and demonstrates its effect.
.github/ISSUE_TEMPLATE/revdep-check-failure.md Introduces a standardized issue template to contact revdep maintainers about new failures.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +1 to +13
---

name: Revdep check failure

about: Contact a reverse dependency maintainer about a new check failure caused by data.table changes

title: "\[revdep] YOUR\_PACKAGE: new check failure with data.table master"

labels: \[]

assignees: \[]

---



After installing \*\*data.table\*\* from GitHub master
After installing \*\*data.table\*\* from GitHub master



Comment on lines +104 to +107
old = options(datatable.prettyprint.char = 5L)
DT = data.table(x = 1:2, y = c("abcdefghij", "klmnopqrstuv"))
DT
options(old) # reset to default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

no documentation of datatable.prettyprint.char in vignettes

2 participants