R/refs_to_list.R

Defines functions refs_to_list

refs_to_list <- function(refs){
  if(is.list(refs)){ 
    refs
  } else if(is.null(refs)){
    list(NULL)
  } else if(is.character(refs)){
    as.list(refs)
  } else (
    list(refs)
  )
}

Try the rworkflows package in your browser

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

rworkflows documentation built on Sept. 23, 2024, 1:08 a.m.