Skip to content

Why the default value of use.namespace parameter is set to TRUE in makeAssertionFunction() but is FALSE for makeExpectationFunction()? #271

Open

Description

@danielvartan

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()) {

Activity

  1. changed the title [-]Why the default value of `use.namespace` parameter is set to `TRUE` in `makeAssertionFunction()` but is `FALSE` for `makeExpectationFunction()`[/-] [+]Why the default value of `use.namespace` parameter is set to `TRUE` in `makeAssertionFunction()` but is `FALSE` for `makeExpectationFunction()`?[/+] on Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions