run_code: Run A Question's Code

Description Usage Arguments Value Examples

View source: R/run-code.R

Description

This function takes all formatted code blocks and attempts to run them in the global environment.

Usage

1

Arguments

q

An object of class SOQuestion

Value

results and errors, invisibly

Examples

1
2
q <- get_question(54028838)
run_code(q)

d-edison/RSOQuestions documentation built on May 26, 2019, 2:30 a.m.