Skip to content

shinyscholar

A Template for Creating Reproducible 'shiny' Applications

v0.4.5 · Apr 3, 2026 · GPL-3

Description

Create a skeleton 'shiny' application with create_template() that is reproducible, can be saved and meets academic standards for attribution. Forked from 'wallace'. Code is split into modules that are loaded and linked together automatically and each call one function. Guidance pages explain modules to users and flexible logging informs them of any errors. Options enable asynchronous operations, viewing of source code, interactive maps and data tables. Use to create complex analytical applications, following best practices in open science and software development. Includes functions for automating repetitive development tasks and an example application at run_shinyscholar() that requires install.packages("shinyscholar", dependencies = TRUE). A guide to developing applications can be found on the package website.

Downloads

684

Last 30 days

5446th

2.1K

Last 90 days

7.5K

Last year

Trend: -11.6% (30d vs prior 30d)

CRAN Check Status

2 ERROR
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 ERROR
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 ERROR
Check details (2 non-OK)
ERROR r-oldrel-windows-x86_64

tests

Running 'testthat.R' [69s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TEST" = "")
  > library(testthat)
  > library(shinyscholar)
  Loading required package: bslib
  
  Attaching package: 'bslib'
  
  The following object is masked from 'package:utils':
  
      page
  
  Loading required package: gargoyle
  
  Attaching package: 'gargoyle'
  
  The following object is masked from 'package:testthat':
  
      watch
  
  Loading required package: leaflet
  Loading required package: shiny
  > library(shinytest2)
  > 
  > test_check("shinyscholar")
  ── pak::local_install_deps() ───────────────────────────────────────────────────
  Saving _problems/test-create_template-156.R
  ── pak::local_install_deps() ───────────────────────────────────────────────────
  Saving _problems/test-create_template-198.R
  ── pak::local_install_deps() ───────────────────────────────────────────────────
  Saving _problems/test-create_template-228.R
  ── pak::local_insta
...[truncated]...
plate.R:210:5
   2. │ └─base::force(code)
   3. └─devtools::install(...) at test-create_template.R:228:7
   4.   └─(function() {...
   5.     └─pak::local_install_deps(...)
   6.       └─pak:::remote(...)
   7.         └─err$throw(res$error)
  ── Error ('test-create_template.R:258:7'): Check async, with map runs correctly ──
  <callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
  Error: ! error in pak subprocess
  Caused by error in `get_user_cache_dir()`:
  ! R_USER_CACHE_DIR env var not set during package check, see https://github.com/r-lib/pkgcache#README
  Backtrace:
      ▆
   1. ├─withr::with_temp_libpaths(...) at test-create_template.R:240:5
   2. │ └─base::force(code)
   3. └─devtools::install(...) at test-create_template.R:258:7
   4.   └─(function() {...
   5.     └─pak::local_install_deps(...)
   6.       └─pak:::remote(...)
   7.         └─err$throw(res$error)
  
  [ FAIL 4 | WARN 1 | SKIP 27 | PASS 152 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-release-windows-x86_64

tests

Running 'testthat.R' [51s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TEST" = "")
  > library(testthat)
  > library(shinyscholar)
  Loading required package: bslib
  
  Attaching package: 'bslib'
  
  The following object is masked from 'package:utils':
  
      page
  
  Loading required package: gargoyle
  
  Attaching package: 'gargoyle'
  
  The following object is masked from 'package:testthat':
  
      watch
  
  Loading required package: leaflet
  Loading required package: shiny
  > library(shinytest2)
  > 
  > test_check("shinyscholar")
  ── pak::local_install_deps() ───────────────────────────────────────────────────
  Saving _problems/test-create_template-156.R
  ── pak::local_install_deps() ───────────────────────────────────────────────────
  Saving _problems/test-create_template-198.R
  ── pak::local_install_deps() ───────────────────────────────────────────────────
  Saving _problems/test-create_template-228.R
  ── pak::local_insta
...[truncated]...
plate.R:210:5
   2. │ └─base::force(code)
   3. └─devtools::install(...) at test-create_template.R:228:7
   4.   └─(function() {...
   5.     └─pak::local_install_deps(...)
   6.       └─pak:::remote(...)
   7.         └─err$throw(res$error)
  ── Error ('test-create_template.R:258:7'): Check async, with map runs correctly ──
  <callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
  Error: ! error in pak subprocess
  Caused by error in `get_user_cache_dir()`:
  ! R_USER_CACHE_DIR env var not set during package check, see https://github.com/r-lib/pkgcache#README
  Backtrace:
      ▆
   1. ├─withr::with_temp_libpaths(...) at test-create_template.R:240:5
   2. │ └─base::force(code)
   3. └─devtools::install(...) at test-create_template.R:258:7
   4.   └─(function() {...
   5.     └─pak::local_install_deps(...)
   6.       └─pak:::remote(...)
   7.         └─err$throw(res$error)
  
  [ FAIL 4 | WARN 1 | SKIP 27 | PASS 152 ]
  Error:
  ! Test failures.
  Execution halted

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 17, 2026
ERROR r-oldrel-windows-x86_64

tests

Running 'testthat.R' [68s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TEST" = "")
  > library(testthat)
  > library(shinyscholar)
  Loading required package: bslib
  
  Attaching package: 'bslib'
  
  The follo
...[truncated]...
ate_template.R:258:7
   4.   └─(function() {...
   5.     └─pak::local_install_deps(...)
   6.       └─pak:::remote(...)
   7.         └─err$throw(res$error)
  
  [ FAIL 4 | WARN 1 | SKIP 27 | PASS 152 ]
  Error:
  ! Test failures.
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies curl devtools glue knitr pak zip shinyscholar

Version History

updated 0.4.5 ← 0.4.4 diff Apr 3, 2026
new 0.4.4 Mar 10, 2026
updated 0.4.4 ← 0.4.3 diff Feb 5, 2026
updated 0.4.3 ← 0.4.2 diff Sep 4, 2025
updated 0.4.2 ← 0.4.1 diff Jun 1, 2025
updated 0.4.1 ← 0.3.0 diff May 18, 2025
updated 0.3.0 ← 0.2.5 diff Mar 19, 2025
updated 0.2.5 ← 0.2.4 diff Feb 4, 2025
updated 0.2.4 ← 0.2.3 diff Jan 28, 2025
updated 0.2.3 ← 0.2.2 diff Jan 16, 2025
new 0.2.2 Jan 14, 2025