-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.qmd
162 lines (129 loc) · 4.76 KB
/
index.qmd
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
---
pagetitle: "tesselle: R Packages & Archaeology"
resources:
- "packages.json"
---
::: {#front-page}
::: {#first .column-screen}
::: {.grid .column-page .band}
::: {.g-col-lg-6 .g-col-12 .g-col-md-12}
::: {.hex-badges}
<a href="https://packages.tesselle.org/tabula/">
<div class=""></div>
<img src="images/tabula.png" alt="tabula hex sticker" class="r1 c0">
</a>
<a href="https://packages.tesselle.org/nexus/">
<div class="filtered r2 c0"></div>
<img src="images/nexus.png" alt="nexus hex sticker" class="r2 c0">
</a>
<a href="https://packages.tesselle.org/khroma/">
<div class="filtered r3 c0"></div>
<img src="images/khroma.png" alt="khroma hex sticker" class="r3 c0">
</a>
<a href="https://packages.tesselle.org/dimensio/">
<div class="filtered r2 c1"></div>
<img src="images/dimensio.png" alt="dimensio hex sticker" class="r2 c1">
</a>
<a href="https://packages.tesselle.org/aion/">
<div class="filtered r3 c1"></div>
<img src="images/aion.png" alt="aion hex sticker" class="r3 c1">
</a>
<a href="https://packages.tesselle.org/folio/">
<div class="filtered r4 c1"></div>
<img src="images/folio.png" alt="folio hex sticker" class="r4 c1">
</a>
<a href="https://packages.tesselle.org/isopleuros/">
<div class="filtered r4 c1"></div>
<img src="images/isopleuros.png" alt="isopleuros hex sticker" class="r4 c2">
</a>
<a href="https://packages.tesselle.org/kairos/">
<div class="filtered r2 c1"></div>
<img src="images/kairos.png" alt="kairos hex sticker" class="r2 c2">
</a>
<a href="https://packages.tesselle.org/alkahest/">
<div class="filtered r3 c1"></div>
<img src="images/alkahest.png" alt="alkahest hex sticker" class="r3 c2">
</a>
:::
:::
::: {.g-col-lg-6 .g-col-12 .g-col-md-12}
[R Packages & Archaeology]{.tagline}
**tesselle** is a collection of [R](https://www.r-project.org/) packages for research and teaching in archaeology. These packages are designed to work seamlessly together and to complement general-purpose and other specialized statistical packages.
:::
:::
:::
::: {#second .column-screen}
::: {.grid .column-page .band}
::: {.g-col-lg-6 .g-col-12 .g-col-md-12}
[Archaeological Data]{.tagline}
The **tesselle** [packages](https://packages.tesselle.org) focus on quantitative analysis methods developed for archaeology.
They can be used to explore and analyze common data types in archaeology: count data, compositional data and chronological data.
Install the complete suite with:
```r
install.packages("tesselle")
```
:::
::: {.g-col-lg-6 .g-col-12 .g-col-md-12}
::: {.event}
<div class="eventTitle">[Transparency]{.tagline}</div>
<div class="eventDetails">All packages are distributed under a free license, publicly maintained, with source code accessible and versioned.</div>
:::
::: {.event}
<div class="eventTitle">[Reliability]{.tagline}</div>
<div class="eventDetails">All packages undergo rigorous testing and code coverage. Most of them are distributed on <abbr title="Comprehensive R Archive Network">CRAN</abbr>, which implies adherence to stringent standards.</div>
:::
:::
:::
:::
::: {#third}
::: {.grid .column-page .band}
::: {.g-col-lg-6 .g-col-12 .g-col-md-12}
[Find a bug?]{.tagline}
Report a bug or request on [GitHub <i class="bi bi-github" aria-hidden="true"></i>](https://github.com/tesselle/).
:::
::: {.g-col-lg-6 .g-col-12 .g-col-md-12}
[Read the doc]{.tagline}
```{r, echo=FALSE}
## Get packages info
pkg <- c("aion", "alkahest", "ananke", "arkhe", "dimensio", "folio",
"isopleuros", "kairos", "khroma", "nexus", "tabula", "tesselle")
url_pkg <- sprintf("https://packages.tesselle.org/%s", pkg)
## Build search index
search_pkg <- list()
for (i in seq_along(url_pkg)) {
path <- url_pkg[[i]]
tmp <- try(
expr = rjson::fromJSON(file = paste0(path, "/search.json")),
silent = TRUE
)
if (!inherits(tmp, "try-error")) {
for (j in seq_along(tmp)) {
## Add package name
tmp[[j]]$package <- pkg[[i]]
}
search_pkg <- c(search_pkg, tmp)
}
}
cat(rjson::toJSON(search_pkg), file = "packages.json", append = FALSE)
```
Quickly discover relevant content by searching the documentation or exploring the [project bibliography](https://www.zotero.org/groups/2894473/tesselle/library).
```{=html}
<form role="search">
<div class="form-group">
<label for="search-packages" class="form-label">Search in the documentation:</label>
<input type="search" class="form-control" aria-label="Search" name="search-packages" data-search-index="/packages.json" id="search-packages" placeholder="e.g. seriation" autocomplete="off">
</div>
</form>
```
:::
:::
:::
:::
```{=html}
<!-- JQuery -->
<script src="scripts/jquery-3.7.0.min.js"></script>
<!-- Search -->
<script src="scripts/fuse-6.6.2.min.js"></script>
<script src="scripts/autocomplete-0.38.1.min.js"></script>
<script src="scripts/packages.js"></script>
```