Skip to content
Back to skills

Golem

ASecurity

R golem package for production Shiny apps. Use for building Shiny apps as R packages.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added June 5, 2026
datagodocker

Security analysis

A100/100

Scanned June 5, 2026

npx -y skills add LeoLin990405/r-analytics-skill --skill golem --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Golem?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Golem
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leolin990405-golem/badge)](https://www.skillsdirectory.com/skills/leolin990405-golem)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: golem
description: R golem package for production Shiny apps. Use for building Shiny apps as R packages.
---

# golem Package

Framework for production-grade Shiny apps.

## Create App

```r
library(golem)

# Create new app
create_golem("myapp")

# Project structure:
# myapp/
# ├── R/
# │   ├── app_config.R
# │   ├── app_server.R
# │   ├── app_ui.R
# │   └── run_app.R
# ├── inst/
# │   └── app/www/
# ├── dev/
# │   ├── 01_start.R
# │   ├── 02_dev.R
# │   └── 03_deploy.R
# └── DESCRIPTION
```

## Add Modules

```r
# Create module
add_module(name = "dashboard")
# Creates R/mod_dashboard.R

# Module template
mod_dashboard_ui <- function(id) {
  ns <- NS(id)
  tagList(
    # UI elements
  )
}

mod_dashboard_server <- function(id) {
  moduleServer(id, function(input, output, session) {
    # Server logic
  })
}
```

## Add Dependencies

```r
# Add package dependency
use_package("dplyr")
use_package("ggplot2")

# Add internal data
use_data_raw("dataset")

# Add external files
add_css_file("custom")
add_js_file("handlers")
```

## Configuration

```r
# Set options
set_golem_options(
  golem_name = "myapp",
  golem_version = "1.0.0"
)

# Get options
get_golem_options("golem_name")
```

## Run & Deploy

```r
# Run locally
run_app()

# Build for deployment
golem::add_dockerfile()
golem::add_dockerfile_shinyproxy()

# Deploy to RStudio Connect
rsconnect::deployApp()
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.