Skip to contents

A ContentBlock subclass that represents a page break in a report output.

Super class

teal.reporter::ContentBlock -> NewpageBlock

Methods

Inherited methods


Method new()

Initialize a NewpageBlock object.

Usage

Details

Returns a NewpageBlock object with no content and the default style.

Returns

Object of class NewpageBlock, invisibly.

Examples

NewpageBlock <- getFromNamespace("NewpageBlock", "teal.reporter")
block <- NewpageBlock$new()


Method clone()

The objects of this class are cloneable with this method.

Usage

NewpageBlock$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples


## ------------------------------------------------
## Method `NewpageBlock$new`
## ------------------------------------------------

NewpageBlock <- getFromNamespace("NewpageBlock", "teal.reporter")
block <- NewpageBlock$new()