File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,10 @@ if (!file.exists("../windows/tesseract/include/tesseract/baseapi.h")) {
44 " https://github.com/pachadotdev/cpp11bundles/releases/download/tesseract-5.3.2/tesseract-ocr-5.3.2-clang-aarch64.tar.xz"
55 } else if (grepl(" clang" , Sys.getenv(" R_COMPILED_BY" ))) {
66 " https://github.com/pachadotdev/cpp11bundles/releases/download/tesseract-5.3.2/tesseract-ocr-5.3.2-clang-x86_64.tar.xz"
7- } else {
7+ } else if (getRversion() > = " 4.3 " ) {
88 " https://github.com/pachadotdev/cpp11bundles/releases/download/tesseract-5.3.2/tesseract-ocr-5.3.2-ucrt-x86_64.tar.xz"
9+ } else {
10+ " https://github.com/pachadotdev/cpp11bundles/releases/download/tesseract-5.3.2/tesseract-oldR-5.3.2.tar.gz"
911 }
1012 download.file(url , basename(url ), quiet = TRUE )
1113 untar(basename(url ), exdir = " ../windows" , tar = " internal" )
You can’t perform that action at this time.
0 commit comments