Package 'presentifyr'

Title: PowerPoint Precision, Shiny Simplicity
Description: Create reproducible slideshows with PowerPoint and R.
Authors: Jacob Dumbleton [aut, cre], Anne Zheng [aut], Matthew Smith [aut], Agnes Kim [aut], Devin Pastoor [aut], Jenna Johnson [aut]
Maintainer: Jacob Dumbleton <[email protected]>
License: GPL (>= 3)
Version: 0.3.1
Built: 2026-07-15 04:28:06 UTC
Source: https://github.com/a2-ai/presentifyr

Help Index


This function launches the Shiny application.

Description

This function launches the Shiny application.

Usage

app()

Value

This function does not return; it runs the Shiny app until the session is ended.


Get Project Root

Description

Returns the directory of the current project

Usage

get_project_dir()

Value

Project directory


Initialize presentifyr Application Environment

Description

Bootstraps the Python environment presentifyr's Shiny app needs by calling pyro::initialize_python(groups = "presentifyr"). This installs uv (if missing) and additively syncs the presentifyr dependency group (python-pptx, pillow) into ⁠.venv/⁠ from the pyro-bundled lockfile. The sync runs in --inexact mode, so any packages already present in the venv from prior fyr-package installs are left in place.

⁠uv sync --frozen --inexact --group presentifyr⁠ is idempotent — it creates the venv if missing, installs the group if absent, and is a fast no-op if everything is already in place. Re-running this function is therefore safe and cheap.

Usage

initialize_app(verbose = TRUE)

Arguments

verbose

Logical. Print initialization messages. Default TRUE.

Value

Invisibly a list:

  • success: Logical. TRUE iff pyro returned without error.

  • errors: Character vector of any error detail captured.

Examples

## Not run: 
initialize_app()

## End(Not run)

Updates the logging level for functions. Default is set to WARN

Description

Updates the logging level for functions. Default is set to WARN

Usage

toggle_logger()

Value

Called for its side effect of updating the logger in .le$logger. Returns NULL invisibly.

Examples

## Not run: 
Sys.setenv("PRFY_VERBOSE" = "DEBUG")
toggle_logger()

## End(Not run)