Skip to content

Commit

Permalink
Merge pull request #274 from jdblischak/r-cmd-check
Browse files Browse the repository at this point in the history
A few minor updates to fix NOTEs from `R CMD check`
  • Loading branch information
LittleBeannie committed Aug 9, 2024
2 parents 71f8b78 + 7342f10 commit b2b431c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions R/global.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ utils::globalVariables(
"enroll_time",
"event",
"eventCount",
"events",
"event_total",
"fail",
"fail_time",
"finish",
Expand All @@ -43,8 +43,8 @@ utils::globalVariables(
"lambda",
"max_weight",
"mtte",
"n_event_tol",
"n_risk_tol",
"event_trt",
"n_risk_total",
"n_risk_trt",
"o_minus_e",
"one",
Expand Down
3 changes: 2 additions & 1 deletion R/rmst.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
#' @details
#' The argument `formula` is provided as a convenience to easily specify the
#' TTE, event, and grouping variables using the syntax `Surv(tte, event) ~
#' group)` ([Surv()] is from the \{survival\} package). You can also explicitly
#' group)`. `Surv()` is from the \{survival\} package ([survival::Surv()]).
#' You can also explicitly
#' name the arguments passed to `Surv()`, for example the following is
#' equivalent `Surv(event = event, time = tte) ~ group)`. Note however that the
#' function `Surv()` is never actually executed. Similarly, any other functions
Expand Down
4 changes: 2 additions & 2 deletions man/counting_process.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/rmst.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b2b431c

Please sign in to comment.