Skip to content

Commit

Permalink
Different install path on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ViralBShah committed Oct 20, 2022
1 parent b0230f5 commit 53539b2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ try
conda_provided_r = true
Conda.add_channel("r")
Conda.add("r-base>=3.4.0,<4") # greater than or equal to 3.4.0 AND strictly less than 4.0
Rhome = joinpath(Conda.ROOTENV, "R")
if Sys.iswindows()
Rhome = joinpath(Conda.ROOTENV, "R")
else
Rhome = joinpath(Conda.LIBDIR, "R")
end
libR = locate_libR(Rhome)
else
if isempty(Rhome)
Expand Down

0 comments on commit 53539b2

Please sign in to comment.