Skip to contents

Use a modality for TRUE and onther for FALSE

Usage

add_journal_old(..., journal = character(), verbose = FALSE, first = FALSE)

Arguments

...

zero or more objects which can be coerced to character.

journal

character vector, journal

verbose

logical, should x generates a diagnostic message

first

logical, should ... be considered as a first message or a second one preceeded by tabulation

Value

updated journal

Author

Frédéric Grelot

Examples

journal = floodam.data:::add_journal_old("Operation started.")
floodam.data:::add_journal_old("No problem occurred.", journal = journal)
#> [1] "\tOperation started."   "\tNo problem occurred."
floodam.data:::add_journal_old("No problem occurred.", journal = journal, verbose = TRUE)
#> 	... No problem occurred.
#> [1] "\tOperation started."   "\tNo problem occurred."