print.safeframe: Printing method for safeframe objects

View source: R/print.safeframe.R

print.safeframeR Documentation

Printing method for safeframe objects

Description

This function prints safeframe objects.

Usage

## S3 method for class 'safeframe'
print(x, ...)

Arguments

x

a safeframe object

...

further arguments to be passed to 'print'

Value

Invisibly returns the object.

Examples

## create safeframe
x <- make_safeframe(cars,
  mph = "speed",
  distance = "dist"
)

## print object - using only the first few entries
head(x)

# version with a tibble
if (require(tibble) && require(magrittr)) {
  cars %>%
    tibble() %>%
    make_safeframe(
      mph = "speed",
      distance = "dist"
    )
}

safeframe documentation built on June 28, 2025, 1:08 a.m.