kitten: Download a kitten

Description Usage Arguments Value Examples

View source: R/placekitten.R

Description

Download a kitten picture from placekitten.com

Usage

1
kitten(width, height, destfile = tempfile("kitten", fileext = ".jpg"), ...)

Arguments

width

Width, in pixels

height

Height, in pixels

destfile

File to save into. By default this is a temporary file with an extension ".jpg"

...

Additional parameters passed through to download.file.

Value

The filename saved in (useful when using the default destfile

Examples

1
stegasaur::kitten(200, 200)

richfitz/stegasaur documentation built on Feb. 12, 2021, 1:41 a.m.