Skip to contents

surreal (development version)

surreal 0.0.3

CRAN release: 2026-10-09

New features

Minor improvements and bug fixes

  • surreal(), surreal_text() and surreal_image() are much faster and use far less memory on large images. The data they return for a given seed is unchanged (#6).

  • surreal_app() download buttons hand over their files when the app runs in a web browser (#5).

  • surreal_app() shows the generated message in the Source pane, in its download and after Undo (#5).

  • surreal_app() shows code that runs when the message has a quotation mark or a line break in it (#6).

  • surreal_image() finds an image drawn in two light tones, such as light gray on white (#6).

  • surreal_image() reads an image address with a query string, such as picture.jpg?raw=1, in its own format (#6).

  • surreal_text() gives a clear error for text with no visible characters (#6).

surreal 0.0.2

CRAN release: 2026-01-11

New Features

  • surreal_image(): Create surreal datasets directly from image files or URLs. Supports PNG, JPEG, BMP, TIFF, and SVG formats with automatic mode detection and threshold calculation.

  • surreal_app(): Launch an interactive Shiny application for exploring the surreal algorithm. Includes demo datasets, custom text input, image uploads, and real-time parameter controls. Export results to CSV or download plots.

surreal 0.0.1

CRAN release: 2024-09-12

Features

  • surreal(): embeds a hidden image supplied by (x, y) coordinates into a data set that seemingly has no pattern until the residuals are plotted.
  • surreal_text(): embeds a hidden text pattern into a data set that seemingly has no pattern until the residuals are plotted.
  • Included data:
    • r_logo_image_data: a data set containing the R logo image that can be hidden using the surreal() function.
    • jack_o_lantern_image_data: a data set containing a hidden jack-o-lantern image.