Skip to content

Commit

Permalink
fix: bad leading slash in temp dir path specification
Browse files Browse the repository at this point in the history
May fix an error when reading data on windows
  • Loading branch information
imathews committed Apr 2, 2024
1 parent ed66fae commit 7267a67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
Description: Supports working with Redivis datasets and tables through R.
Expand Down
2 changes: 1 addition & 1 deletion R/api_request.R
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 7267a67

Please sign in to comment.