Skip to content

Commit

Permalink
expressive pkg import vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
erblast committed Dec 8, 2023
1 parent 2083331 commit 3aa3b42
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/articles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
needs: check
- name: Install dependencies
run: |
install.packages(c("remotes", "devtools", "tidyverse", "pkgdown"))
install.packages(c("remotes", "devtools", "pkgdown"))
remotes::install_deps(dependencies = TRUE)
devtools::install()
shell: Rscript {0}
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# parcats 0.0.5
* resubmit to CRAN
* update vignette

# parcats 0.0.4
* updated package dependencies
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ knitr::opts_chunk$set(
# parcats <a href='https://erblast.github.io/parcats/'><img src='man/figures/logo.png' align="right" height="139" /></a>

<!-- badges: start -->
[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/erblast/parcats?branch=master&svg=true)](https://ci.appveyor.com/project/erblast/parcats)

[![Codecov test coverage](https://codecov.io/gh/erblast/parcats/branch/master/graph/badge.svg)](https://app.codecov.io/gh/erblast/parcats?branch=master)
[![CRAN status](https://www.r-pkg.org/badges/version/parcats)](https://CRAN.R-project.org/package=parcats)
[![CRAN_time_from_release](https://www.r-pkg.org/badges/ago/parcats)](https://cran.r-project.org/package=parcats)
Expand Down
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

<!-- badges: start -->

[![AppVeyor build
status](https://ci.appveyor.com/api/projects/status/github/erblast/parcats?branch=master&svg=true)](https://ci.appveyor.com/project/erblast/parcats)
[![Codecov test
coverage](https://codecov.io/gh/erblast/parcats/branch/master/graph/badge.svg)](https://app.codecov.io/gh/erblast/parcats?branch=master)
[![CRAN
Expand Down Expand Up @@ -42,6 +40,7 @@ install.packages('parcats')
### Development Version

``` r

# install.packages("devtools")
devtools::install_github("erblast/parcats")
```
Expand All @@ -51,10 +50,9 @@ devtools::install_github("erblast/parcats")
`parcats` requires an alluvial plot created with `easyalluvial` to
create an interactive parrallel categories diagram.

- [easyalluvial
documentation](https://erblast.github.io/easyalluvial/)
- [easyalluvial documentation](https://erblast.github.io/easyalluvial/)

- [easyalluvial github page](https://github.com/erblast/easyalluvial)
- [easyalluvial github page](https://github.com/erblast/easyalluvial)

## Examples

Expand Down Expand Up @@ -97,8 +95,8 @@ plots attempt to visualise ML models in a two dimensional space. Using
alluvial plots or parrallel categories diagrams we can increase the
number of dimensions.

- [Visualise model response with alluvial
plots](https://www.datisticsblog.com/2019/04/visualising-model-response-with-easyalluvial/)
- [Visualise model response with alluvial
plots](https://www.datisticsblog.com/2019/04/visualising-model-response-with-easyalluvial/)

Here we see the response of a random forest model if we vary the three
variables with the highest importance while keeping all other features
Expand Down
5 changes: 2 additions & 3 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ Dependency 'easyalluvial' on CRAN again
no reverse dependencies

## Test Environments
* local macOS M1 R 4.2.1
* Appveyor x86_64-w64-mingw32/x64 (64-bit) R 4.2.1
* github actions macos-latest R 4.2.1
* local macOS M1 R 4.3.2
* github actions macos-latest R 4.3.2
* WinBuilder R 4.2.1
* WinBuilder R devel

Expand Down
2 changes: 1 addition & 1 deletion vignettes/parcats.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ editor_options:
## Examples

```{r}
suppressPackageStartupMessages(require(tidyverse))
suppressPackageStartupMessages(require(dplyr))
suppressPackageStartupMessages(require(easyalluvial))
suppressPackageStartupMessages(require(parcats))
```
Expand Down

0 comments on commit 3aa3b42

Please sign in to comment.