Specifies path to one of the data files in the package
ascii_data(file)
file | Name of file as a character string |
---|
Path to file as a character string
This is a convenience function that returns the path to one of the external data files bundled in the asciify package. There are only four such files: "bayes.png", "unicorn.png", "heart.jpg", "rain.html"
ascii_data("bayes.png")#> [1] "/home/danielle/GitHub/fun/asciify/inst/extdata/bayes.png"ascii_data("unicorn.png")#> [1] "/home/danielle/GitHub/fun/asciify/inst/extdata/unicorn.png"ascii_data("heart.jpg")#> [1] "/home/danielle/GitHub/fun/asciify/inst/extdata/heart.jpg"ascii_data("rain.html")#> [1] "/home/danielle/GitHub/fun/asciify/inst/extdata/rain.html"