Skip to content

Commit 1ff4192

Browse files
committed
update to lineups v4
1 parent d3ce90f commit 1ff4192

File tree

10 files changed

+2213
-76
lines changed

10 files changed

+2213
-76
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Description: 'LineUp' is an interactive technique designed to create, visualize
55
This is a 'htmlwidget' wrapper around the JavaScript library 'LineUp.js'.
66
It is designed to be used in 'R Shiny' apps and 'R Markddown' files.
77
Due to an outdated 'webkit' version of 'RStudio' it won't work in the intergrated viewer.
8-
Version: 3.2.2
9-
Date: 2019-09-17
8+
Version: 4.0.0
9+
Date: 2020-06-15
1010
Authors@R: person("Samuel", "Gratzl", email = "[email protected]", role = c("aut", "cre"))
1111
Maintainer: Samuel Gratzl <[email protected]>
1212
URL: https://github.com/lineupjs/lineup_htmlwidget/

R/lineup.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
.lineupDefaultOptions = list(
99
filterGlobally = TRUE,
1010
singleSelection = FALSE,
11-
noCriteriaLimits = FALSE,
1211
animated = TRUE,
1312
sidePanel = 'collapsed',
1413
hierarchyIndicator = TRUE,
@@ -30,7 +29,6 @@
3029
#' \describe{
3130
#' \item{filterGlobally}{whether filter within one ranking applies to all rankings (default: TRUE)}
3231
#' \item{singleSelection}{restrict to single item selection (default: FALSE}
33-
#' \item{noCriteriaLimits}{allow more than one sort and grouping criteria (default: FALSE)}
3432
#' \item{animated}{use animated transitions (default: TRUE)}
3533
#' \item{sidePanel}{show side panel (TRUE, FALSE, 'collapsed') (default: 'collapsed')}
3634
#' \item{hierarchyIndicator}{show sorting and grouping hierarchy indicator (TRUE, FALSE) (default: TRUE)}
@@ -171,7 +169,6 @@ buildTaggle = function(x, width = '100%',
171169
#' \describe{
172170
#' \item{filterGlobally}{whether filter within one ranking applies to all rankings (default: TRUE)}
173171
#' \item{singleSelection}{restrict to single item selection (default: FALSE}
174-
#' \item{noCriteriaLimits}{allow more than one sort and grouping criteria (default: FALSE)}
175172
#' \item{animated}{use animated transitions (default: TRUE)}
176173
#' \item{sidePanel}{show side panel (TRUE, FALSE, 'collapsed') (default: 'collapsed')}
177174
#' \item{hierarchyIndicator}{show sorting and grouping hierarchy indicator (TRUE, FALSE) (default: TRUE)}

README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,6 @@ lineup(iris,
4545
![iris advanced output](https://user-images.githubusercontent.com/4129778/48187839-898c0d00-e33c-11e8-9d4a-360bc35741f4.png)
4646

4747

48-
Builder Pattern
49-
---------------
50-
51-
```R
52-
library(magrittr)
53-
54-
lineupBuilder(iris) %>%
55-
buildLineUp()
56-
```
57-
58-
lineupBuilder(shared_iris) %>% buildLineUp(width = "100%")
59-
60-
6148
Crosstalk Example
6249
-------------
6350

examples/index.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This is a simple example how to include the LineUp [HTMLWidget](http://www.htmlw
1414

1515
```{r libraries}
1616
devtools::install_github("rstudio/crosstalk")
17-
# devtools::install_github("datavisyn/lineup_htmlwidget")
17+
# devtools::install_github("lineupjs/lineup_htmlwidget")
1818
1919
library(crosstalk)
2020
library(lineupjs)

inst/htmlwidgets/dist/LineUpJS.css

Lines changed: 2203 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/htmlwidgets/dist/LineUpJS.css.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

inst/htmlwidgets/dist/LineUpJS.js

Lines changed: 6 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/htmlwidgets/dist/LineUpJS.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

inst/htmlwidgets/lineup.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,6 @@
176176
data = new LineUpJS.LocalDataProvider(rows, that.toCols(x.colnames, x.cols), {
177177
filterGlobally: x.options.filterGlobally,
178178
multiSelection: !x.options.singleSelection,
179-
maxGroupColumns: x.options.noCriteriaLimits ? Infinity : 1,
180-
maxNestedSortingCriteria: x.options.noCriteriaLimits ? Infinity : 1
181179
});
182180
} else {
183181
data.clearColumns();

inst/htmlwidgets/lineup.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: lineupjs
3-
version: 3.2.2
3+
version: 4.0.0
44
src: htmlwidgets/dist
55
script:
66
- LineUpJS.js

0 commit comments

Comments
 (0)