-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[ci] [R-package] catch builds that have not updated docs #3205
Changes from 1 commit
3cce5d6
3ab3b49
30cac17
61c103c
0b17315
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#' @name lgb.importance | ||
#' @title Compute feature importance in a model | ||
#' @title Compute feature importance in a model (testing) | ||
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. I added this as an example of the type of change that should trigger a failure. I'll remove it once we see if the new task works as expected. 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. it looks like this worked as expected! https://github.com/microsoft/LightGBM/pull/3205/checks?check_run_id=836077809 |
||
#' @description Creates a \code{data.table} of feature importances in a model. | ||
#' @param model object of class \code{lgb.Booster}. | ||
#' @param percentage whether to show importance in relative percentage. | ||
|
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.
Just a suggestion to not overcomplicate this
if
statement in the future. Name task with something liker-package-check-docs
and then just check that it starts withr-package
.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.
oh good idea! Just pushed 0b17315 to implement this