Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making the Reference Website Official #105

Merged
merged 148 commits into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
a1d61a9
adding documentation re: website setup
ampurr Jun 28, 2023
ea98afc
generate markdown README
ampurr Jun 28, 2023
4a786ce
generated preliminary site via pkgdown
ampurr Jun 30, 2023
c2335c2
update links in DESCRIPTION
ampurr Jun 30, 2023
90f7219
from http to https :>
ampurr Jun 30, 2023
9cf834e
Merge pull request #99 from animint/main-delete-later-from-ampurr
ampurr Jul 1, 2023
18d91d9
replacing 8 y/o world bank screencast gif
ampurr Jul 1, 2023
397d4b9
created vignettes folder & added website_setup to it
ampurr Jul 18, 2023
f3722f8
quick start guide draft complete
ampurr Jul 19, 2023
1e0ee11
delete old README.md
ampurr Jul 20, 2023
408b789
first draft of README.qmd
ampurr Jul 20, 2023
2828817
generated github-flavored README.md
ampurr Jul 20, 2023
f4c7926
wip website_setup
ampurr Jul 21, 2023
1b28bed
wip website_setup 2
ampurr Jul 24, 2023
b869c4f
_pkgdown.yml draft w/ reorganized animint2 functions
ampurr Jul 24, 2023
42fd010
fixed whitespace typo & changed desc to longform
ampurr Jul 26, 2023
740981d
fixed topic mis-writes
ampurr Jul 28, 2023
3c1dc85
added all topics to list
ampurr Aug 1, 2023
44ff558
rearranged topics + wrote descriptions for all of them
ampurr Aug 4, 2023
ab72c6b
removed last empty line from _pkgdown.yml
ampurr Aug 7, 2023
ffa335a
removed comments for the translate_ functions
ampurr Aug 7, 2023
46c0182
tell gitignore to stop ignoring html files
ampurr Aug 7, 2023
a952c91
delete /.github + all workflow stuff
ampurr Aug 7, 2023
a6ef89e
fixed typo in _pkgdown.yml
ampurr Aug 7, 2023
402acb9
remove docs from .gitignore
ampurr Aug 7, 2023
b809ee7
upload docs to github
ampurr Aug 7, 2023
f85be54
moved screencast to /docs
ampurr Aug 7, 2023
065d600
minor changes to docs/ output
ampurr Aug 8, 2023
04b90b0
last built indicator changed in pkgdown.yml
ampurr Aug 8, 2023
d0bac27
Revert "last built indicator changed in pkgdown.yml"
ampurr Aug 8, 2023
718afa7
website_setup continues to be wip
ampurr Aug 8, 2023
4c9c275
revert deletion of .github
ampurr Aug 8, 2023
32eafc0
get rid of pkgdown github workflow
ampurr Aug 8, 2023
a91e1ae
let .github/.gitignore continue to ignore html files
ampurr Aug 8, 2023
a31d1fb
re-rendered website
ampurr Aug 8, 2023
6723f03
removed separate lines from each paragraph of the README
ampurr Aug 10, 2023
cf1dc9b
minor changes to the alt txt
ampurr Aug 10, 2023
97d1a82
replaced [alt txt](source) w/ <img>
ampurr Aug 10, 2023
e1a92b4
made man/figures/ folder + put screencast there
ampurr Aug 10, 2023
dd0ab9f
re-rendered website
ampurr Aug 10, 2023
eb84f21
fixed README comment
ampurr Aug 10, 2023
cd2b5c8
Delete README.org & README.qmd
ampurr Aug 10, 2023
71a8970
added the badge back to the README
ampurr Aug 12, 2023
8c34dbf
added css modifications to site
ampurr Aug 12, 2023
d70d918
increased font size
ampurr Aug 12, 2023
5a589f3
re-rendered website w/ css changes
ampurr Aug 12, 2023
187c86d
remove pink link color for code + nav bar
ampurr Aug 14, 2023
20937c7
made a css mistake re: link colors. fixed.
ampurr Aug 14, 2023
7ec2ab0
re-rendered website
ampurr Aug 14, 2023
fe01093
minor changes to comments in css
ampurr Aug 14, 2023
f055891
minor changes to hard line breaks in _pkgdown.yml
ampurr Aug 14, 2023
030f005
changing the website's typefaces/fonts
ampurr Aug 14, 2023
4043cd7
re-render home page
ampurr Aug 14, 2023
59cbf82
minor whitespace changes in css file
ampurr Aug 14, 2023
8a34a37
css: make codeblock font size smaller
ampurr Aug 14, 2023
af06d67
re-render homepage
ampurr Aug 14, 2023
7bcf572
updates to website_setup
ampurr Aug 15, 2023
7af98f0
changes to side column's headings etc
ampurr Aug 15, 2023
d7099fe
removed roboto as font
ampurr Aug 15, 2023
dc5beeb
re-render website
ampurr Aug 15, 2023
d6cffe2
delete code chunks in vignette
ampurr Aug 16, 2023
96ec10b
renamed quick-start so that it would show up as get started
ampurr Aug 17, 2023
b25d375
re-rendered website
ampurr Aug 17, 2023
e4edae2
css: increase spacing between animints & paragraphs
ampurr Aug 17, 2023
489ff2a
css file: minor spacing changes
ampurr Aug 17, 2023
e03bb2e
re-render website
ampurr Aug 17, 2023
0b6b91f
fixed typo in css file
ampurr Aug 17, 2023
e4b5a7f
added annotated comments to quick start guide
ampurr Aug 17, 2023
fca9e88
wrote the css that makes the comment annotations look right
ampurr Aug 17, 2023
9c7f66f
changed ordered list to data list in quick start
ampurr Aug 18, 2023
6a1c702
make <dl> look like code annotations
ampurr Aug 18, 2023
b7d879b
re-rendered website
ampurr Aug 18, 2023
6de8d2b
fixed typos in quick start + css file
ampurr Aug 18, 2023
3360655
Revert "re-rendered website" -- need to fix typos
ampurr Aug 18, 2023
b93d368
replaced child combinator w/ descendent combinator
ampurr Aug 18, 2023
1564ded
re-rendered website -- code annotation in codeblock wks!
ampurr Aug 18, 2023
d766565
switched back to <ol> & adjusted appearance
ampurr Aug 18, 2023
8728987
re-render website
ampurr Aug 18, 2023
f8f17cc
get rid of unneeded code chunk files
ampurr Aug 18, 2023
3ec5754
removed website_setup html file
ampurr Aug 22, 2023
f644f19
moved & renamed website_setup
ampurr Aug 22, 2023
45b1ea6
major edits to website maintenance file
ampurr Aug 22, 2023
4288f99
changed the file name to readme_website
ampurr Aug 22, 2023
8356636
converted NEWS to a md file & made minor changes
ampurr Aug 22, 2023
ab79b3b
minor typo fix for readme_website
ampurr Aug 22, 2023
c4f8e44
removed cran dates from changelog
ampurr Aug 22, 2023
87ff7bf
re-rendered website, this time w/ changelog
ampurr Aug 22, 2023
dfb1c4d
quick start: removed geom_smooth stuff
ampurr Aug 24, 2023
ae38252
quick start: edit code chunk 3 ⬇️
ampurr Aug 24, 2023
8b217b8
quick start: removed pipes from other chunks
ampurr Aug 24, 2023
b3f5f4e
quick start: added code chunk w/ dataset & aesthetics in the geom
ampurr Aug 24, 2023
08934ee
quick start: moved data & aes inside geom
ampurr Aug 24, 2023
b45fb26
added key argument to a code chunk
ampurr Aug 24, 2023
d370c75
quick start: added key argument... correctly this time
ampurr Aug 24, 2023
4208f54
quick start: added alt text to sole static graph
ampurr Aug 24, 2023
fc32ea8
re-render site for quick start guide
ampurr Aug 24, 2023
44b2c76
replaced js files
ampurr Aug 24, 2023
1d639bc
re-rendered website + code chunk js
ampurr Aug 24, 2023
6340638
quick start: rewrote intro
ampurr Aug 25, 2023
19fa6f3
quick start: create a lil datasets section
ampurr Aug 25, 2023
6369014
quick start: thorough rewriting of the anatomy chapter +
ampurr Aug 25, 2023
454dc4b
quick start: rewrite of making animints etc
ampurr Aug 25, 2023
844c269
updated css to address new codeblocks w comments
ampurr Aug 25, 2023
d6a4ac2
quick start: more modifications to the txt
ampurr Aug 25, 2023
008554e
re-render site
ampurr Aug 25, 2023
68c7f10
more finetuning of the css
ampurr Aug 25, 2023
363ba6d
fixed typos in quick start guide
ampurr Aug 25, 2023
a599c76
minor change to css
ampurr Aug 25, 2023
edc24ba
quick start: fixed page-breaking typos in <ol>
ampurr Aug 25, 2023
98afcbb
quick start: converted all ^[] footnotes to [^]
ampurr Aug 25, 2023
1de097e
css: minor typo for spacing fixed
ampurr Aug 25, 2023
323ee7f
re-rendered website
ampurr Aug 25, 2023
4f8e04b
quick start: fixed page-breaking typos
ampurr Aug 25, 2023
6d67c70
quick start: more typo hunting
ampurr Aug 25, 2023
47dfc07
major changes to quick start ⬇️
ampurr Aug 26, 2023
198f037
quick start: save generated files in correct directory
ampurr Aug 26, 2023
a175006
removed generated animints for testing
ampurr Aug 26, 2023
b80c2f6
adjusted css so it'll target the right parts
ampurr Aug 26, 2023
73c05f3
re-adjusted css
ampurr Aug 26, 2023
8bf957b
quick start: removed opts_chunk$set
ampurr Aug 26, 2023
7a089f0
re-render site
ampurr Aug 26, 2023
58da949
added popper lib to make footnote popovers wk
ampurr Aug 26, 2023
0864f80
re-render site
ampurr Aug 26, 2023
64034c3
quick start: remove js popper
ampurr Aug 26, 2023
3794ded
add extra.js file w/ popper stuff
ampurr Aug 26, 2023
aeae42f
re-rendered site
ampurr Aug 26, 2023
2def13c
Delete extra.js
ampurr Aug 26, 2023
b7e272d
quick start: replaced md footnotes w/ manual html ones
ampurr Aug 26, 2023
d26679d
changed footnote appearance + whitespace changes in file
ampurr Aug 26, 2023
65534d9
css: minor change w/ comments
ampurr Aug 26, 2023
ea0f072
re-rendered website
ampurr Aug 26, 2023
a3ba6d3
quick start: edits & clean up
ampurr Aug 27, 2023
d9733e9
re-rendered website
ampurr Aug 27, 2023
1a514e2
added ampurr to DESCRIPTION
ampurr Aug 27, 2023
4eb1193
fixed typo in DESCRIPTION
ampurr Aug 27, 2023
00e1df9
added aside css + modified comments
ampurr Aug 29, 2023
b5e171c
css: commented-out border radius
ampurr Aug 29, 2023
e68f0f1
css improvements to aside
ampurr Aug 29, 2023
a73a817
quick start: cleared up wording on aside
ampurr Aug 29, 2023
f6e07b9
quick start: removed "advanced" from h2
ampurr Aug 29, 2023
3ac23a0
added fox emoji to aside for ff users
ampurr Aug 29, 2023
1153425
quick start: updated names of plots -- removed nums
ampurr Aug 29, 2023
6beb3dc
quick start: updated conclusion w/ animint2 manual link
ampurr Aug 29, 2023
d85561e
quick start: removed some labs(title) + fixed typo
ampurr Aug 30, 2023
8441d62
re-rendered website
ampurr Aug 30, 2023
4ed2474
whoops -- forgot css class for aside
ampurr Aug 30, 2023
ce89842
re-rendered website (again) 😅
ampurr Aug 30, 2023
7697099
.Rbuildignore: swapped README.org for README.md
ampurr Sep 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 6 additions & 2 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ data-raw
IDEAS.html
IDEAS.org
inst/examples
README.org
README.md
tableau-notes.org
.*~
intreg-selection
animint-htmltest
ANIMINT_TEST_FOO
test-compiler-gist.R
.httr-oauth
.httr-oauth
^_pkgdown\.yml$
^docs$
^pkgdown$
^\.github$
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
*WorldBank-all*
*ANIMINT_TEST_FOO
*pids.txt
*~
*~
10 changes: 7 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: animint2
Title: Animated Interactive Grammar of Graphics
Version: 2023.6.11
URL: https://github.com/tdhock/animint2
BugReports: https://github.com/tdhock/animint2/issues
URL: https://animint.github.io/animint2/
BugReports: https://github.com/animint/animint2/issues
Authors@R: c(
person("Toby", "Hocking",
email="toby.hocking@r-project.org",
Expand Down Expand Up @@ -49,7 +49,10 @@ Authors@R: c(
comment="Animint2 GSoC 2020"),
person("Yufan", "Fei",
role="aut",
comment="Animint2 GSoC 2022"))
comment="Animint2 GSoC 2022"),
person("Jocelyne", "Chen",
role="aut",
comment="Animint2 GSoC 2023"))
Description: Functions are provided for defining animated,
interactive data visualizations in R code, and rendering
on a web page. The 2018 Journal of Computational and
Expand Down Expand Up @@ -274,3 +277,4 @@ Collate:
'z_theme_animint.R'
'z_transformShape.R'
RoxygenNote: 7.2.3
Config/Needs/website: tidyverse/tidytemplate
44 changes: 22 additions & 22 deletions NEWS → NEWS.md
Original file line number Diff line number Diff line change
@@ -1,95 +1,95 @@
Changes in version 2023.6.11
# Changes in 2023.6.11

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

Changes in version 2023.3.14
# Changes in 2023.3.14

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

Changes in version 2022.9.14
# Changes in 2022.9.14

- Include Yufan Fei as contributor in DESCRIPTION.

Changes in version 2022.9.14
# Changes in 2022.9.14

- Allow configurable legend/axis text size via theme.

Changes in version 2022.8.31
# Changes in 2022.8.31

- User-configurable selection styles, alpha_off and colour_off.

Changes in version 2022.8.25
# Changes in 2022.8.25

- import data.table, for faster compilation.

Changes in version 2022.5.25
# Changes in 2022.5.25

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

Changes in version 2022.5.24
# Changes in 2022.5.24

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

Changes in version 2022.2.2
# Changes in 2022.2.2

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

Changes in version 2022.1.25
# Changes in 2022.1.25

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

Changes in version 2020.9.18
# Changes in 2020.9.18

- update moved mcmaster URL in docs.

Changes in version 2020.8.19
# Changes in 2020.8.19

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

Changes in version 2020.7.9
# Changes in 2020.7.9

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

Changes in version 2020.3.2
# Changes in 2020.3.2

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

Changes in version 2019.7.12
# Changes in 2019.7.12

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

Changes in version 2019.7.3
# Changes in 2019.7.3

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

Changes in version 2019.7.2
# Changes in 2019.7.2

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

Changes in version 2019.6.4
# Changes in 2019.6.4

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

Changes in version 2018.12.14
# Changes in 2018.12.14

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

Changes in version 2018.10.4
# Changes in 2018.10.4

- DEP: no longer depend on any branch of ggplot2.
- 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.

Changes in version 2017.08.24
# Changes in 2017.08.24

- DSL: clickSelects/showSelected are now specified as parameters rather than aesthetics.
52 changes: 52 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Animint2

<a href="https://github.com/tdhock/animint2/actions/workflows/tests.yaml">
<img src="https://github.com/tdhock/animint2/actions/workflows/tests.yaml/badge.svg"
alt="A badge verifying if this package has passed all its tests.">
</a>
<!-- 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. -->



## About

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.

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/).

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).

<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. -->


## Installation

``` r
# Install the official package from CRAN.
# This is the option most people should choose:
install.packages("animint2")

# If you want to install the development version:
devtools::install_github("animint/animint2")
```


## Use

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).

`animint2` renders and animates data visualizations. It can neither manipulate the datasets you give it nor generate its own data.


## Similar Packages

`animint2` isn’t the only R package that can create animated or interactive data visualizations.

[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.

For comparisons between the aforementioned packages and `animint2`, see [the differences wiki page](https://github.com/animint/animint2/wiki/Differences-with-other-packages).


## Problems?

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.
145 changes: 0 additions & 145 deletions README.org

This file was deleted.

Loading
Loading