Skip to content

Commit

Permalink
Quiet NOTE about prodlim (#307)
Browse files Browse the repository at this point in the history
* quiet note about prodlim

* add new line at the end
  • Loading branch information
hfrick authored Jan 24, 2024
1 parent b9febd6 commit 5343ca8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ importFrom(parsnip,predict_linear_pred)
importFrom(parsnip,predict_raw)
importFrom(parsnip,predict_survival)
importFrom(parsnip,translate)
importFrom(prodlim,prodlim)
importFrom(purrr,map)
importFrom(purrr,map_dbl)
importFrom(rlang,"%||%")
Expand Down
6 changes: 6 additions & 0 deletions R/censored-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,9 @@ utils::globalVariables(
"sum_component", "time_interval"
)
)

# quiet R-CMD-check NOTEs that prodlim is unused
# (parsnip uses it for all censored regression models
# but only has it in Suggests)
#' @importFrom prodlim prodlim
NULL

0 comments on commit 5343ca8

Please sign in to comment.