Hi there! 👋
I was wondering why the default value of the use.namespace parameter is set to TRUE in makeAssertionFunction() but is FALSE for makeExpectationFunction(). Is there a specific reason for this difference?
|
makeAssertionFunction = function(check.fun, c.fun = NULL, use.namespace = TRUE, coerce = FALSE, env = parent.frame()) { |
|
makeExpectationFunction = function(check.fun, c.fun = NULL, use.namespace = FALSE, env = parent.frame()) { |
Hi there! 👋
I was wondering why the default value of the
use.namespaceparameter is set toTRUEinmakeAssertionFunction()but isFALSEformakeExpectationFunction(). Is there a specific reason for this difference?checkmate/R/makeAssertion.R
Line 59 in 63e001f
checkmate/R/makeExpectation.R
Line 114 in 63e001f