Create a temporary subdirectory in tempdir().

tempdir2(sub)

Arguments

sub

Character string, length 1. Can be a result of file.path("smth", "smth2") for nested temporary sub directories.