make_code_data {gofigR}R Documentation

Creates a GoFigr data object storing source code

Description

Creates a GoFigr data object storing source code

Usage

make_code_data(
  name,
  contents_or_file,
  language,
  format = "text",
  metadata = NULL
)

Arguments

name

name of this code object

contents_or_file

contents, a character string or file object

language

programming language, e.g. Python or R

format

not supported at the moment; please use the default

metadata

metadata associated with this object

Value

GoFigr data object


[Package gofigR version 1.1.0 Index]