Description Usage Arguments Details Value
Choose which shirt I will wear each weekday
1 2 | shuffleShirts(rawShirts = system.file("rawShirts", package = "shirtshufflr"),
output = file.path(tempdir(), "shuffledShirts"))
|
rawShirts |
file path to raw shirt files |
output |
file path for output files |
Raw shirt patterns are found in the directory given by
rawShirts
. This function randomly selects 5 of the patterns,
and copies files names for each weekday into the directory given by
output
. Just open the image for each day of the week to
find your shirt surprise.
You can have as many shirts as you like in ‘rawShirts’, but you should probably have at least five or the sample will fail.
This function also assumes your shirt images are JPG files, so probably just make sure they are JPG files.
character vector of shirt order filenames
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.