Skip to content

Commit

Permalink
Switch off partial arg match warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
chjackson committed Jan 31, 2023
1 parent 4723844 commit 2664fc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/distributions.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ survreg_wrap <- function(args){
opts <- options()
on.exit(options(opts))
options(
warnPartialMatchArgs = TRUE,
warnPartialMatchAttr = TRUE,
warnPartialMatchDollar = TRUE
warnPartialMatchArgs = FALSE,
warnPartialMatchAttr = FALSE,
warnPartialMatchDollar = FALSE
)
do.call(survreg, args)
}
Expand Down

0 comments on commit 2664fc7

Please sign in to comment.