From 7267a670520010553667c1c602c9cf44fd2905ee Mon Sep 17 00:00:00 2001 From: Ian Mathews Date: Tue, 2 Apr 2024 16:56:25 -0700 Subject: [PATCH] fix: bad leading slash in temp dir path specification May fix an error when reading data on windows --- DESCRIPTION | 2 +- R/api_request.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index d36e1d1..e69c145 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: redivis Type: Package Title: R interface for Redivis -Version: 0.6.10 +Version: 0.6.11 Author: Redivis Inc. Maintainer: Redivis Description: Supports working with Redivis datasets and tables through R. diff --git a/R/api_request.R b/R/api_request.R index 71b4065..1a93eef 100644 --- a/R/api_request.R +++ b/R/api_request.R @@ -357,7 +357,7 @@ make_rows_request <- function(uri, max_results=NULL, selected_variable_names = N return(reader) } - folder <- str_interp('/${tempdir()}/redivis/tables/${uuid::UUIDgenerate()}') + folder <- str_interp('${tempdir()}/redivis/tables/${uuid::UUIDgenerate()}') dir.create(folder, recursive = TRUE) if (type != 'arrow_dataset'){ on.exit(unlink(folder))