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

Reduce demo outputs gif size #122

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: a11ytables
Title: Create Spreadsheet Publications Following Best Practice
Version: 0.3
Version: 0.3.0.9001
Authors@R: c(
person(given = "Matt", family = "Dray", role = c("aut", "cre"), email = "mwdray@gmail.com"),
person(given = "Tim", family = "Taylor", role = "ctb"),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# a11ytables 0.3.0.9001

* Reduce gif file size, include additional frame (#121).

# a11ytables 0.3.0

## Breaking changes
Expand Down
44 changes: 22 additions & 22 deletions a11ytables.Rproj
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
Version: 1.0
RestoreWorkspace: No
SaveWorkspace: No
AlwaysSaveHistory: Default
EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8
RnwWeave: Sweave
LaTeX: pdfLaTeX
AutoAppendNewline: Yes
StripTrailingWhitespace: Yes
LineEndingConversion: Posix
BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageRoxygenize: rd,collate,namespace
Version: 1.0

RestoreWorkspace: No
SaveWorkspace: No
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX

AutoAppendNewline: Yes
StripTrailingWhitespace: Yes
LineEndingConversion: Posix

BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageRoxygenize: rd,collate,namespace
10 changes: 3 additions & 7 deletions data-raw/gif-vignette-workbook.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,10 @@ image_paths <- list.files(
img_cover <- image_read(image_paths[1])
img_contents <- image_read(image_paths[2])
img_notes <- image_read(image_paths[3])
img_table <- image_read(image_paths[4])
img_table_1 <- image_read(image_paths[4])
img_table_2 <- image_read(image_paths[4])

images <- c(
img_cover,
img_contents,
img_notes,
img_table
)
images <- c(img_cover, img_contents, img_notes, img_table_1, img_table_2)

animation <- image_animate(images, fps = 1, dispose = "previous")

Expand Down
Binary file removed man/figures/screenshot-1.png
Binary file not shown.
Binary file removed man/figures/screenshot-2.png
Binary file not shown.
Binary file removed man/figures/screenshot-3.png
Binary file not shown.
Binary file removed man/figures/screenshot-4.png
Binary file not shown.
Binary file removed man/figures/screenshot-5.png
Binary file not shown.
Binary file modified man/figures/vignette-workbook.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.