An open API service indexing awesome lists of open source software.

https://github.com/dreamRs/toastui

R htmlwidgets for ToastUI libraries: grid, calendar, chart and editor
https://github.com/dreamRs/toastui

calendar charts datagrid htmlwidgets r tables wysiwyg

Last synced: 2 months ago
JSON representation

R htmlwidgets for ToastUI libraries: grid, calendar, chart and editor

Awesome Lists containing this project

README

          

# toastui

> R Htmlwidgets for [TOAST UI](https://ui.toast.com/) JavaScript libraries: [Grid](https://ui.toast.com/tui-grid/), [Calendar](https://ui.toast.com/tui-calendar/), [Chart](https://ui.toast.com/tui-chart/) and [Editor](https://ui.toast.com/tui-editor/).

[![version](https://www.r-pkg.org/badges/version/toastui)](https://CRAN.R-project.org/package=toastui)
[![R-CMD-check](https://github.com/dreamRs/toastui/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/dreamRs/toastui/actions/workflows/R-CMD-check.yaml)
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)

## Installation

Install from [CRAN](https://CRAN.R-project.org/package=toastui) with:

```r
install.packages("toastui")
```

Or install the development version from [GitHub](https://github.com/dreamRs/toastui) with:

```r
# install.packages("remotes")
remotes::install_github("dreamRs/toastui")
```

## Grid

Interactive tables with data editing, filtering, sorting, and more. See documentation and examples:

![](man/figures/grid.png)

Edit mode example:

![](man/figures/grid-edit.png)

## Calendar

Interactive daily, weekly or monthly calendar. See documentation and examples:

* Monthly view:

![](man/figures/calendar-month.png)

* Weekly view:

![](man/figures/calendar-week.png)

## Chart

Interactive charts:

![](man/figures/chart-heatmap.png)
![](man/figures/chart-treemap.png)

## Editor

Interactive Markdown WYSIWYG Editor:

![](man/figures/editor.png)

## Development

This package uses [packer](https://github.com/JohnCoene/packer) to manage JavaScript source code and dependencies. If you want to modify it, you'll need a working installation of [Node.js](https://nodejs.org).

After cloning the Git repository, install nodes modules with:

```r
packer::npm_install()
```

Modify code in `srcjs/` directory, then run:

```r
packer::bundle_prod() # or packer::bundle_dev()
```

Re-install the package or use `pkgload::load_all()` to try changes.