You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my_condition<- condition(
msg="msg",
class="my_condition", # resolves to `c("my_condition", "my_condition_warning", "warning")`help="longer explaination of issue",
seealso="my_function",
register= find_package_condition_env()
)
condition() could also register in the condition_environment within a package, possibly.
All package conditions could be stored in that environment.
Would there be a way to add a conditions attribute to functions?
Lists out each possible condition.
May need to create a new print.function_conditioned method.
The text was updated successfully, but these errors were encountered:
a more feature rich condition maker
Workflow would change from
to
condition()
could also register in thecondition_environment
within a package, possibly.All package conditions could be stored in that environment.
Would there be a way to add a
conditions
attribute to functions?Lists out each possible condition.
May need to create a new
print.function_conditioned
method.The text was updated successfully, but these errors were encountered: