Skip to content

Commit

Permalink
normalize relative paths so it works on C++ side (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
pachadotdev authored Aug 4, 2024
1 parent 59d4e34 commit 1f83593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/tesseract.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
tesseract <- local({
store <- new.env()
function(language = "eng", datapath = NULL, configs = NULL, options = NULL, cache = TRUE){
datapath <- as.character(datapath)
datapath <- normalizePath(as.character(datapath), mustWork = TRUE)
language <- as.character(language)
configs <- as.character(configs)
options <- as.list(options)
Expand Down

0 comments on commit 1f83593

Please sign in to comment.