maj readme and news

This commit is contained in:
pvictor 2021-09-17 11:24:35 +02:00
parent 090f3d2d37
commit 01c1c8ed2d
3 changed files with 34 additions and 11 deletions

View File

@ -1,7 +1,9 @@
apexcharter 0.2.1
==================
* Updated ApexCharts.js to 3.26.3
* Updated ApexCharts.js to 3.28.3
* Internal: use [{packer}](https://github.com/JohnCoene/packer) to manage JavaScript assets.
* `d3.format` JavaScript functions are now available in browser under `format()` and `formatLocale()`.

View File

@ -10,23 +10,20 @@
<!-- badges: end -->
:warning: Use RStudio >= 1.2 to properly display charts
## Installation
Install from CRAN with:
Install from [CRAN](https://cran.r-project.org/web/packages/apexcharter/index.html) with:
```r
install.packages("apexcharter")
```
Or install the development version from [GitHub](https://github.com/) with:
Or install the development version from [GitHub](https://github.com/dreamRs/apexcharter) with:
``` r
# install.packages("devtools")
devtools::install_github("dreamRs/apexcharter")
```r
# install.packages("remotes")
remotes::install_github("dreamRs/apexcharter")
```
@ -141,3 +138,27 @@ apexchart(ax_opts = list(
![](man/figures/raw-api.png)
## Development
This package use [{packer}](https://github.com/JohnCoene/packer) to manage JavaScript assets, see packer's [documentation](https://packer.john-coene.com/#/) for more.
Install nodes modules with:
```r
packer::npm_install()
```
Modify `srcjs/widgets/apexcharter.js`, then run:
```r
packer::bundle()
```
Re-install R package and try `apexcharter()` or `apex()` functions.

View File

@ -1,6 +1,6 @@
## Test environments
* local OS Widows 10 install, R 4.0.3
* ubuntu 16.04, Windows 10, macOS (on GitHub Actions), R 4.0.5
* local OS Widows 10 install, R 4.1.0
* ubuntu 20.04, Windows 10, macOS (on GitHub Actions), R 4.1.1
* win-builder (devel and release)
## R CMD check results