R/check_handler_or_run.R

Defines functions check_handler_or_run

check_handler_or_run <-
  function(x){
    if(!(any(c("neptune.new.handler.Handler", "neptune.new.metadata_containers.run.Run") %in% class(x))))
      stop("x must be a neptune Run or Handler")
  }

Try the neptune package in your browser

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

neptune documentation built on April 13, 2022, 5:14 p.m.