docs: add datatable.prettyprint.char to datatable-intro vignetteFix/prettyprint char vignette docs#7764
Closed
mahjabinoyshi wants to merge 4 commits into
Closed
Conversation
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.
There was a problem hiding this comment.
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.charwith 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds documentation for
datatable.prettyprint.charto thedatatable-introvignette as suggested in #7714.Changes
datatable.prettyprint.charoptionin the "Note that" section, near the
datatable.print.nrowsbulletRelated Issues
Closes #7714