From 4bc225db832c588438d8dc273841f6e61344fc4f Mon Sep 17 00:00:00 2001 From: Matt Dray <18232097+matt-dray@users.noreply.github.com> Date: Fri, 10 Oct 2025 19:44:46 +0100 Subject: [PATCH] Use tempfile in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b7108c8..bdb9669 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ Note how you call each function independently, much like writing base plots. ```r # Somewhere to save it -temp_path <- "~/Desktop/hexbase.png" +temp_path <- tempfile(fileext = ".png") # Bring your own image image_path <- system.file("img", "Rlogo.png", package = "png")