shuffleShirts: Choose my shirts

Description Usage Arguments Details Value

Description

Choose which shirt I will wear each weekday

Usage

1
2
shuffleShirts(rawShirts = system.file("rawShirts", package = "shirtshufflr"),
  output = file.path(tempdir(), "shuffledShirts"))

Arguments

rawShirts

file path to raw shirt files

output

file path for output files

Details

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.

Value

character vector of shirt order filenames


anhinton/shirtshufflr documentation built on May 6, 2019, 1:30 a.m.