Releases: jmablog/tinieR
tinieR 0.5.0
- Added petit_plot() and petit_ggplot() functions to allow saving plots and automatically tinify the image files produced. See the new saving plots vignette for more details.
tinieR 0.4.4
- Now uses the cli package to provide nicer console messages.
- Updated internals.
- Can no longer just set any option in tinify_defaults() to NULL to reset to package defaults as this could be unclear. See the vignette “Setting default options” for full details on changing and resetting default options with tinify_defaults().
tinieR 0.4.3
There is now the option set project defaults with a tinify.yml
file in the project root directory, and image dimensions are now reported in success messages when resize
argument is used.
tinieR 0.4.2
Names of options set by tinify_defaults()
are updated to match convention. TinieR now also removes all options set by tinify_defaults()
on unloading of package. There are also some fixes to some file path errors in return_path
that should work better across all platforms.
tinieR 0.4.1
Modified behaviour of tinify_defaults()
: now prints changes made to the console, and if called without any arguments, prints all current default settings.
tinieR 0.4.0
Tinier now has the option to set your own file suffix, return the path to the newly tinified file in relation to the project root, and set your own default options for tinify.
tinieR 0.3.0
Tinify now displays file size reductions messages by default, deprecating the 'details' argument and replacing it with the option to instead suppress messages with 'quiet = TRUE'.
tinieR 0.2.0
This update adds the 'resize' option, to make use of the TinyPNG API's ability to also resize an images dimensions alongside shrinking its file size. It also adds an option to return the file path of the newly tinified file as either a relative path, absolute path, or both in a list.