Skip to content

"null() <-" function for throwing away stuff #4

@AEBilgrau

Description

@AEBilgrau

Instead of a usual .null variable (or whatever you might make up) to discard some unwanted output, it could be nice to have a function specifically for it.

Typical use case to avoid:

null <- capture.output(
  some_function_that_wont_shut_up()
)

as null now pollutes the environment.

Suggested usage:

null(caputure.output(
  some_function_that_wont_shut_up()
))

or

null() <- caputure.output(
  some_function_that_wont_shut_up()
)

or something third.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions