From 2664fc77598af8452adf7df3cddd50aaadeac9a9 Mon Sep 17 00:00:00 2001 From: Chris Jackson Date: Tue, 31 Jan 2023 14:36:51 +0000 Subject: [PATCH] Switch off partial arg match warnings --- R/distributions.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/R/distributions.R b/R/distributions.R index 6721aea..25bf292 100644 --- a/R/distributions.R +++ b/R/distributions.R @@ -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) }