-
Notifications
You must be signed in to change notification settings - Fork 1k
markdown fields in revdep_check_failure.yml #7771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,16 +19,15 @@ body: | |
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| - type: input | ||
| id: check-output | ||
| attributes: | ||
| label: Failing check output | ||
| description: | | ||
| Paste the relevant `R CMD check` output showing the failure. | ||
| Write markdown describing the relevant `R CMD check` output showing the failure. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since the field will now render as markdown, it might be helpful to suggest users wrap their check output in a fenced code block so it doesn't render as broken markdown. Maybe something like: Describe the relevant This way users get the best of both worlds, they can write markdown context around the check output while the output itself stays readable |
||
| The output can be found in the | ||
| [Monsoon results](https://rcdata.nau.edu/genomic-ml/data.table-revdeps/analyze/) | ||
| or from a local revdep check. | ||
| render: text | ||
| validations: | ||
| required: true | ||
|
|
||
|
|
@@ -44,12 +43,12 @@ body: | |
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| - type: input | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same issue here type: input is single-line. This field is where users include MREs, multiple links, @mentions, etc. which are inherently multi-line. Should remain textarea. |
||
| id: additional-context | ||
| attributes: | ||
| label: Additional context | ||
| description: | | ||
| Any other relevant information: @mentions of the commit/PR | ||
| Write markdown with any other relevant information: @mentions of the commit/PR | ||
| author(s), links to Monsoon result pages, whether the fix | ||
| should come from data.table or from the revdep package, etc. | ||
| Minimal reproducible examples (MRE) can also be included here. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type: input creates a single-line text field, which won't work for the check-output field. Users need to paste multi-line R CMD check output here (as you did in #7770, that output is 50+ lines).
Since render: text is already removed in this PR, the only remaining fix is to revert type back to textarea, that will give multi-line support and markdown rendering.