Learn R Programming

gofigR (version 0.3.1)

make_code_data: 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
)

Value

GoFigr data object

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