RCall.jl icon indicating copy to clipboard operation
RCall.jl copied to clipboard

Windows CI cannot find R shared library on x86

Open ViralBShah opened this issue 1 year ago • 4 comments

I am seeing these errors in the Windows CI in recent PRs (Example: https://github.com/JuliaInterop/RCall.jl/actions/runs/3277665393/jobs/5395214932#step:7:222)

    Building RCall → `D:\a\RCall.jl\RCall.jl\deps\build.log`
ERROR: LoadError: Could not find library C:\R\bin\i386\R.dll. Make sure that R shared library exists.
Stacktrace:
 [1] error(s::String)
   @ Base .\error.jl:35
 [2] validate_libR(libR::String)
   @ Main D:\a\RCall.jl\RCall.jl\deps\setup.jl:11
 [3] locate_libR(Rhome::SubString{String})
   @ Main D:\a\RCall.jl\RCall.jl\deps\setup.jl:43
 [4] top-level scope
   @ D:\a\RCall.jl\RCall.jl\deps\build.jl:58
 [5] include(fname::String)
   @ Base.MainInclude .\client.jl:476
 [6] top-level scope
   @ none:5
in expression starting at D:\a\RCall.jl\RCall.jl\deps\build.jl:11
ERROR: Error building `RCall`: 

ViralBShah avatar Oct 18 '22 23:10 ViralBShah