ViewR
Advanced Interactive Data Tables and Data Explorer
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
428
Last 30 days
9348th
714
Last 90 days
714
Last year
Trend: +49.7% (30d vs prior 30d)
13
Last 30 days
13
Last 90 days
13
Last year
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
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)
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
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