This function provides a wrapper around the base warning
function, adding flexibility to warnings by setting call.
to FALSE
automatically. This modification means that the function call is not included
in the warning message, streamlining the output for users.
Examples
# \donttest{
try(warningp(
"This is a custom warning message without the call."
), silent = TRUE)
#> Warning: This is a custom warning message without the call.
# }