Skip to content

Commit f64178f

Browse files
authored
Merge pull request #4 from sgratzl/master
migrate to lineupjs
2 parents 7f9534c + 8926ed7 commit f64178f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+2910
-32799
lines changed

.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
8+
[*]
9+
10+
# Change these settings to your own preference
11+
indent_style = space
12+
indent_size = 2
13+
14+
# We recommend you to keep these unchanged
15+
end_of_line = lf
16+
charset = utf-8
17+
trim_trailing_whitespace = true
18+
insert_final_newline = true
19+
20+
[*.md]
21+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
# These settings are for any web project
2+
3+
# Handle line endings automatically for files detected as text
4+
# and leave all files detected as binary untouched.
5+
* text=auto
6+
7+
#
8+
# The above will handle all files NOT found below
9+
#
10+
11+
#
12+
## These files are text and should be normalized (Convert crlf => lf)
13+
#
14+
15+
# source code
16+
*.php text
17+
*.css text
18+
*.sass text
19+
*.scss text
20+
*.less text
21+
*.styl text
22+
*.js text
23+
*.ts text
24+
*.coffee text
25+
*.json text
26+
*.htm text
27+
*.html text
28+
*.xml text
29+
*.txt text
30+
*.ini text
31+
*.inc text
32+
*.pl text
33+
*.rb text
34+
*.py text
35+
*.scm text
36+
*.sql text
37+
*.sh text eof=LF
38+
*.bat text
39+
40+
# templates
41+
*.hbt text
42+
*.jade text
43+
*.haml text
44+
*.hbs text
45+
*.dot text
46+
*.tmpl text
47+
*.phtml text
48+
49+
# server config
50+
.htaccess text
51+
52+
# git config
53+
.gitattributes text
54+
.gitignore text
55+
56+
# code analysis config
57+
.jshintrc text
58+
.jscsrc text
59+
.jshintignore text
60+
.csslintrc text
61+
62+
# misc config
63+
*.yaml text
64+
*.yml text
65+
.editorconfig text
66+
67+
# build config
68+
*.npmignore text
69+
*.bowerrc text
70+
Dockerfile text eof=LF
71+
72+
# Heroku
73+
Procfile text
74+
.slugignore text
75+
76+
# Documentation
77+
*.md text
78+
LICENSE text
79+
AUTHORS text
80+
81+
82+
#
83+
## These files are binary and should be left untouched
84+
#
85+
86+
# (binary is a macro for -text -diff)
87+
*.png binary
88+
*.jpg binary
89+
*.jpeg binary
90+
*.gif binary
91+
*.ico binary
92+
*.mov binary
93+
*.mp4 binary
94+
*.mp3 binary
95+
*.flv binary
96+
*.fla binary
97+
*.swf binary
98+
*.gz binary
99+
*.zip binary
100+
*.7z binary
101+
*.ttf binary
102+
*.pyc binary
103+
*.pdf binary
104+
105+
# Source files
106+
# ============
107+
*.pxd text
108+
*.py text
109+
*.py3 text
110+
*.pyw text
111+
*.pyx text
112+
*.sh text eol=lf
113+
*.json text
114+
115+
# Binary files
116+
# ============
117+
*.db binary
118+
*.p binary
119+
*.pkl binary
120+
*.pyc binary
121+
*.pyd binary
122+
*.pyo binary
123+
124+
# Note: .db, .p, and .pkl files are associated
125+
# with the python modules ``pickle``, ``dbm.*``,
126+
# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
127+
# (among others).

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.Rproj.user
22
.Rhistory
33
.RData
4+
examples/*.html

DESCRIPTION

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
Package: lineup
2-
Title: What the Package Does (one line, title case)
3-
Version: 0.0.0.9000
4-
Authors@R: person("First", "Last", email = "[email protected]", role = c("aut", "cre"))
5-
Description: What the package does (one paragraph).
2+
Type: Package
3+
Title: HTMLWidget wrapper of LineUp for Visual Analysis of Multi-Attribute Rankings
4+
Description: LineUp is an interactive technique designed to create, visualize and explore rankings of items based on a set of heterogeneous attributes. This is a htmlwidget wrapper around the JavaScript library LineUp.js.
5+
Version: 3.0.1.2
6+
Date: 2018-02-08
7+
Authors@R: person("Samuel", "Gratzl", email = "[email protected]", role = c("aut", "cre"))
8+
Maintainer: Samuel Gratzl <[email protected]>
9+
URL: https://github.com/sgratzl/lineup_htmlwidget/
10+
BugReports: https://github.com/sgratzl/lineup_htmlwidget/issues
611
Depends: R (>= 3.2.0)
7-
License: What license is it under?
12+
License: MIT
813
Encoding: UTF-8
14+
Imports:
15+
htmlwidgets,
16+
htmltools,
17+
crosstalk
918
LazyData: true
19+
RoxygenNote: 6.0.1

LICENSE

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
1-
Copyright (c) 2016, The Caleydo Team
2-
All rights reserved.
1+
MIT License
32

4-
Redistribution and use in source and binary forms, with or without modification,
5-
are permitted provided that the following conditions are met:
3+
Copyright (c) 2018 Samuel Gratzl
64

7-
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
811

9-
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
1014

11-
Neither the name of the Caleydo Software nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
12-
13-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
14-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
15-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
16-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
17-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
18-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
19-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
20-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
22-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

NAMESPACE

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
# Generated by roxygen2: fake comment so roxygen2 overwrites silently.
2-
exportPattern("^[^\\.]")
1+
# Generated by roxygen2: do not edit by hand
2+
3+
export(lineup)
4+
export(lineupOutput)
5+
export(lineupRanking)
6+
export(renderLineup)
7+
export(renderTaggle)
8+
export(taggle)

0 commit comments

Comments
 (0)