R/autogenerated.R

Defines functions assertion_message as_assertion_message deprecated_message as_deprecated_message dimension_message as_dimension_message future_message as_future_message index_message as_index_message io_message as_io_message length_message as_length_message library_message as_library_message lookup_message as_lookup_message missing_message as_missing_message name_message as_name_message runtime_message as_runtime_message type_message as_type_message value_message as_value_message assertion_warning as_assertion_warning deprecated_warning as_deprecated_warning dimension_warning as_dimension_warning future_warning as_future_warning index_warning as_index_warning io_warning as_io_warning length_warning as_length_warning library_warning as_library_warning lookup_warning as_lookup_warning missing_warning as_missing_warning name_warning as_name_warning runtime_warning as_runtime_warning type_warning as_type_warning value_warning as_value_warning assertion_error as_assertion_error deprecated_error as_deprecated_error dimension_error as_dimension_error future_error as_future_error index_error as_index_error io_error as_io_error length_error as_length_error library_error as_library_error lookup_error as_lookup_error missing_error as_missing_error name_error as_name_error runtime_error as_runtime_error type_error as_type_error value_error as_value_error

Documented in as_assertion_error as_assertion_message as_assertion_warning as_deprecated_error as_deprecated_message as_deprecated_warning as_dimension_error as_dimension_message as_dimension_warning as_future_error as_future_message as_future_warning as_index_error as_index_message as_index_warning as_io_error as_io_message as_io_warning as_length_error as_length_message as_length_warning as_library_error as_library_message as_library_warning as_lookup_error as_lookup_message as_lookup_warning as_missing_error as_missing_message as_missing_warning as_name_error as_name_message as_name_warning as_runtime_error as_runtime_message as_runtime_warning assertion_error assertion_message assertion_warning as_type_error as_type_message as_type_warning as_value_error as_value_message as_value_warning deprecated_error deprecated_message deprecated_warning dimension_error dimension_message dimension_warning future_error future_message future_warning index_error index_message index_warning io_error io_message io_warning length_error length_message length_warning library_error library_message library_warning lookup_error lookup_message lookup_warning missing_error missing_message missing_warning name_error name_message name_warning runtime_error runtime_message runtime_warning type_error type_message type_warning value_error value_message value_warning

### This file is automatically generated.
### See [conditions]/inst/autogen/autogen.R.

#' @useDynLib conditions condition_message_
#' @useDynLib conditions condition_warning_
#' @useDynLib conditions condition_error_

#' @rdname condition
#' @export
assertion_message = function(message, call = sys.call(-1L), attach = NULL) {
  message(.Call(condition_message_, "assertion", message, call, attach))
}

#' @rdname as_condition
#' @export
as_assertion_message = function(message = NULL) {
  as_message("assertion", message)
}


#' @rdname condition
#' @export
deprecated_message = function(message, call = sys.call(-1L), attach = NULL) {
  message(.Call(condition_message_, "deprecated", message, call, attach))
}

#' @rdname as_condition
#' @export
as_deprecated_message = function(message = NULL) {
  as_message("deprecated", message)
}


#' @rdname condition
#' @export
dimension_message = function(message, call = sys.call(-1L), attach = NULL) {
  message(.Call(condition_message_, "dimension", message, call, attach))
}

#' @rdname as_condition
#' @export
as_dimension_message = function(message = NULL) {
  as_message("dimension", message)
}


#' @rdname condition
#' @export
future_message = function(message, call = sys.call(-1L), attach = NULL) {
  message(.Call(condition_message_, "future", message, call, attach))
}

#' @rdname as_condition
#' @export
as_future_message = function(message = NULL) {
  as_message("future", message)
}


#' @rdname condition
#' @export
index_message = function(message, call = sys.call(-1L), attach = NULL) {
  message(.Call(condition_message_, "index", message, call, attach))
}

#' @rdname as_condition
#' @export
as_index_message = function(message = NULL) {
  as_message("index", message)
}


#' @rdname condition
#' @export
io_message = function(message, call = sys.call(-1L), attach = NULL) {
  message(.Call(condition_message_, "io", message, call, attach))
}

#' @rdname as_condition
#' @export
as_io_message = function(message = NULL) {
  as_message("io", message)
}


#' @rdname condition
#' @export
length_message = function(message, call = sys.call(-1L), attach = NULL) {
  message(.Call(condition_message_, "length", message, call, attach))
}

#' @rdname as_condition
#' @export
as_length_message = function(message = NULL) {
  as_message("length", message)
}


#' @rdname condition
#' @export
library_message = function(message, call = sys.call(-1L), attach = NULL) {
  message(.Call(condition_message_, "library", message, call, attach))
}

#' @rdname as_condition
#' @export
as_library_message = function(message = NULL) {
  as_message("library", message)
}


#' @rdname condition
#' @export
lookup_message = function(message, call = sys.call(-1L), attach = NULL) {
  message(.Call(condition_message_, "lookup", message, call, attach))
}

#' @rdname as_condition
#' @export
as_lookup_message = function(message = NULL) {
  as_message("lookup", message)
}


#' @rdname condition
#' @export
missing_message = function(message, call = sys.call(-1L), attach = NULL) {
  message(.Call(condition_message_, "missing", message, call, attach))
}

#' @rdname as_condition
#' @export
as_missing_message = function(message = NULL) {
  as_message("missing", message)
}


#' @rdname condition
#' @export
name_message = function(message, call = sys.call(-1L), attach = NULL) {
  message(.Call(condition_message_, "name", message, call, attach))
}

#' @rdname as_condition
#' @export
as_name_message = function(message = NULL) {
  as_message("name", message)
}


#' @rdname condition
#' @export
runtime_message = function(message, call = sys.call(-1L), attach = NULL) {
  message(.Call(condition_message_, "runtime", message, call, attach))
}

#' @rdname as_condition
#' @export
as_runtime_message = function(message = NULL) {
  as_message("runtime", message)
}


#' @rdname condition
#' @export
type_message = function(message, call = sys.call(-1L), attach = NULL) {
  message(.Call(condition_message_, "type", message, call, attach))
}

#' @rdname as_condition
#' @export
as_type_message = function(message = NULL) {
  as_message("type", message)
}


#' @rdname condition
#' @export
value_message = function(message, call = sys.call(-1L), attach = NULL) {
  message(.Call(condition_message_, "value", message, call, attach))
}

#' @rdname as_condition
#' @export
as_value_message = function(message = NULL) {
  as_message("value", message)
}


#' @rdname condition
#' @export
assertion_warning = function(message, call = sys.call(-1L), attach = NULL) {
  warning(.Call(condition_warning_, "assertion", message, call, attach))
}

#' @rdname as_condition
#' @export
as_assertion_warning = function(message = NULL) {
  as_warning("assertion", message)
}


#' @rdname condition
#' @export
deprecated_warning = function(message, call = sys.call(-1L), attach = NULL) {
  warning(.Call(condition_warning_, "deprecated", message, call, attach))
}

#' @rdname as_condition
#' @export
as_deprecated_warning = function(message = NULL) {
  as_warning("deprecated", message)
}


#' @rdname condition
#' @export
dimension_warning = function(message, call = sys.call(-1L), attach = NULL) {
  warning(.Call(condition_warning_, "dimension", message, call, attach))
}

#' @rdname as_condition
#' @export
as_dimension_warning = function(message = NULL) {
  as_warning("dimension", message)
}


#' @rdname condition
#' @export
future_warning = function(message, call = sys.call(-1L), attach = NULL) {
  warning(.Call(condition_warning_, "future", message, call, attach))
}

#' @rdname as_condition
#' @export
as_future_warning = function(message = NULL) {
  as_warning("future", message)
}


#' @rdname condition
#' @export
index_warning = function(message, call = sys.call(-1L), attach = NULL) {
  warning(.Call(condition_warning_, "index", message, call, attach))
}

#' @rdname as_condition
#' @export
as_index_warning = function(message = NULL) {
  as_warning("index", message)
}


#' @rdname condition
#' @export
io_warning = function(message, call = sys.call(-1L), attach = NULL) {
  warning(.Call(condition_warning_, "io", message, call, attach))
}

#' @rdname as_condition
#' @export
as_io_warning = function(message = NULL) {
  as_warning("io", message)
}


#' @rdname condition
#' @export
length_warning = function(message, call = sys.call(-1L), attach = NULL) {
  warning(.Call(condition_warning_, "length", message, call, attach))
}

#' @rdname as_condition
#' @export
as_length_warning = function(message = NULL) {
  as_warning("length", message)
}


#' @rdname condition
#' @export
library_warning = function(message, call = sys.call(-1L), attach = NULL) {
  warning(.Call(condition_warning_, "library", message, call, attach))
}

#' @rdname as_condition
#' @export
as_library_warning = function(message = NULL) {
  as_warning("library", message)
}


#' @rdname condition
#' @export
lookup_warning = function(message, call = sys.call(-1L), attach = NULL) {
  warning(.Call(condition_warning_, "lookup", message, call, attach))
}

#' @rdname as_condition
#' @export
as_lookup_warning = function(message = NULL) {
  as_warning("lookup", message)
}


#' @rdname condition
#' @export
missing_warning = function(message, call = sys.call(-1L), attach = NULL) {
  warning(.Call(condition_warning_, "missing", message, call, attach))
}

#' @rdname as_condition
#' @export
as_missing_warning = function(message = NULL) {
  as_warning("missing", message)
}


#' @rdname condition
#' @export
name_warning = function(message, call = sys.call(-1L), attach = NULL) {
  warning(.Call(condition_warning_, "name", message, call, attach))
}

#' @rdname as_condition
#' @export
as_name_warning = function(message = NULL) {
  as_warning("name", message)
}


#' @rdname condition
#' @export
runtime_warning = function(message, call = sys.call(-1L), attach = NULL) {
  warning(.Call(condition_warning_, "runtime", message, call, attach))
}

#' @rdname as_condition
#' @export
as_runtime_warning = function(message = NULL) {
  as_warning("runtime", message)
}


#' @rdname condition
#' @export
type_warning = function(message, call = sys.call(-1L), attach = NULL) {
  warning(.Call(condition_warning_, "type", message, call, attach))
}

#' @rdname as_condition
#' @export
as_type_warning = function(message = NULL) {
  as_warning("type", message)
}


#' @rdname condition
#' @export
value_warning = function(message, call = sys.call(-1L), attach = NULL) {
  warning(.Call(condition_warning_, "value", message, call, attach))
}

#' @rdname as_condition
#' @export
as_value_warning = function(message = NULL) {
  as_warning("value", message)
}


#' @rdname condition
#' @export
assertion_error = function(message, call = sys.call(-1L), attach = NULL) {
  stop(.Call(condition_error_, "assertion", message, call, attach))
}

#' @rdname as_condition
#' @export
as_assertion_error = function(message = NULL) {
  as_error("assertion", message)
}


#' @rdname condition
#' @export
deprecated_error = function(message, call = sys.call(-1L), attach = NULL) {
  stop(.Call(condition_error_, "deprecated", message, call, attach))
}

#' @rdname as_condition
#' @export
as_deprecated_error = function(message = NULL) {
  as_error("deprecated", message)
}


#' @rdname condition
#' @export
dimension_error = function(message, call = sys.call(-1L), attach = NULL) {
  stop(.Call(condition_error_, "dimension", message, call, attach))
}

#' @rdname as_condition
#' @export
as_dimension_error = function(message = NULL) {
  as_error("dimension", message)
}


#' @rdname condition
#' @export
future_error = function(message, call = sys.call(-1L), attach = NULL) {
  stop(.Call(condition_error_, "future", message, call, attach))
}

#' @rdname as_condition
#' @export
as_future_error = function(message = NULL) {
  as_error("future", message)
}


#' @rdname condition
#' @export
index_error = function(message, call = sys.call(-1L), attach = NULL) {
  stop(.Call(condition_error_, "index", message, call, attach))
}

#' @rdname as_condition
#' @export
as_index_error = function(message = NULL) {
  as_error("index", message)
}


#' @rdname condition
#' @export
io_error = function(message, call = sys.call(-1L), attach = NULL) {
  stop(.Call(condition_error_, "io", message, call, attach))
}

#' @rdname as_condition
#' @export
as_io_error = function(message = NULL) {
  as_error("io", message)
}


#' @rdname condition
#' @export
length_error = function(message, call = sys.call(-1L), attach = NULL) {
  stop(.Call(condition_error_, "length", message, call, attach))
}

#' @rdname as_condition
#' @export
as_length_error = function(message = NULL) {
  as_error("length", message)
}


#' @rdname condition
#' @export
library_error = function(message, call = sys.call(-1L), attach = NULL) {
  stop(.Call(condition_error_, "library", message, call, attach))
}

#' @rdname as_condition
#' @export
as_library_error = function(message = NULL) {
  as_error("library", message)
}


#' @rdname condition
#' @export
lookup_error = function(message, call = sys.call(-1L), attach = NULL) {
  stop(.Call(condition_error_, "lookup", message, call, attach))
}

#' @rdname as_condition
#' @export
as_lookup_error = function(message = NULL) {
  as_error("lookup", message)
}


#' @rdname condition
#' @export
missing_error = function(message, call = sys.call(-1L), attach = NULL) {
  stop(.Call(condition_error_, "missing", message, call, attach))
}

#' @rdname as_condition
#' @export
as_missing_error = function(message = NULL) {
  as_error("missing", message)
}


#' @rdname condition
#' @export
name_error = function(message, call = sys.call(-1L), attach = NULL) {
  stop(.Call(condition_error_, "name", message, call, attach))
}

#' @rdname as_condition
#' @export
as_name_error = function(message = NULL) {
  as_error("name", message)
}


#' @rdname condition
#' @export
runtime_error = function(message, call = sys.call(-1L), attach = NULL) {
  stop(.Call(condition_error_, "runtime", message, call, attach))
}

#' @rdname as_condition
#' @export
as_runtime_error = function(message = NULL) {
  as_error("runtime", message)
}


#' @rdname condition
#' @export
type_error = function(message, call = sys.call(-1L), attach = NULL) {
  stop(.Call(condition_error_, "type", message, call, attach))
}

#' @rdname as_condition
#' @export
as_type_error = function(message = NULL) {
  as_error("type", message)
}


#' @rdname condition
#' @export
value_error = function(message, call = sys.call(-1L), attach = NULL) {
  stop(.Call(condition_error_, "value", message, call, attach))
}

#' @rdname as_condition
#' @export
as_value_error = function(message = NULL) {
  as_error("value", message)
}

Try the conditions package in your browser

Any scripts or data that you put into this service are public.

conditions documentation built on May 29, 2017, 11:03 p.m.