knit_print {prioritizr}R Documentation

Print an object for knitr package.

Description

This function is used to ensure that problem() and new_optimization_problem() objects are displayed correctly in rmarkdown reports.

Usage

knit_print.ConservationProblem(x, ...)

knit_print.OptimizationProblem(x, ...)

Arguments

x

Object.

...

Not used.

Details

This function should not be called directly. It is intended to be used by the knitr package when displaying objects.

Value

A character vector for knitting.


[Package prioritizr version 8.0.4 Index]