Skip to content

Commit

Permalink
normalize relative paths so it works on C++ side
Browse files Browse the repository at this point in the history
  • Loading branch information
pachadotdev committed Aug 4, 2024
1 parent 9131570 commit bf8d9ef
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 bf8d9ef

Please sign in to comment.