Skip to contents

Because the SQUID is saved in the options, it persists when changed e.g. in function calls, for example when using lapply().

Usage

get_squid(namespace = NULL)

set_squid(x, namespace = NULL)

Arguments

namespace

Optionally, for saving multiple SQUIDs, a namespace.

x

A SQUID (or several; the highest is stored).

Value

The saved SQUID.

Invisibly, x.

Examples

exampleSQUID <-
  squids::squids();

squids::set_squid(
  exampleSQUID
);

squids::get_squid();
#> 🦑 7zxsbw7n