forked from iNZightVIT/addons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
60 lines (44 loc) · 1.34 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
# iNZight Addons
Below is a list of available addons for iNZight.
```{r, echo = FALSE}
source('create_index.R')
tbl <- create_index()
MIN_VERSION <- ifelse(Sys.getenv("GITHUB_REF") == "refs/heads/master", 1, 0)
tbl <- tbl[tbl$Version >= numeric_version(MIN_VERSION), ]
tbl$Version <- as.character(tbl$Version)
if (nrow(tbl)) {
write.dcf(tbl, "addons.txt")
knitr::kable(tbl[, -5], row.names = FALSE)
} else {
cat("", file = "addons.txt")
cat("No addons are currently available.\n")
}
```
<!--
BRANCH: `r Sys.getenv("GITHUB_REF")`
MINVERSION: `r MIN_VERSION`
-->
To install, download the file and install it from within iNZight:
- Open the __Advanced__ menu
- Choose __Manage modules__
- Click the __Browse__ button to locate the addon file
- Click __Install__
You can also __remove modules__ from __Manage modules__.
## Manual installation
To install addons manually, simply download the raw R file
and place it in your modules folder:
- Windows: `My Documents\iNZightVIT\modules`
- macOS: `Documents/iNZightVIT/modules`
- Linux: probably `~/Documents/iNZightVIT/modules`
## Making your own
To make your own, simply grab the `DemoModule.R` file and modify!