Skip to content

ViewR

Advanced Interactive Data Tables and Data Explorer

v2.0.0 · Jun 3, 2026 · MIT + file LICENSE

Description

An advanced, interactive data table and data explorer for R, delivered as a modern, self-contained 'htmlwidget' with a high-performance virtualized grid. ViewR renders 'Kaggle'-style micro-dashboard column headers complete with data-type badges, mini distribution spark-histograms, and data-completeness (missingness) bars. It provides hover metadata cards, a sliding Data Insights drawer with interactive histograms and 'Pareto' category charts, a multi-condition visual query builder (AND/OR), a column visibility picker, and a reproducible code generator that emits 'dplyr', base R, and 'SQL' that matches the active filter and column state. The interface is implemented entirely in dependency-free vanilla 'JavaScript' (no 'React' or build toolchain) and works in the 'RStudio'/'Positron' Viewer, inside 'Shiny' apps, in 'R Markdown'/'Quarto', or as a portable standalone 'HTML' file. A single call to viewr() opens the explorer; the legacy 'Shiny'-gadget ViewR() editor remains available.

Downloads

CRAN

428

Last 30 days

9348th

714

Last 90 days

714

Last year

Trend: +49.7% (30d vs prior 30d)

r2u CRAN

13

Last 30 days

13

Last 90 days

13

Last year

autoCRAN

0

Last 7 days

9

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

1 ERROR
12 OK
Show all 13 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-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 OK
Check details (1 non-OK)
ERROR r-oldrel-windows-x86_64

tests

Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ViewR)
  > 
  > test_check("ViewR")
  Saving _problems/test-ViewR-65.R
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 127 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • interactive() is not TRUE (2): 'test-ViewR.R:16:3', 'test-ViewR.R:38:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-ViewR.R:62:3'): install_viewr_deps() returns invisibly when all deps installed ──
  Error in `contrib.url(repos, "source")`: trying to use CRAN without setting a mirror
  Backtrace:
      ▆
   1. ├─base::withCallingHandlers(install_viewr_deps(ask = FALSE), message = function(m) invokeRestart("muffleMessage")) at test-ViewR.R:62:3
   2. └─ViewR::install_viewr_deps(ask = FALSE)
   3.   └─utils::install.packages(missing_pkgs)
   4.     └─utils::contrib.url(repos, "source")
  
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 127 ]
  Error:
  ! Test failures.
  Execution halted

Check History

ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 5, 2026
ERROR r-oldrel-windows-x86_64

tests

Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ViewR)
  > 
  > test_check("ViewR")
  Saving _problems/test-ViewR-65.R
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 127 ]
  
  ══ Skip
...[truncated]...
st-ViewR.R:62:3
   2. └─ViewR::install_viewr_deps(ask = FALSE)
   3.   └─utils::install.packages(missing_pkgs)
   4.     └─utils::contrib.url(repos, "source")
  
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 127 ]
  Error:
  ! Test failures.
  Execution halted
OK 7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 7, 2026

Dependency Network

Dependencies Reverse dependencies htmlwidgets htmltools jsonlite (>= 1.8.0) shiny DT rhandsontable (>= 0.3.8) shinyjs shinythemes ViewR

Version History

2 tracked
updated 2.0.0 ← 1.0.0 diff Jun 3, 2026
new 1.0.0 May 6, 2026