R/marshal.parallel.R

Defines functions marshallable.SOCK0node marshallable.SOCKnode marshallable.SOCKcluster marshal.SOCK0node marshal.SOCKnode marshal.SOCKcluster

Documented in marshallable.SOCK0node marshallable.SOCKcluster marshallable.SOCKnode marshal.SOCK0node marshal.SOCKcluster marshal.SOCKnode

#' Marshalling of 'parallel' objects (not supported)
#'
#' _Warning: Objects of this class are not possible to marshal.
#'  If attempted, an error is produced._
#'
#' @param x A \link[magick:magick]{magick:magick-image} object.
#'
#' @param \dots Not used.
#'
#' @return
#' A `marshalled` object as described in [marshal()].
#'
#' @rdname marshal.parallel
#' @aliases marshal.SOCKcluster
#' @export
marshal.SOCKcluster <- function(x, ...) {
  stop(MarshalNotSupportedError(object = x))
}


#' @rdname marshal.parallel
#' @aliases marshal.SOCKnode
#' @export
marshal.SOCKnode <- function(x, ...) {
  stop(MarshalNotSupportedError(object = x))
}


#' @rdname marshal.parallel
#' @aliases marshal.SOCK0node
#' @export
marshal.SOCK0node <- function(x, ...) {
  stop(MarshalNotSupportedError(object = x))
}



#' @rdname marshal.parallel
#' @aliases marshallable.SOCKcluster
#' @export
marshallable.SOCKcluster <- function(...) {
  FALSE
}


#' @rdname marshal.parallel
#' @aliases marshallable.SOCKnode
#' @export
marshallable.SOCKnode <- function(...) {
  FALSE
}


#' @rdname marshal.parallel
#' @aliases marshallable.SOCK0node
#' @export
marshallable.SOCK0node <- function(...) {
  FALSE
}
HenrikBengtsson/marshal documentation built on June 11, 2024, 11:35 a.m.