Skip to content

Commit d59dec9

Browse files
authored
Merge pull request #105 from animint/reference-website-yay
Making the Reference Website Official
2 parents f99ea2c + 7697099 commit d59dec9

File tree

1,082 files changed

+130869
-173
lines changed

Some content is hidden

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

1,082 files changed

+130869
-173
lines changed

.Rbuildignore

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@ data-raw
66
IDEAS.html
77
IDEAS.org
88
inst/examples
9-
README.org
9+
README.md
1010
tableau-notes.org
1111
.*~
1212
intreg-selection
1313
animint-htmltest
1414
ANIMINT_TEST_FOO
1515
test-compiler-gist.R
16-
.httr-oauth
16+
.httr-oauth
17+
^_pkgdown\.yml$
18+
^docs$
19+
^pkgdown$
20+
^\.github$

.github/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
*WorldBank-all*
1010
*ANIMINT_TEST_FOO
1111
*pids.txt
12-
*~
12+
*~

DESCRIPTION

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: animint2
22
Title: Animated Interactive Grammar of Graphics
33
Version: 2023.6.11
4-
URL: https://github.com/tdhock/animint2
5-
BugReports: https://github.com/tdhock/animint2/issues
4+
URL: https://animint.github.io/animint2/
5+
BugReports: https://github.com/animint/animint2/issues
66
Authors@R: c(
77
person("Toby", "Hocking",
88
@@ -49,7 +49,10 @@ Authors@R: c(
4949
comment="Animint2 GSoC 2020"),
5050
person("Yufan", "Fei",
5151
role="aut",
52-
comment="Animint2 GSoC 2022"))
52+
comment="Animint2 GSoC 2022"),
53+
person("Jocelyne", "Chen",
54+
role="aut",
55+
comment="Animint2 GSoC 2023"))
5356
Description: Functions are provided for defining animated,
5457
interactive data visualizations in R code, and rendering
5558
on a web page. The 2018 Journal of Computational and
@@ -274,3 +277,4 @@ Collate:
274277
'z_theme_animint.R'
275278
'z_transformShape.R'
276279
RoxygenNote: 7.2.3
280+
Config/Needs/website: tidyverse/tidytemplate

NEWS renamed to NEWS.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,95 +1,95 @@
1-
Changes in version 2023.6.11
1+
# Changes in 2023.6.11
22

33
- Remove maptools dependency.
44
- split.x -> split_recursive to silence new CRAN check.
55
- setDTthreads(1) in examples for CRAN.
66

7-
Changes in version 2023.3.14
7+
# Changes in 2023.3.14
88

99
- Changes to satisfy CRAN (import is, consistent function args, graphical-units.Rd, rm Fox book URL in stat_ellipse.Rd).
1010
- facet and plot title text size configurable via theme(strip.text, axis.text).
1111

12-
Changes in version 2022.9.14
12+
# Changes in 2022.9.14
1313

1414
- Include Yufan Fei as contributor in DESCRIPTION.
1515

16-
Changes in version 2022.9.14
16+
# Changes in 2022.9.14
1717

1818
- Allow configurable legend/axis text size via theme.
1919

20-
Changes in version 2022.8.31
20+
# Changes in 2022.8.31
2121

2222
- User-configurable selection styles, alpha_off and colour_off.
2323

24-
Changes in version 2022.8.25
24+
# Changes in 2022.8.25
2525

2626
- import data.table, for faster compilation.
2727

28-
Changes in version 2022.5.25
28+
# Changes in 2022.5.25
2929

3030
- Add ability to rotate geom_text labels, following ggplot2's semantics of rotation direction.
3131

32-
Changes in version 2022.5.24
32+
# Changes in 2022.5.24
3333

3434
- Fixed small test regression and set up Github Actions. Neither of these is user facing.
3535

36-
Changes in version 2022.2.2
36+
# Changes in 2022.2.2
3737

3838
- Default x/y axis text size increased to 16px from 11px in animint.js.
3939
- Suggest RColorBrewer to avoid CRAN NOTE "Undeclared package RColorBrewer in Rd xrefs".
4040

41-
Changes in version 2022.1.25
41+
# Changes in 2022.1.25
4242

4343
- Remove geom/stat_boxplot/quantile due to errors from CRAN check.
4444

45-
Changes in version 2020.9.18
45+
# Changes in 2020.9.18
4646

4747
- update moved mcmaster URL in docs.
4848

49-
Changes in version 2020.8.19
49+
# Changes in 2020.8.19
5050

5151
- Move geom-specific code from saveLayer/if-else to Geom$export_animint and pre_process methods in Geom sub-classes.
5252

53-
Changes in version 2020.7.9
53+
# Changes in 2020.7.9
5454

55-
- Using RSelenium Version 1.7.4.
55+
- Using RSelenium 1.7.4.
5656
- Removed Defunct and Redundant code/examples.
5757
- User can test using docker to avoid incompatibility issues.
5858
- imports knitr as knit_print imported in namespace.
5959
- Use new grid::unitType() to determine unit type of margin in pt/points to line conversion.
6060

61-
Changes in version 2020.3.2
61+
# Changes in 2020.3.2
6262

6363
- data.frame(stringsAsFactors=TRUE) in tests.
6464

65-
Changes in version 2019.7.12
65+
# Changes in 2019.7.12
6666

6767
- Added three authors which are mentioned in Rd/R files.
6868

69-
Changes in version 2019.7.3
69+
# Changes in 2019.7.3
7070

7171
- ggsave(file.path(tempdir(), f)) in examples.
7272

73-
Changes in version 2019.7.2
73+
# Changes in 2019.7.2
7474

7575
- animint2dir writes to temp dir rather than user dir during examples/tests.
7676

77-
Changes in version 2019.6.4
77+
# Changes in 2019.6.4
7878

7979
- bugfix for facet_grid(scales/space="free")
8080
- bugfix for update_axes with geom_abline
8181
- bugfix for graph height computation, which only showed up when there were lots of rows in the facet spec.
8282

83-
Changes in version 2018.12.14
83+
# Changes in 2018.12.14
8484

8585
- animint fun, export print method.
8686
- infinite values converted to range min/max before saving tsv files.
8787

88-
Changes in version 2018.10.4
88+
# Changes in 2018.10.4
8989

9090
- DEP: no longer depend on any branch of ggplot2.
9191
- train_layout from ggplot2 - R/panel.r function is now g_train_layout. train_layout from animint2 - R/z_facet.R function is the same. Both are internal functions.
9292

93-
Changes in version 2017.08.24
93+
# Changes in 2017.08.24
9494

9595
- DSL: clickSelects/showSelected are now specified as parameters rather than aesthetics.

README.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Animint2
2+
3+
<a href="https://github.com/tdhock/animint2/actions/workflows/tests.yaml">
4+
<img src="https://github.com/tdhock/animint2/actions/workflows/tests.yaml/badge.svg"
5+
alt="A badge verifying if this package has passed all its tests.">
6+
</a>
7+
<!-- Feel free to change the HTML block above this comment into Markdown. It's just in HTML cuz I couldn't be arsed to figure out how to correctly combine an image and a link in Github-flavored Markdown. -->
8+
9+
10+
11+
## About
12+
13+
Animint2 is an R package for generating and sharing interactive data visualizations, sometimes referred to as animints. It is a fork of, and uses similar syntax to, [ggplot2](https://ggplot2.tidyverse.org/). Animint2 is especially useful for large datasets, but smaller datasets can be made interactive, too. It is also capable of generating static data visualizations.
14+
15+
Play around with this interactive data visualization of [data from the World Bank](https://rcdata.nau.edu/genomic-ml/WorldBank-facets/). For more examples, go to the [animint gallery](https://rcdata.nau.edu/genomic-ml/animint-gallery/).
16+
17+
To learn how to generate your own interactive data visualizations, go to the official [Animint2 Manual](https://rcdata.nau.edu/genomic-ml/animint2-manual/Ch00-preface.html). If you encounter problems, please see the [animint2 wiki](https://github.com/animint/animint2/wiki) or [report them](https://github.com/animint/animint2/issues).
18+
19+
<img src="man/figures/world_bank_screencast.gif" alt="A screencast of an interactive data visualization displaying fertility data from the World Bank. The user types in the selection menu and clicks on the legend, which causes changes in the visualization. GIF."> <!-- If you're familiar with Markdown, you may be wondering why I've elected to use HTML here instead of using the conventional ![alt text](source). It's cuz R's pkgdown package renders the alt text as both alt text and a fig caption. That's redundant. Using <img> ensures that it comes out the way we want. -->
20+
21+
22+
## Installation
23+
24+
``` r
25+
# Install the official package from CRAN.
26+
# This is the option most people should choose:
27+
install.packages("animint2")
28+
29+
# If you want to install the development version:
30+
devtools::install_github("animint/animint2")
31+
```
32+
33+
34+
## Use
35+
36+
Animint2 uses the same implementation of `ggplot2`’s grammar of graphics—with a few additions. If you’re familiar with `ggplot2`, using `animint2` will be easy. If you’re not, no worries. To get started, see the brief [Animint2 Quick Start Guide](vignettes/starter-kit.html) or read the first few chapters of the [Animint2 Manual](https://rcdata.nau.edu/genomic-ml/animint2-manual/Ch00-preface.html).
37+
38+
`animint2` renders and animates data visualizations. It can neither manipulate the datasets you give it nor generate its own data.
39+
40+
41+
## Similar Packages
42+
43+
`animint2` isn’t the only R package that can create animated or interactive data visualizations.
44+
45+
[animation](https://cran.r-project.org/package=animation) and [gganimate](https://cloud.r-project.org/web/packages/gganimate/index.html) can animate changes between variables over time. The [loon](https://cran.r-project.org/package=loon) package specializes in exploratory data analysis. [plotly](https://cran.r-project.org/package=plotly) is probably most similar to animint2 in terms of functionality.
46+
47+
For comparisons between the aforementioned packages and `animint2`, see [the differences wiki page](https://github.com/animint/animint2/wiki/Differences-with-other-packages).
48+
49+
50+
## Problems?
51+
52+
The `animint2` package is a work in progress. If you spot any bugs or unexpected behaviors, please let us know by [reporting it as an issue on GitHub](https://github.com/animint/animint2/issues). Thanks! Have a great day.

README.org

Lines changed: 0 additions & 145 deletions
This file was deleted.

0 commit comments

Comments
 (0)