Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building RCall on Julia 1.5.0 on both Linux and macOS #389

Closed
DilumAluthge opened this issue Aug 25, 2020 · 10 comments · Fixed by #390
Closed

Error building RCall on Julia 1.5.0 on both Linux and macOS #389

DilumAluthge opened this issue Aug 25, 2020 · 10 comments · Fixed by #390

Comments

@DilumAluthge
Copy link
Member

DilumAluthge commented Aug 25, 2020

Before starting Julia, I did export R_HOME="*".

Here is the error:

┌ Error: Error building `RCall`, showing the last 100 of log:
│     package                    |            build
│     ---------------------------|-----------------
│     _r-mutex-1.0.0             |      anacondar_1           3 KB
│     curl-7.71.1                |       hb0a8c7a_1         129 KB
│     gsl-2.4                    |       h1de35cc_4         1.8 MB
│     icu-58.2                   |       h0a44026_3        10.1 MB
│     jpeg-9b                    |       he5867d9_2         201 KB
│     krb5-1.18.2                |       h75d18d8_0         1.1 MB
│     libcurl-7.71.1             |       h8a08a2b_1         289 KB
│     libgcc-4.8.5               |      hdbeacc1_10         250 KB
│     libgfortran-3.0.1          |       h93005f0_2         426 KB
│     libiconv-1.16              |       h1de35cc_0         693 KB
│     libpng-1.6.37              |       ha441bb4_0         262 KB
│     libssh2-1.9.0              |       ha12b0ac_1         250 KB
│     libtiff-4.1.0              |       hcb84e12_1         405 KB
│     libxml2-2.9.10             |       h3b9e6c8_1         1.1 MB
│     lz4-c-1.9.2                |       hb1e8313_1         142 KB
│     pcre-8.44                  |       hb1e8313_0         185 KB
│     r-base-3.3.1               |                0        47.2 MB  r
│     zstd-1.4.5                 |       h41d2c2f_0         442 KB
│     ------------------------------------------------------------
│                                            Total:        65.0 MB
│
│ The following NEW packages will be INSTALLED:
│
│   _r-mutex           pkgs/r/osx-64::_r-mutex-1.0.0-anacondar_1
│   curl               pkgs/main/osx-64::curl-7.71.1-hb0a8c7a_1
│   gsl                pkgs/main/osx-64::gsl-2.4-h1de35cc_4
│   icu                pkgs/main/osx-64::icu-58.2-h0a44026_3
│   jpeg               pkgs/main/osx-64::jpeg-9b-he5867d9_2
│   krb5               pkgs/main/osx-64::krb5-1.18.2-h75d18d8_0
│   libcurl            pkgs/main/osx-64::libcurl-7.71.1-h8a08a2b_1
│   libgcc             pkgs/main/osx-64::libgcc-4.8.5-hdbeacc1_10
│   libgfortran        pkgs/main/osx-64::libgfortran-3.0.1-h93005f0_2
│   libiconv           pkgs/main/osx-64::libiconv-1.16-h1de35cc_0
│   libpng             pkgs/main/osx-64::libpng-1.6.37-ha441bb4_0
│   libssh2            pkgs/main/osx-64::libssh2-1.9.0-ha12b0ac_1
│   libtiff            pkgs/main/osx-64::libtiff-4.1.0-hcb84e12_1
│   libxml2            pkgs/main/osx-64::libxml2-2.9.10-h3b9e6c8_1
│   lz4-c              pkgs/main/osx-64::lz4-c-1.9.2-hb1e8313_1
│   pcre               pkgs/main/osx-64::pcre-8.44-hb1e8313_0
│   r-base             r/osx-64::r-base-3.3.1-0
│   zstd               pkgs/main/osx-64::zstd-1.4.5-h41d2c2f_0
│
│
│
│ Downloading and Extracting Packages
r-base-3.3.1         | 47.2 MB   | ########## | 100%
jpeg-9b              | 201 KB    | ########## | 100%
lz4-c-1.9.2          | 142 KB    | ########## | 100%
icu-58.2             | 10.1 MB   | ########## | 100%
krb5-1.18.2          | 1.1 MB    | ########## | 100%
curl-7.71.1          | 129 KB    | ########## | 100%
gsl-2.4              | 1.8 MB    | ########## | 100%
_r-mutex-1.0.0       | 3 KB      | ########## | 100%
libgcc-4.8.5         | 250 KB    | ########## | 100%
zstd-1.4.5           | 442 KB    | ########## | 100%
libpng-1.6.37        | 262 KB    | ########## | 100%
libgfortran-3.0.1    | 426 KB    | ########## | 100%
libtiff-4.1.0        | 405 KB    | ########## | 100%
libxml2-2.9.10       | 1.1 MB    | ########## | 100%
pcre-8.44            | 185 KB    | ########## | 100%
libiconv-1.16        | 693 KB    | ########## | 100%
libcurl-7.71.1       | 289 KB    | ########## | 100%
libssh2-1.9.0        | 250 KB    | ########## | 100%
│ Preparing transaction: ...working... done
│ Verifying transaction: ...working... done
│ Executing transaction: ...working... done
│ [ Info: Installing R via Conda.  To use a different R installation, set the "R_HOME" environment variable and re-run Pkg.build("RCall").
│ [ Info: Downloading miniconda installer ...
│ [ Info: Installing miniconda ...
│ [ Info: Running `conda config --add channels defaults --file /Users/dilum/.julia/conda/3/condarc-julia.yml --force` in root environment
│ [ Info: Running `conda update -y conda` in root environment
│ [ Info: Running `conda config --add channels r --file /Users/dilum/.julia/conda/3/condarc-julia.yml --force` in root environment
│ [ Info: Running `conda install -y r-base` in root environment
│ ERROR: could not load library "/Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib"
│ dlopen(/Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib, 1): Library not loaded: @rpath/libreadline.6.2.dylib
│   Referenced from: /Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib
│   Reason: image not found
│ ERROR: LoadError: Try adding /Users/dilum/.julia/conda/3/lib/R/lib to the "LD_LIBRARY_PATH" environmental variable and restarting Julia.
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33
│  [2] validate_libR(::String) at /Users/dilum/.julia/packages/RCall/Qzssx/deps/setup.jl:26
│  [3] locate_libR(::String) at /Users/dilum/.julia/packages/RCall/Qzssx/deps/setup.jl:43
│  [4] top-level scope at /Users/dilum/.julia/packages/RCall/Qzssx/deps/build.jl:32
│  [5] include(::String) at ./client.jl:457
│  [6] top-level scope at none:5
│ in expression starting at /Users/dilum/.julia/packages/RCall/Qzssx/deps/build.jl:11
│ caused by [exception 1]
│ could not load library "/Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib"
│ dlopen(/Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib, 1): Library not loaded: @rpath/libreadline.6.2.dylib
│   Referenced from: /Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib
│   Reason: image not found
│ Stacktrace:
│  [1] dlopen(::String, ::UInt32; throw_error::Bool) at /Users/dilum/dev/julia-releases/julia-1.5.0/usr/share/julia/stdlib/v1.5/Libdl/src/Libdl.jl:109
│  [2] dlopen at /Users/dilum/dev/julia-releases/julia-1.5.0/usr/share/julia/stdlib/v1.5/Libdl/src/Libdl.jl:109 [inlined] (repeats 2 times)
│  [3] validate_libR(::String) at /Users/dilum/.julia/packages/RCall/Qzssx/deps/setup.jl:16
│  [4] locate_libR(::String) at /Users/dilum/.julia/packages/RCall/Qzssx/deps/setup.jl:43
│  [5] top-level scope at /Users/dilum/.julia/packages/RCall/Qzssx/deps/build.jl:32
│  [6] include(::String) at ./client.jl:457
│  [7] top-level scope at none:5
│
│ Full log at /Users/dilum/.julia/packages/RCall/Qzssx/deps/build.log
└ @ Pkg.Operations ~/dev/julia-releases/julia-1.5.0/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:942

Version info:

julia> versioninfo(; verbose = true)
Julia Version 1.5.0
Commit 96786e22cc* (2020-08-01 23:44 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin19.6.0)
  uname: Darwin 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64 i386
  CPU: Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz:
              speed         user         nice          sys         idle          irq
       #1  2600 MHz       5062 s          0 s       2684 s      11883 s          0 s
       #2  2600 MHz       2181 s          0 s       1160 s      16281 s          0 s
       #3  2600 MHz       5111 s          0 s       2327 s      12184 s          0 s
       #4  2600 MHz       2072 s          0 s       1075 s      16476 s          0 s

  Memory: 8.0 GB (1041.1015625 MB free)
  Uptime: 1962.0 sec
  Load Avg:  1.54736328125  2.45361328125  4.69287109375
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-9.0.1 (ORCJIT, haswell)
Environment:
  TERM = xterm-256color
  PATH = /Users/dilum/bin:/Users/dilum/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/usr/local/MacGPG2/bin:/Library/Apple/usr/bin
  XPC_FLAGS = 0x0
  HOME = /Users/dilum
  R_HOME = *

I am on macOS Catalina version 10.15.6 (19G2021).

@DilumAluthge
Copy link
Member Author

I get the same issue whether I run this:

] add RCall

Or this:

] add RCall#master

I can still reproduce this if I do rm -rf ~/.julia and then try again.

@DilumAluthge DilumAluthge changed the title Error building RCall on Julia 1.5 on macOS Error building RCall on Julia 1.5.0 on macOS Aug 25, 2020
@DilumAluthge
Copy link
Member Author

I get the same error on Julia 1.4.2.

@simonbyrne
Copy link
Member

Does it work with the R binary from CRAN?

@DilumAluthge
Copy link
Member Author

DilumAluthge commented Aug 30, 2020

It works without error on both Julia 1.5.0 and Julia master when I use the R binary from Homebrew.

In a fresh environment, with Julia 1.5.0, and the R binary from Homebrew: (click to expand)
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.5.0 (2020-08-01)
 _/ |\__'_|_|_|\__'_|  |
|__/                   |

julia> ENV["R_HOME"] = "/usr/local/Cellar/r/4.0.2_1/lib/R"
"/usr/local/Cellar/r/4.0.2_1/lib/R"

julia> import Pkg

julia> Pkg.add("RCall")
 Installing known registries into `~/.julia`
######################################################################## 100.0%
      Added registry `General` to `~/.julia/registries/General`
  Resolving package versions...
  Installed ShiftedArrays ──────────────── v1.0.0
  Installed QuadGK ─────────────────────── v2.4.1
  Installed Rmath_jll ──────────────────── v0.2.2+1
  Installed OrderedCollections ─────────── v1.3.0
  Installed VersionParsing ─────────────── v1.2.0
  Installed CategoricalArrays ──────────── v0.8.1
  Installed DataStructures ─────────────── v0.18.2
  Installed RCall ──────────────────────── v0.13.7
  Installed FillArrays ─────────────────── v0.9.5
  Installed DataFrames ─────────────────── v0.21.7
  Installed Requires ───────────────────── v1.0.1
  Installed WinReg ─────────────────────── v0.3.1
  Installed InvertedIndices ────────────── v1.0.0
  Installed SortingAlgorithms ──────────── v0.3.1
  Installed PDMats ─────────────────────── v0.10.0
  Installed Parsers ────────────────────── v1.0.10
  Installed Conda ──────────────────────── v1.4.1
  Installed JSON ───────────────────────── v0.21.0
  Installed Rmath ──────────────────────── v0.6.1
  Installed DataValueInterfaces ────────── v1.0.0
  Installed Reexport ───────────────────── v0.2.0
  Installed Tables ─────────────────────── v1.0.5
  Installed TableTraits ────────────────── v1.0.0
  Installed StatsFuns ──────────────────── v0.9.5
  Installed StatsModels ────────────────── v0.6.13
  Installed StatsBase ──────────────────── v0.33.1
  Installed IteratorInterfaceExtensions ── v1.0.0
  Installed CompilerSupportLibraries_jll ─ v0.3.3+0
  Installed Missings ───────────────────── v0.4.4
  Installed OpenSpecFun_jll ────────────── v0.5.3+3
  Installed PooledArrays ───────────────── v0.5.3
  Installed DataAPI ────────────────────── v1.3.0
  Installed SpecialFunctions ───────────── v0.10.3
  Installed Compat ─────────────────────── v3.15.0
  Installed Distributions ──────────────── v0.23.10
Downloading artifact: Rmath
Downloading artifact: CompilerSupportLibraries
Downloading artifact: OpenSpecFun
Updating `~/.julia/environments/v1.5/Project.toml`
  [6f49c342] + RCall v0.13.7
Updating `~/.julia/environments/v1.5/Manifest.toml`
  [324d7699] + CategoricalArrays v0.8.1
  [34da2185] + Compat v3.15.0
  [e66e0078] + CompilerSupportLibraries_jll v0.3.3+0
  [8f4d0f93] + Conda v1.4.1
  [9a962f9c] + DataAPI v1.3.0
  [a93c6f00] + DataFrames v0.21.7
  [864edb3b] + DataStructures v0.18.2
  [e2d170a0] + DataValueInterfaces v1.0.0
  [31c24e10] + Distributions v0.23.10
  [1a297f60] + FillArrays v0.9.5
  [41ab1584] + InvertedIndices v1.0.0
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [682c06a0] + JSON v0.21.0
  [e1d29d7a] + Missings v0.4.4
  [efe28fd5] + OpenSpecFun_jll v0.5.3+3
  [bac558e1] + OrderedCollections v1.3.0
  [90014a1f] + PDMats v0.10.0
  [69de0a69] + Parsers v1.0.10
  [2dfb63ee] + PooledArrays v0.5.3
  [1fd47b50] + QuadGK v2.4.1
  [6f49c342] + RCall v0.13.7
  [189a3867] + Reexport v0.2.0
  [ae029012] + Requires v1.0.1
  [79098fc4] + Rmath v0.6.1
  [f50d1b31] + Rmath_jll v0.2.2+1
  [1277b4bf] + ShiftedArrays v1.0.0
  [a2af1166] + SortingAlgorithms v0.3.1
  [276daf66] + SpecialFunctions v0.10.3
  [2913bbd2] + StatsBase v0.33.1
  [4c63d2b9] + StatsFuns v0.9.5
  [3eaba693] + StatsModels v0.6.13
  [3783bdb8] + TableTraits v1.0.0
  [bd369af6] + Tables v1.0.5
  [81def892] + VersionParsing v1.2.0
  [1b915085] + WinReg v0.3.1
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8bb1440f] + DelimitedFiles
  [8ba89e20] + Distributed
  [9fa8497b] + Future
  [b77e0a4c] + InteractiveUtils
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [44cfe95a] + Pkg
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA
  [9e88b42a] + Serialization
  [1a1011a3] + SharedArrays
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays
  [10745b16] + Statistics
  [4607b0f0] + SuiteSparse
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
   Building Conda → `~/.julia/packages/Conda/3rPhK/deps/build.log`
   Building RCall → `~/.julia/packages/RCall/Qzssx/deps/build.log`

julia> import RCall
[ Info: Precompiling RCall [6f49c342-dc21-5d91-9882-a32aef131414]

julia> import InteractiveUtils

julia> InteractiveUtils.versioninfo(; verbose = true)
Julia Version 1.5.0
Commit 96786e22cc* (2020-08-01 23:44 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin19.6.0)
  uname: Darwin 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64 i386
  CPU: Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz:
              speed         user         nice          sys         idle          irq
       #1  2600 MHz      69899 s          0 s      23701 s     177803 s          0 s
       #2  2600 MHz      26028 s          0 s       9781 s     235587 s          0 s
       #3  2600 MHz      76825 s          0 s      21022 s     173550 s          0 s
       #4  2600 MHz      23811 s          0 s       9162 s     238424 s          0 s

  Memory: 8.0 GB (1199.38671875 MB free)
  Uptime: 29765.0 sec
  Load Avg:  2.79931640625  2.7353515625  2.74609375
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-9.0.1 (ORCJIT, haswell)
Environment:
  TERM = xterm-256color
  PATH = /Users/dilum/bin:/Users/dilum/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/usr/local/MacGPG2/bin:/Library/Apple/usr/bin
  XPC_FLAGS = 0x0
  HOME = /Users/dilum
  R_HOME = /usr/local/Cellar/r/4.0.2_1/lib/R

julia> import Pkg

julia> Pkg.status(; mode = Pkg.PKGMODE_PROJECT)
Status `~/.julia/environments/v1.5/Project.toml`
  [6f49c342] RCall v0.13.7

julia> Pkg.status(; mode = Pkg.PKGMODE_MANIFEST)
Status `~/.julia/environments/v1.5/Manifest.toml`
  [324d7699] CategoricalArrays v0.8.1
  [34da2185] Compat v3.15.0
  [e66e0078] CompilerSupportLibraries_jll v0.3.3+0
  [8f4d0f93] Conda v1.4.1
  [9a962f9c] DataAPI v1.3.0
  [a93c6f00] DataFrames v0.21.7
  [864edb3b] DataStructures v0.18.2
  [e2d170a0] DataValueInterfaces v1.0.0
  [31c24e10] Distributions v0.23.10
  [1a297f60] FillArrays v0.9.5
  [41ab1584] InvertedIndices v1.0.0
  [82899510] IteratorInterfaceExtensions v1.0.0
  [682c06a0] JSON v0.21.0
  [e1d29d7a] Missings v0.4.4
  [efe28fd5] OpenSpecFun_jll v0.5.3+3
  [bac558e1] OrderedCollections v1.3.0
  [90014a1f] PDMats v0.10.0
  [69de0a69] Parsers v1.0.10
  [2dfb63ee] PooledArrays v0.5.3
  [1fd47b50] QuadGK v2.4.1
  [6f49c342] RCall v0.13.7
  [189a3867] Reexport v0.2.0
  [ae029012] Requires v1.0.1
  [79098fc4] Rmath v0.6.1
  [f50d1b31] Rmath_jll v0.2.2+1
  [1277b4bf] ShiftedArrays v1.0.0
  [a2af1166] SortingAlgorithms v0.3.1
  [276daf66] SpecialFunctions v0.10.3
  [2913bbd2] StatsBase v0.33.1
  [4c63d2b9] StatsFuns v0.9.5
  [3eaba693] StatsModels v0.6.13
  [3783bdb8] TableTraits v1.0.0
  [bd369af6] Tables v1.0.5
  [81def892] VersionParsing v1.2.0
  [1b915085] WinReg v0.3.1
  [2a0f44e3] Base64
  [ade2ca70] Dates
  [8bb1440f] DelimitedFiles
  [8ba89e20] Distributed
  [9fa8497b] Future
  [b77e0a4c] InteractiveUtils
  [76f85450] LibGit2
  [8f399da3] Libdl
  [37e2e46d] LinearAlgebra
  [56ddb016] Logging
  [d6f4376e] Markdown
  [a63ad114] Mmap
  [44cfe95a] Pkg
  [de0858da] Printf
  [3fa0cd96] REPL
  [9a3f8284] Random
  [ea8e919c] SHA
  [9e88b42a] Serialization
  [1a1011a3] SharedArrays
  [6462fe0b] Sockets
  [2f01184e] SparseArrays
  [10745b16] Statistics
  [4607b0f0] SuiteSparse
  [8dfed614] Test
  [cf7118a7] UUIDs
  [4ec0a83e] Unicode
In a fresh environment, with Julia master, and the R binary from Homebrew: (click to expand)
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.6.0-DEV.771 (2020-08-30)
 _/ |\__'_|_|_|\__'_|  |  Commit 0336f672db (0 days old master)
|__/                   |

julia> ENV["R_HOME"] = "/usr/local/Cellar/r/4.0.2_1/lib/R"
"/usr/local/Cellar/r/4.0.2_1/lib/R"

julia> import Pkg

julia> Pkg.add("RCall")
 Installing known registries into `~/.julia`
[ Info: LEGAL NOTICE: package operations send anonymous data about your system to https://pkg.julialang.org (your current package server), including the operating system and Julia versions you are using, and a random client UUID. Running `Pkg.telemetryinfo()` will show exactly what data is sent. See https://julialang.org/legal/data/ for more details about what this data is used for, how long it is retained, and how to opt out of sending it.
######################################################################## 100.0%
      Added registry `General` to `~/.julia/registries/General`
  Resolving package versions...
  Installed Rmath ──────────────────────── v0.6.1
  Installed Rmath_jll ──────────────────── v0.2.2+1
  Installed Compat ─────────────────────── v3.15.0
  Installed Conda ──────────────────────── v1.4.1
  Installed JSON ───────────────────────── v0.21.0
  Installed StatsFuns ──────────────────── v0.9.5
  Installed RCall ──────────────────────── v0.13.7
  Installed PDMats ─────────────────────── v0.10.0
  Installed VersionParsing ─────────────── v1.2.0
  Installed DataAPI ────────────────────── v1.3.0
  Installed PooledArrays ───────────────── v0.5.3
  Installed Distributions ──────────────── v0.23.10
  Installed CompilerSupportLibraries_jll ─ v0.3.3+0
  Installed Requires ───────────────────── v1.0.1
  Installed Parsers ────────────────────── v1.0.10
  Installed CategoricalArrays ──────────── v0.8.1
  Installed TableTraits ────────────────── v1.0.0
  Installed Tables ─────────────────────── v1.0.5
  Installed StatsModels ────────────────── v0.6.13
  Installed OrderedCollections ─────────── v1.3.0
  Installed Reexport ───────────────────── v0.2.0
  Installed WinReg ─────────────────────── v0.3.1
  Installed Missings ───────────────────── v0.4.4
  Installed DataStructures ─────────────── v0.18.2
  Installed SortingAlgorithms ──────────── v0.3.1
  Installed InvertedIndices ────────────── v1.0.0
  Installed ShiftedArrays ──────────────── v1.0.0
  Installed SpecialFunctions ───────────── v0.10.3
  Installed QuadGK ─────────────────────── v2.4.1
  Installed FillArrays ─────────────────── v0.9.5
  Installed OpenSpecFun_jll ────────────── v0.5.3+3
  Installed IteratorInterfaceExtensions ── v1.0.0
  Installed DataValueInterfaces ────────── v1.0.0
  Installed StatsBase ──────────────────── v0.33.1
  Installed DataFrames ─────────────────── v0.21.7
Downloading artifact: Rmath
Downloading artifact: CompilerSupportLibraries
Downloading artifact: OpenSpecFun
Updating `~/.julia/environments/v1.6/Project.toml`
  [6f49c342] + RCall v0.13.7
Updating `~/.julia/environments/v1.6/Manifest.toml`
  [324d7699] + CategoricalArrays v0.8.1
  [34da2185] + Compat v3.15.0
  [e66e0078] + CompilerSupportLibraries_jll v0.3.3+0
  [8f4d0f93] + Conda v1.4.1
  [9a962f9c] + DataAPI v1.3.0
  [a93c6f00] + DataFrames v0.21.7
  [864edb3b] + DataStructures v0.18.2
  [e2d170a0] + DataValueInterfaces v1.0.0
  [31c24e10] + Distributions v0.23.10
  [1a297f60] + FillArrays v0.9.5
  [41ab1584] + InvertedIndices v1.0.0
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [682c06a0] + JSON v0.21.0
  [e1d29d7a] + Missings v0.4.4
  [efe28fd5] + OpenSpecFun_jll v0.5.3+3
  [bac558e1] + OrderedCollections v1.3.0
  [90014a1f] + PDMats v0.10.0
  [69de0a69] + Parsers v1.0.10
  [2dfb63ee] + PooledArrays v0.5.3
  [1fd47b50] + QuadGK v2.4.1
  [6f49c342] + RCall v0.13.7
  [189a3867] + Reexport v0.2.0
  [ae029012] + Requires v1.0.1
  [79098fc4] + Rmath v0.6.1
  [f50d1b31] + Rmath_jll v0.2.2+1
  [1277b4bf] + ShiftedArrays v1.0.0
  [a2af1166] + SortingAlgorithms v0.3.1
  [276daf66] + SpecialFunctions v0.10.3
  [2913bbd2] + StatsBase v0.33.1
  [4c63d2b9] + StatsFuns v0.9.5
  [3eaba693] + StatsModels v0.6.13
  [3783bdb8] + TableTraits v1.0.0
  [bd369af6] + Tables v1.0.5
  [81def892] + VersionParsing v1.2.0
  [1b915085] + WinReg v0.3.1
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8bb1440f] + DelimitedFiles
  [8ba89e20] + Distributed
  [9fa8497b] + Future
  [b77e0a4c] + InteractiveUtils
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [44cfe95a] + Pkg
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA
  [9e88b42a] + Serialization
  [1a1011a3] + SharedArrays
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays
  [10745b16] + Statistics
  [4607b0f0] + SuiteSparse
  [fa267f1f] + TOML
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
   Building Conda → `~/.julia/packages/Conda/3rPhK/deps/build.log`
   Building RCall → `~/.julia/packages/RCall/Qzssx/deps/build.log`

julia> import RCall
[ Info: Precompiling RCall [6f49c342-dc21-5d91-9882-a32aef131414]

julia> import InteractiveUtils

julia> InteractiveUtils.versioninfo(; verbose = true)
Julia Version 1.6.0-DEV.771
Commit 0336f672db (2020-08-30 01:07 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin19.6.0)
  uname: Darwin 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64 i386
  CPU: Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz:
              speed         user         nice          sys         idle          irq
       #1  2600 MHz      72672 s          0 s      24426 s     188063 s          0 s
       #2  2600 MHz      26883 s          0 s      10022 s     248250 s          0 s
       #3  2600 MHz      80899 s          0 s      21609 s     182647 s          0 s
       #4  2600 MHz      24499 s          0 s       9368 s     251287 s          0 s

  Memory: 8.0 GB (1310.48828125 MB free)
  Uptime: 31141.0 sec
  Load Avg:  0.94921875  1.51513671875  1.88525390625
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-9.0.1 (ORCJIT, haswell)
Environment:
  TERM = xterm-256color
  PATH = /Users/dilum/bin:/Users/dilum/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/usr/local/MacGPG2/bin:/Library/Apple/usr/bin
  XPC_FLAGS = 0x0
  HOME = /Users/dilum
  R_HOME = /usr/local/Cellar/r/4.0.2_1/lib/R

julia> import Pkg

julia> Pkg.status(; mode = Pkg.PKGMODE_PROJECT)
Status `~/.julia/environments/v1.6/Project.toml`
  [6f49c342] RCall v0.13.7

julia> Pkg.status(; mode = Pkg.PKGMODE_MANIFEST)
Status `~/.julia/environments/v1.6/Manifest.toml`
  [324d7699] CategoricalArrays v0.8.1
  [34da2185] Compat v3.15.0
  [e66e0078] CompilerSupportLibraries_jll v0.3.3+0
  [8f4d0f93] Conda v1.4.1
  [9a962f9c] DataAPI v1.3.0
  [a93c6f00] DataFrames v0.21.7
  [864edb3b] DataStructures v0.18.2
  [e2d170a0] DataValueInterfaces v1.0.0
  [31c24e10] Distributions v0.23.10
  [1a297f60] FillArrays v0.9.5
  [41ab1584] InvertedIndices v1.0.0
  [82899510] IteratorInterfaceExtensions v1.0.0
  [682c06a0] JSON v0.21.0
  [e1d29d7a] Missings v0.4.4
  [efe28fd5] OpenSpecFun_jll v0.5.3+3
  [bac558e1] OrderedCollections v1.3.0
  [90014a1f] PDMats v0.10.0
  [69de0a69] Parsers v1.0.10
  [2dfb63ee] PooledArrays v0.5.3
  [1fd47b50] QuadGK v2.4.1
  [6f49c342] RCall v0.13.7
  [189a3867] Reexport v0.2.0
  [ae029012] Requires v1.0.1
  [79098fc4] Rmath v0.6.1
  [f50d1b31] Rmath_jll v0.2.2+1
  [1277b4bf] ShiftedArrays v1.0.0
  [a2af1166] SortingAlgorithms v0.3.1
  [276daf66] SpecialFunctions v0.10.3
  [2913bbd2] StatsBase v0.33.1
  [4c63d2b9] StatsFuns v0.9.5
  [3eaba693] StatsModels v0.6.13
  [3783bdb8] TableTraits v1.0.0
  [bd369af6] Tables v1.0.5
  [81def892] VersionParsing v1.2.0
  [1b915085] WinReg v0.3.1
  [2a0f44e3] Base64
  [ade2ca70] Dates
  [8bb1440f] DelimitedFiles
  [8ba89e20] Distributed
  [9fa8497b] Future
  [b77e0a4c] InteractiveUtils
  [76f85450] LibGit2
  [8f399da3] Libdl
  [37e2e46d] LinearAlgebra
  [56ddb016] Logging
  [d6f4376e] Markdown
  [a63ad114] Mmap
  [44cfe95a] Pkg
  [de0858da] Printf
  [3fa0cd96] REPL
  [9a3f8284] Random
  [ea8e919c] SHA
  [9e88b42a] Serialization
  [1a1011a3] SharedArrays
  [6462fe0b] Sockets
  [2f01184e] SparseArrays
  [10745b16] Statistics
  [4607b0f0] SuiteSparse
  [fa267f1f] TOML
  [8dfed614] Test
  [cf7118a7] UUIDs
  [4ec0a83e] Unicode

@DilumAluthge
Copy link
Member Author

In contrast, I can reliably reproduce this error by setting ENV["R_HOME"] = "*".

In a fresh environment, with Julia 1.5.0, and setting "R_HOME" to "*": (click to expand)
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.5.0 (2020-08-01)
 _/ |\__'_|_|_|\__'_|  |
|__/                   |

julia> ENV["R_HOME"] = "*"
"*"

julia> import Pkg

julia> Pkg.add("RCall")
 Installing known registries into `~/.julia`
######################################################################## 100.0%
      Added registry `General` to `~/.julia/registries/General`
  Resolving package versions...
  Installed ShiftedArrays ──────────────── v1.0.0
  Installed Rmath_jll ──────────────────── v0.2.2+1
  Installed OrderedCollections ─────────── v1.3.0
  Installed QuadGK ─────────────────────── v2.4.1
  Installed VersionParsing ─────────────── v1.2.0
  Installed Requires ───────────────────── v1.0.1
  Installed FillArrays ─────────────────── v0.9.5
  Installed Parsers ────────────────────── v1.0.10
  Installed DataStructures ─────────────── v0.18.2
  Installed CategoricalArrays ──────────── v0.8.1
  Installed RCall ──────────────────────── v0.13.7
  Installed DataFrames ─────────────────── v0.21.7
  Installed PDMats ─────────────────────── v0.10.0
  Installed WinReg ─────────────────────── v0.3.1
  Installed InvertedIndices ────────────── v1.0.0
  Installed Conda ──────────────────────── v1.4.1
  Installed SortingAlgorithms ──────────── v0.3.1
  Installed DataValueInterfaces ────────── v1.0.0
  Installed Rmath ──────────────────────── v0.6.1
  Installed Tables ─────────────────────── v1.0.5
  Installed JSON ───────────────────────── v0.21.0
  Installed StatsModels ────────────────── v0.6.13
  Installed StatsBase ──────────────────── v0.33.1
  Installed Reexport ───────────────────── v0.2.0
  Installed StatsFuns ──────────────────── v0.9.5
  Installed TableTraits ────────────────── v1.0.0
  Installed IteratorInterfaceExtensions ── v1.0.0
  Installed CompilerSupportLibraries_jll ─ v0.3.3+0
  Installed Missings ───────────────────── v0.4.4
  Installed DataAPI ────────────────────── v1.3.0
  Installed SpecialFunctions ───────────── v0.10.3
  Installed PooledArrays ───────────────── v0.5.3
  Installed OpenSpecFun_jll ────────────── v0.5.3+3
  Installed Compat ─────────────────────── v3.15.0
  Installed Distributions ──────────────── v0.23.10
Downloading artifact: Rmath
Downloading artifact: CompilerSupportLibraries
Downloading artifact: OpenSpecFun
Updating `~/.julia/environments/v1.5/Project.toml`
  [6f49c342] + RCall v0.13.7
Updating `~/.julia/environments/v1.5/Manifest.toml`
  [324d7699] + CategoricalArrays v0.8.1
  [34da2185] + Compat v3.15.0
  [e66e0078] + CompilerSupportLibraries_jll v0.3.3+0
  [8f4d0f93] + Conda v1.4.1
  [9a962f9c] + DataAPI v1.3.0
  [a93c6f00] + DataFrames v0.21.7
  [864edb3b] + DataStructures v0.18.2
  [e2d170a0] + DataValueInterfaces v1.0.0
  [31c24e10] + Distributions v0.23.10
  [1a297f60] + FillArrays v0.9.5
  [41ab1584] + InvertedIndices v1.0.0
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [682c06a0] + JSON v0.21.0
  [e1d29d7a] + Missings v0.4.4
  [efe28fd5] + OpenSpecFun_jll v0.5.3+3
  [bac558e1] + OrderedCollections v1.3.0
  [90014a1f] + PDMats v0.10.0
  [69de0a69] + Parsers v1.0.10
  [2dfb63ee] + PooledArrays v0.5.3
  [1fd47b50] + QuadGK v2.4.1
  [6f49c342] + RCall v0.13.7
  [189a3867] + Reexport v0.2.0
  [ae029012] + Requires v1.0.1
  [79098fc4] + Rmath v0.6.1
  [f50d1b31] + Rmath_jll v0.2.2+1
  [1277b4bf] + ShiftedArrays v1.0.0
  [a2af1166] + SortingAlgorithms v0.3.1
  [276daf66] + SpecialFunctions v0.10.3
  [2913bbd2] + StatsBase v0.33.1
  [4c63d2b9] + StatsFuns v0.9.5
  [3eaba693] + StatsModels v0.6.13
  [3783bdb8] + TableTraits v1.0.0
  [bd369af6] + Tables v1.0.5
  [81def892] + VersionParsing v1.2.0
  [1b915085] + WinReg v0.3.1
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8bb1440f] + DelimitedFiles
  [8ba89e20] + Distributed
  [9fa8497b] + Future
  [b77e0a4c] + InteractiveUtils
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [44cfe95a] + Pkg
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA
  [9e88b42a] + Serialization
  [1a1011a3] + SharedArrays
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays
  [10745b16] + Statistics
  [4607b0f0] + SuiteSparse
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
   Building Conda → `~/.julia/packages/Conda/3rPhK/deps/build.log`
   Building RCall → `~/.julia/packages/RCall/Qzssx/deps/build.log`
┌ Error: Error building `RCall`, showing the last 100 of log:
│     package                    |            build
│     ---------------------------|-----------------
│     _r-mutex-1.0.0             |      anacondar_1           3 KB
│     curl-7.71.1                |       hb0a8c7a_1         129 KB
│     gsl-2.4                    |       h1de35cc_4         1.8 MB
│     icu-58.2                   |       h0a44026_3        10.1 MB
│     jpeg-9b                    |       he5867d9_2         201 KB
│     krb5-1.18.2                |       h75d18d8_0         1.1 MB
│     libcurl-7.71.1             |       h8a08a2b_1         289 KB
│     libgcc-4.8.5               |      hdbeacc1_10         250 KB
│     libgfortran-3.0.1          |       h93005f0_2         426 KB
│     libiconv-1.16              |       h1de35cc_0         693 KB
│     libpng-1.6.37              |       ha441bb4_0         262 KB
│     libssh2-1.9.0              |       ha12b0ac_1         250 KB
│     libtiff-4.1.0              |       hcb84e12_1         405 KB
│     libxml2-2.9.10             |       h3b9e6c8_1         1.1 MB
│     lz4-c-1.9.2                |       hb1e8313_1         142 KB
│     pcre-8.44                  |       hb1e8313_0         185 KB
│     r-base-3.3.1               |                0        47.2 MB  r
│     zstd-1.4.5                 |       h41d2c2f_0         442 KB
│     ------------------------------------------------------------
│                                            Total:        65.0 MB

│ The following NEW packages will be INSTALLED:

│   _r-mutex           pkgs/r/osx-64::_r-mutex-1.0.0-anacondar_1
│   curl               pkgs/main/osx-64::curl-7.71.1-hb0a8c7a_1
│   gsl                pkgs/main/osx-64::gsl-2.4-h1de35cc_4
│   icu                pkgs/main/osx-64::icu-58.2-h0a44026_3
│   jpeg               pkgs/main/osx-64::jpeg-9b-he5867d9_2
│   krb5               pkgs/main/osx-64::krb5-1.18.2-h75d18d8_0
│   libcurl            pkgs/main/osx-64::libcurl-7.71.1-h8a08a2b_1
│   libgcc             pkgs/main/osx-64::libgcc-4.8.5-hdbeacc1_10
│   libgfortran        pkgs/main/osx-64::libgfortran-3.0.1-h93005f0_2
│   libiconv           pkgs/main/osx-64::libiconv-1.16-h1de35cc_0
│   libpng             pkgs/main/osx-64::libpng-1.6.37-ha441bb4_0
│   libssh2            pkgs/main/osx-64::libssh2-1.9.0-ha12b0ac_1
│   libtiff            pkgs/main/osx-64::libtiff-4.1.0-hcb84e12_1
│   libxml2            pkgs/main/osx-64::libxml2-2.9.10-h3b9e6c8_1
│   lz4-c              pkgs/main/osx-64::lz4-c-1.9.2-hb1e8313_1
│   pcre               pkgs/main/osx-64::pcre-8.44-hb1e8313_0
│   r-base             r/osx-64::r-base-3.3.1-0
│   zstd               pkgs/main/osx-64::zstd-1.4.5-h41d2c2f_0



│ Downloading and Extracting Packages
libpng-1.6.37        | 262 KB    | ########## | 100%
libssh2-1.9.0        | 250 KB    | ########## | 100%
icu-58.2             | 10.1 MB   | ########## | 100%
libgcc-4.8.5         | 250 KB    | ########## | 100%
libxml2-2.9.10       | 1.1 MB    | ########## | 100%
lz4-c-1.9.2          | 142 KB    | ########## | 100%
pcre-8.44            | 185 KB    | ########## | 100%
r-base-3.3.1         | 47.2 MB   | ########## | 100%
libgfortran-3.0.1    | 426 KB    | ########## | 100%
jpeg-9b              | 201 KB    | ########## | 100%
libtiff-4.1.0        | 405 KB    | ########## | 100%
libiconv-1.16        | 693 KB    | ########## | 100%
libcurl-7.71.1       | 289 KB    | ########## | 100%
zstd-1.4.5           | 442 KB    | ########## | 100%
curl-7.71.1          | 129 KB    | ########## | 100%
_r-mutex-1.0.0       | 3 KB      | ########## | 100%
gsl-2.4              | 1.8 MB    | ########## | 100%
krb5-1.18.2          | 1.1 MB    | ########## | 100%
│ Preparing transaction: ...working... done
│ Verifying transaction: ...working... done
│ Executing transaction: ...working... done
│ [ Info: Installing R via Conda.  To use a different R installation, set the "R_HOME" environment variable and re-run Pkg.build("RCall").
│ [ Info: Downloading miniconda installer ...
│ [ Info: Installing miniconda ...
│ [ Info: Running `conda config --add channels defaults --file /Users/dilum/.julia/conda/3/condarc-julia.yml --force` in root environment
│ [ Info: Running `conda update -y conda` in root environment
│ [ Info: Running `conda config --add channels r --file /Users/dilum/.julia/conda/3/condarc-julia.yml --force` in root environment
│ [ Info: Running `conda install -y r-base` in root environment
│ ERROR: could not load library "/Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib"
│ dlopen(/Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib, 1): Library not loaded: @rpath/libreadline.6.2.dylib
│   Referenced from: /Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib
│   Reason: image not found
│ ERROR: LoadError: Try adding /Users/dilum/.julia/conda/3/lib/R/lib to the "LD_LIBRARY_PATH" environmental variable and restarting Julia.
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33
│  [2] validate_libR(::String) at /Users/dilum/.julia/packages/RCall/Qzssx/deps/setup.jl:26
│  [3] locate_libR(::String) at /Users/dilum/.julia/packages/RCall/Qzssx/deps/setup.jl:43
│  [4] top-level scope at /Users/dilum/.julia/packages/RCall/Qzssx/deps/build.jl:32
│  [5] include(::String) at ./client.jl:457
│  [6] top-level scope at none:5
│ in expression starting at /Users/dilum/.julia/packages/RCall/Qzssx/deps/build.jl:11
│ caused by [exception 1]
│ could not load library "/Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib"
│ dlopen(/Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib, 1): Library not loaded: @rpath/libreadline.6.2.dylib
│   Referenced from: /Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib
│   Reason: image not found
│ Stacktrace:
│  [1] dlopen(::String, ::UInt32; throw_error::Bool) at /Users/dilum/dev/julia-releases/julia-1.5.0/usr/share/julia/stdlib/v1.5/Libdl/src/Libdl.jl:109
│  [2] dlopen at /Users/dilum/dev/julia-releases/julia-1.5.0/usr/share/julia/stdlib/v1.5/Libdl/src/Libdl.jl:109 [inlined] (repeats 2 times)
│  [3] validate_libR(::String) at /Users/dilum/.julia/packages/RCall/Qzssx/deps/setup.jl:16
│  [4] locate_libR(::String) at /Users/dilum/.julia/packages/RCall/Qzssx/deps/setup.jl:43
│  [5] top-level scope at /Users/dilum/.julia/packages/RCall/Qzssx/deps/build.jl:32
│  [6] include(::String) at ./client.jl:457
│  [7] top-level scope at none:5

│ Full log at /Users/dilum/.julia/packages/RCall/Qzssx/deps/build.log
└ @ Pkg.Operations ~/dev/julia-releases/julia-1.5.0/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:942

julia> import InteractiveUtils

julia> InteractiveUtils.versioninfo(; verbose = true)
Julia Version 1.5.0
Commit 96786e22cc* (2020-08-01 23:44 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin19.6.0)
  uname: Darwin 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64 i386
  CPU: Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz:
              speed         user         nice          sys         idle          irq
       #1  2600 MHz      74679 s          0 s      25626 s     197716 s          0 s
       #2  2600 MHz      27666 s          0 s      10539 s     259810 s          0 s
       #3  2600 MHz      82954 s          0 s      22634 s     192427 s          0 s
       #4  2600 MHz      25250 s          0 s       9844 s     262922 s          0 s

  Memory: 8.0 GB (816.3984375 MB free)
  Uptime: 32557.0 sec
  Load Avg:  3.658203125  2.9189453125  2.5380859375
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-9.0.1 (ORCJIT, haswell)
Environment:
  TERM = xterm-256color
  PATH = /Users/dilum/bin:/Users/dilum/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/usr/local/MacGPG2/bin:/Library/Apple/usr/bin
  XPC_FLAGS = 0x0
  HOME = /Users/dilum
  R_HOME = *

julia> import Pkg

julia> Pkg.status(; mode = Pkg.PKGMODE_PROJECT)
Status `~/.julia/environments/v1.5/Project.toml`
  [6f49c342] RCall v0.13.7

julia> Pkg.status(; mode = Pkg.PKGMODE_MANIFEST)
Status `~/.julia/environments/v1.5/Manifest.toml`
  [324d7699] CategoricalArrays v0.8.1
  [34da2185] Compat v3.15.0
  [e66e0078] CompilerSupportLibraries_jll v0.3.3+0
  [8f4d0f93] Conda v1.4.1
  [9a962f9c] DataAPI v1.3.0
  [a93c6f00] DataFrames v0.21.7
  [864edb3b] DataStructures v0.18.2
  [e2d170a0] DataValueInterfaces v1.0.0
  [31c24e10] Distributions v0.23.10
  [1a297f60] FillArrays v0.9.5
  [41ab1584] InvertedIndices v1.0.0
  [82899510] IteratorInterfaceExtensions v1.0.0
  [682c06a0] JSON v0.21.0
  [e1d29d7a] Missings v0.4.4
  [efe28fd5] OpenSpecFun_jll v0.5.3+3
  [bac558e1] OrderedCollections v1.3.0
  [90014a1f] PDMats v0.10.0
  [69de0a69] Parsers v1.0.10
  [2dfb63ee] PooledArrays v0.5.3
  [1fd47b50] QuadGK v2.4.1
  [6f49c342] RCall v0.13.7
  [189a3867] Reexport v0.2.0
  [ae029012] Requires v1.0.1
  [79098fc4] Rmath v0.6.1
  [f50d1b31] Rmath_jll v0.2.2+1
  [1277b4bf] ShiftedArrays v1.0.0
  [a2af1166] SortingAlgorithms v0.3.1
  [276daf66] SpecialFunctions v0.10.3
  [2913bbd2] StatsBase v0.33.1
  [4c63d2b9] StatsFuns v0.9.5
  [3eaba693] StatsModels v0.6.13
  [3783bdb8] TableTraits v1.0.0
  [bd369af6] Tables v1.0.5
  [81def892] VersionParsing v1.2.0
  [1b915085] WinReg v0.3.1
  [2a0f44e3] Base64
  [ade2ca70] Dates
  [8bb1440f] DelimitedFiles
  [8ba89e20] Distributed
  [9fa8497b] Future
  [b77e0a4c] InteractiveUtils
  [76f85450] LibGit2
  [8f399da3] Libdl
  [37e2e46d] LinearAlgebra
  [56ddb016] Logging
  [d6f4376e] Markdown
  [a63ad114] Mmap
  [44cfe95a] Pkg
  [de0858da] Printf
  [3fa0cd96] REPL
  [9a3f8284] Random
  [ea8e919c] SHA
  [9e88b42a] Serialization
  [1a1011a3] SharedArrays
  [6462fe0b] Sockets
  [2f01184e] SparseArrays
  [10745b16] Statistics
  [4607b0f0] SuiteSparse
  [8dfed614] Test
  [cf7118a7] UUIDs
  [4ec0a83e] Unicode
In a fresh environment, with Julia `master`, and setting "R_HOME" to "*": (click to expand)
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.6.0-DEV.771 (2020-08-30)
 _/ |\__'_|_|_|\__'_|  |  Commit 0336f672db (0 days old master)
|__/                   |

julia> ENV["R_HOME"] = "*"
"*"

julia> import Pkg

julia> Pkg.add("RCall")
 Installing known registries into `~/.julia`
[ Info: LEGAL NOTICE: package operations send anonymous data about your system to https://pkg.julialang.org (your current package server), including the operating system and Julia versions you are using, and a random client UUID. Running `Pkg.telemetryinfo()` will show exactly what data is sent. See https://julialang.org/legal/data/ for more details about what this data is used for, how long it is retained, and how to opt out of sending it.
######################################################################## 100.0%
      Added registry `General` to `~/.julia/registries/General`
  Resolving package versions...
  Installed Rmath_jll ──────────────────── v0.2.2+1
  Installed Conda ──────────────────────── v1.4.1
  Installed Compat ─────────────────────── v3.15.0
  Installed Rmath ──────────────────────── v0.6.1
  Installed StatsFuns ──────────────────── v0.9.5
  Installed JSON ───────────────────────── v0.21.0
  Installed RCall ──────────────────────── v0.13.7
  Installed PDMats ─────────────────────── v0.10.0
  Installed Distributions ──────────────── v0.23.10
  Installed DataAPI ────────────────────── v1.3.0
  Installed VersionParsing ─────────────── v1.2.0
  Installed CompilerSupportLibraries_jll ─ v0.3.3+0
  Installed PooledArrays ───────────────── v0.5.3
  Installed Requires ───────────────────── v1.0.1
  Installed CategoricalArrays ──────────── v0.8.1
  Installed Parsers ────────────────────── v1.0.10
  Installed TableTraits ────────────────── v1.0.0
  Installed OrderedCollections ─────────── v1.3.0
  Installed Tables ─────────────────────── v1.0.5
  Installed StatsModels ────────────────── v0.6.13
  Installed DataStructures ─────────────── v0.18.2
  Installed Reexport ───────────────────── v0.2.0
  Installed WinReg ─────────────────────── v0.3.1
  Installed Missings ───────────────────── v0.4.4
  Installed SortingAlgorithms ──────────── v0.3.1
  Installed InvertedIndices ────────────── v1.0.0
  Installed ShiftedArrays ──────────────── v1.0.0
  Installed SpecialFunctions ───────────── v0.10.3
  Installed QuadGK ─────────────────────── v2.4.1
  Installed IteratorInterfaceExtensions ── v1.0.0
  Installed OpenSpecFun_jll ────────────── v0.5.3+3
  Installed FillArrays ─────────────────── v0.9.5
  Installed DataValueInterfaces ────────── v1.0.0
  Installed StatsBase ──────────────────── v0.33.1
  Installed DataFrames ─────────────────── v0.21.7
Downloading artifact: Rmath
Downloading artifact: CompilerSupportLibraries
Downloading artifact: OpenSpecFun
Updating `~/.julia/environments/v1.6/Project.toml`
  [6f49c342] + RCall v0.13.7
Updating `~/.julia/environments/v1.6/Manifest.toml`
  [324d7699] + CategoricalArrays v0.8.1
  [34da2185] + Compat v3.15.0
  [e66e0078] + CompilerSupportLibraries_jll v0.3.3+0
  [8f4d0f93] + Conda v1.4.1
  [9a962f9c] + DataAPI v1.3.0
  [a93c6f00] + DataFrames v0.21.7
  [864edb3b] + DataStructures v0.18.2
  [e2d170a0] + DataValueInterfaces v1.0.0
  [31c24e10] + Distributions v0.23.10
  [1a297f60] + FillArrays v0.9.5
  [41ab1584] + InvertedIndices v1.0.0
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [682c06a0] + JSON v0.21.0
  [e1d29d7a] + Missings v0.4.4
  [efe28fd5] + OpenSpecFun_jll v0.5.3+3
  [bac558e1] + OrderedCollections v1.3.0
  [90014a1f] + PDMats v0.10.0
  [69de0a69] + Parsers v1.0.10
  [2dfb63ee] + PooledArrays v0.5.3
  [1fd47b50] + QuadGK v2.4.1
  [6f49c342] + RCall v0.13.7
  [189a3867] + Reexport v0.2.0
  [ae029012] + Requires v1.0.1
  [79098fc4] + Rmath v0.6.1
  [f50d1b31] + Rmath_jll v0.2.2+1
  [1277b4bf] + ShiftedArrays v1.0.0
  [a2af1166] + SortingAlgorithms v0.3.1
  [276daf66] + SpecialFunctions v0.10.3
  [2913bbd2] + StatsBase v0.33.1
  [4c63d2b9] + StatsFuns v0.9.5
  [3eaba693] + StatsModels v0.6.13
  [3783bdb8] + TableTraits v1.0.0
  [bd369af6] + Tables v1.0.5
  [81def892] + VersionParsing v1.2.0
  [1b915085] + WinReg v0.3.1
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8bb1440f] + DelimitedFiles
  [8ba89e20] + Distributed
  [9fa8497b] + Future
  [b77e0a4c] + InteractiveUtils
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [44cfe95a] + Pkg
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA
  [9e88b42a] + Serialization
  [1a1011a3] + SharedArrays
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays
  [10745b16] + Statistics
  [4607b0f0] + SuiteSparse
  [fa267f1f] + TOML
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
   Building Conda → `~/.julia/packages/Conda/3rPhK/deps/build.log`
   Building RCall → `~/.julia/packages/RCall/Qzssx/deps/build.log`
ERROR: Error building `RCall`, showing the last 100 of log:
    libssh2-1.9.0              |       ha12b0ac_1         250 KB
    libtiff-4.1.0              |       hcb84e12_1         405 KB
    libxml2-2.9.10             |       h3b9e6c8_1         1.1 MB
    lz4-c-1.9.2                |       hb1e8313_1         142 KB
    pcre-8.44                  |       hb1e8313_0         185 KB
    r-base-3.3.1               |                0        47.2 MB  r
    zstd-1.4.5                 |       h41d2c2f_0         442 KB
    ------------------------------------------------------------
                                           Total:        65.0 MB

The following NEW packages will be INSTALLED:

  _r-mutex           pkgs/r/osx-64::_r-mutex-1.0.0-anacondar_1
  curl               pkgs/main/osx-64::curl-7.71.1-hb0a8c7a_1
  gsl                pkgs/main/osx-64::gsl-2.4-h1de35cc_4
  icu                pkgs/main/osx-64::icu-58.2-h0a44026_3
  jpeg               pkgs/main/osx-64::jpeg-9b-he5867d9_2
  krb5               pkgs/main/osx-64::krb5-1.18.2-h75d18d8_0
  libcurl            pkgs/main/osx-64::libcurl-7.71.1-h8a08a2b_1
  libgcc             pkgs/main/osx-64::libgcc-4.8.5-hdbeacc1_10
  libgfortran        pkgs/main/osx-64::libgfortran-3.0.1-h93005f0_2
  libiconv           pkgs/main/osx-64::libiconv-1.16-h1de35cc_0
  libpng             pkgs/main/osx-64::libpng-1.6.37-ha441bb4_0
  libssh2            pkgs/main/osx-64::libssh2-1.9.0-ha12b0ac_1
  libtiff            pkgs/main/osx-64::libtiff-4.1.0-hcb84e12_1
  libxml2            pkgs/main/osx-64::libxml2-2.9.10-h3b9e6c8_1
  lz4-c              pkgs/main/osx-64::lz4-c-1.9.2-hb1e8313_1
  pcre               pkgs/main/osx-64::pcre-8.44-hb1e8313_0
  r-base             r/osx-64::r-base-3.3.1-0
  zstd               pkgs/main/osx-64::zstd-1.4.5-h41d2c2f_0



Downloading and Extracting Packages
_r-mutex-1.0.0       | 3 KB      | ########## | 100%
zstd-1.4.5           | 442 KB    | ########## | 100%
libtiff-4.1.0        | 405 KB    | ########## | 100%
libpng-1.6.37        | 262 KB    | ########## | 100%
lz4-c-1.9.2          | 142 KB    | ########## | 100%
r-base-3.3.1         | 47.2 MB   | ########## | 100%
icu-58.2             | 10.1 MB   | ########## | 100%
libgcc-4.8.5         | 250 KB    | ########## | 100%
pcre-8.44            | 185 KB    | ########## | 100%
libcurl-7.71.1       | 289 KB    | ########## | 100%
libiconv-1.16        | 693 KB    | ########## | 100%
curl-7.71.1          | 129 KB    | ########## | 100%
libssh2-1.9.0        | 250 KB    | ########## | 100%
libxml2-2.9.10       | 1.1 MB    | ########## | 100%
jpeg-9b              | 201 KB    | ########## | 100%
gsl-2.4              | 1.8 MB    | ########## | 100%
krb5-1.18.2          | 1.1 MB    | ########## | 100%
libgfortran-3.0.1    | 426 KB    | ########## | 100%
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
[ Info: Installing R via Conda.  To use a different R installation, set the "R_HOME" environment variable and re-run Pkg.build("RCall").
[ Info: Downloading miniconda installer ...
[ Info: Installing miniconda ...
[ Info: Running `conda config --add channels defaults --file /Users/dilum/.julia/conda/3/condarc-julia.yml --force` in root environment
[ Info: Running `conda update -y conda` in root environment
[ Info: Running `conda config --add channels r --file /Users/dilum/.julia/conda/3/condarc-julia.yml --force` in root environment
[ Info: Running `conda install -y r-base` in root environment
ERROR: could not load library "/Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib"
dlopen(/Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib, 1): Library not loaded: @rpath/libreadline.6.2.dylib
  Referenced from: /Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib
  Reason: image not found
ERROR: LoadError: Try adding /Users/dilum/.julia/conda/3/lib/R/lib to the "LD_LIBRARY_PATH" environmental variable and restarting Julia.
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:33
 [2] validate_libR(libR::String)
   @ Main ~/.julia/packages/RCall/Qzssx/deps/setup.jl:26
 [3] locate_libR(Rhome::String)
   @ Main ~/.julia/packages/RCall/Qzssx/deps/setup.jl:43
 [4] top-level scope
   @ ~/.julia/packages/RCall/Qzssx/deps/build.jl:32
 [5] include(fname::String)
   @ Base.MainInclude ./client.jl:444
 [6] top-level scope
   @ none:5
in expression starting at /Users/dilum/.julia/packages/RCall/Qzssx/deps/build.jl:11

caused by: could not load library "/Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib"
dlopen(/Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib, 1): Library not loaded: @rpath/libreadline.6.2.dylib
  Referenced from: /Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib
  Reason: image not found
Stacktrace:
 [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
   @ Base.Libc.Libdl ./libdl.jl:114
 [2] dlopen
   @ ./libdl.jl:114 [inlined]
 [3] validate_libR(libR::String)
   @ Main ~/.julia/packages/RCall/Qzssx/deps/setup.jl:16
 [4] locate_libR(Rhome::String)
   @ Main ~/.julia/packages/RCall/Qzssx/deps/setup.jl:43
 [5] top-level scope
   @ ~/.julia/packages/RCall/Qzssx/deps/build.jl:32
 [6] include(fname::String)
   @ Base.MainInclude ./client.jl:444
 [7] top-level scope
   @ none:5

Full log at /Users/dilum/.julia/packages/RCall/Qzssx/deps/build.log
Stacktrace:
  [1] pkgerror(::String, ::Vararg{String, N} where N)
    @ Pkg.Types ~/dev/repos/aluthge-forks/julia/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:52
  [2] (::Pkg.Operations.var"#72#76"{Bool, Pkg.Types.Context, String, String, Pkg.Types.PackageSpec})()
    @ Pkg.Operations ~/dev/repos/aluthge-forks/julia/usr/share/julia/stdlib/v1.6/Pkg/src/Operations.jl:950
  [3] withenv(f::Pkg.Operations.var"#72#76"{Bool, Pkg.Types.Context, String, String, Pkg.Types.PackageSpec}, keyvals::Pair{String, String})
    @ Base ./env.jl:161
  [4] (::Pkg.Operations.var"#98#102"{String, Pkg.Operations.var"#72#76"{Bool, Pkg.Types.Context, String, String, Pkg.Types.PackageSpec}, Pkg.Types.PackageSpec})()
    @ Pkg.Operations ~/dev/repos/aluthge-forks/julia/usr/share/julia/stdlib/v1.6/Pkg/src/Operations.jl:1435
  [5] with_temp_env(fn::Pkg.Operations.var"#98#102"{String, Pkg.Operations.var"#72#76"{Bool, Pkg.Types.Context, String, String, Pkg.Types.PackageSpec}, Pkg.Types.PackageSpec}, temp_env::String)
    @ Pkg.Operations ~/dev/repos/aluthge-forks/julia/usr/share/julia/stdlib/v1.6/Pkg/src/Operations.jl:1349
  [6] (::Pkg.Operations.var"#97#101"{Pkg.Operations.var"#72#76"{Bool, Pkg.Types.Context, String, String, Pkg.Types.PackageSpec}, Pkg.Types.Context, Pkg.Types.PackageSpec, String, Pkg.Types.Project, String})(tmp::String)
    @ Pkg.Operations ~/dev/repos/aluthge-forks/julia/usr/share/julia/stdlib/v1.6/Pkg/src/Operations.jl:1420
  [7] mktempdir(fn::Pkg.Operations.var"#97#101"{Pkg.Operations.var"#72#76"{Bool, Pkg.Types.Context, String, String, Pkg.Types.PackageSpec}, Pkg.Types.Context, Pkg.Types.PackageSpec, String, Pkg.Types.Project, String}, parent::String; prefix::String)
    @ Base.Filesystem ./file.jl:682
  [8] mktempdir(fn::Function, parent::String)
    @ Base.Filesystem ./file.jl:680
  [9] sandbox(fn::Function, ctx::Pkg.Types.Context, target::Pkg.Types.PackageSpec, target_path::String, sandbox_path::String, sandbox_project_override::Pkg.Types.Project)
    @ Pkg.Operations ~/dev/repos/aluthge-forks/julia/usr/share/julia/stdlib/v1.6/Pkg/src/Operations.jl:1387
 [10] build_versions(ctx::Pkg.Types.Context, uuids::Vector{Base.UUID}; might_need_to_resolve::Bool, verbose::Bool)
    @ Pkg.Operations ~/dev/repos/aluthge-forks/julia/usr/share/julia/stdlib/v1.6/Pkg/src/Operations.jl:931
 [11] build_versions
    @ ~/dev/repos/aluthge-forks/julia/usr/share/julia/stdlib/v1.6/Pkg/src/Operations.jl:889 [inlined]
 [12] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, new_git::Vector{Base.UUID}; preserve::Pkg.Types.PreserveLevel, platform::Pkg.BinaryPlatforms.MacOS)
    @ Pkg.Operations ~/dev/repos/aluthge-forks/julia/usr/share/julia/stdlib/v1.6/Pkg/src/Operations.jl:1146
 [13] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Pkg.BinaryPlatforms.MacOS, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API ~/dev/repos/aluthge-forks/julia/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:189
 [14] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec})
    @ Pkg.API ~/dev/repos/aluthge-forks/julia/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:140
 [15] #add#22
    @ ~/dev/repos/aluthge-forks/julia/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:67 [inlined]
 [16] add
    @ ~/dev/repos/aluthge-forks/julia/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:67 [inlined]
 [17] #add#21
    @ ~/dev/repos/aluthge-forks/julia/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:66 [inlined]
 [18] add
    @ ~/dev/repos/aluthge-forks/julia/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:66 [inlined]
 [19] add(pkg::String; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API ~/dev/repos/aluthge-forks/julia/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:65
 [20] add(pkg::String)
    @ Pkg.API ~/dev/repos/aluthge-forks/julia/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:65
 [21] top-level scope
    @ REPL[3]:1

julia> import InteractiveUtils

julia> InteractiveUtils.versioninfo(; verbose = true)
Julia Version 1.6.0-DEV.771
Commit 0336f672db (2020-08-30 01:07 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin19.6.0)
  uname: Darwin 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64 i386
  CPU: Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz:
              speed         user         nice          sys         idle          irq
       #1  2600 MHz      75098 s          0 s      25960 s     199600 s          0 s
       #2  2600 MHz      27882 s          0 s      10691 s     262079 s          0 s
       #3  2600 MHz      83415 s          0 s      22922 s     194315 s          0 s
       #4  2600 MHz      25442 s          0 s       9978 s     265232 s          0 s

  Memory: 8.0 GB (598.546875 MB free)
  Uptime: 32820.0 sec
  Load Avg:  2.16064453125  2.68212890625  2.54052734375
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-9.0.1 (ORCJIT, haswell)
Environment:
  TERM = xterm-256color
  PATH = /Users/dilum/bin:/Users/dilum/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/usr/local/MacGPG2/bin:/Library/Apple/usr/bin
  XPC_FLAGS = 0x0
  HOME = /Users/dilum
  R_HOME = *

julia> import Pkg

julia> Pkg.status(; mode = Pkg.PKGMODE_PROJECT)
Status `~/.julia/environments/v1.6/Project.toml`
  [6f49c342] RCall v0.13.7

julia> Pkg.status(; mode = Pkg.PKGMODE_MANIFEST)
Status `~/.julia/environments/v1.6/Manifest.toml`
  [324d7699] CategoricalArrays v0.8.1
  [34da2185] Compat v3.15.0
  [e66e0078] CompilerSupportLibraries_jll v0.3.3+0
  [8f4d0f93] Conda v1.4.1
  [9a962f9c] DataAPI v1.3.0
  [a93c6f00] DataFrames v0.21.7
  [864edb3b] DataStructures v0.18.2
  [e2d170a0] DataValueInterfaces v1.0.0
  [31c24e10] Distributions v0.23.10
  [1a297f60] FillArrays v0.9.5
  [41ab1584] InvertedIndices v1.0.0
  [82899510] IteratorInterfaceExtensions v1.0.0
  [682c06a0] JSON v0.21.0
  [e1d29d7a] Missings v0.4.4
  [efe28fd5] OpenSpecFun_jll v0.5.3+3
  [bac558e1] OrderedCollections v1.3.0
  [90014a1f] PDMats v0.10.0
  [69de0a69] Parsers v1.0.10
  [2dfb63ee] PooledArrays v0.5.3
  [1fd47b50] QuadGK v2.4.1
  [6f49c342] RCall v0.13.7
  [189a3867] Reexport v0.2.0
  [ae029012] Requires v1.0.1
  [79098fc4] Rmath v0.6.1
  [f50d1b31] Rmath_jll v0.2.2+1
  [1277b4bf] ShiftedArrays v1.0.0
  [a2af1166] SortingAlgorithms v0.3.1
  [276daf66] SpecialFunctions v0.10.3
  [2913bbd2] StatsBase v0.33.1
  [4c63d2b9] StatsFuns v0.9.5
  [3eaba693] StatsModels v0.6.13
  [3783bdb8] TableTraits v1.0.0
  [bd369af6] Tables v1.0.5
  [81def892] VersionParsing v1.2.0
  [1b915085] WinReg v0.3.1
  [2a0f44e3] Base64
  [ade2ca70] Dates
  [8bb1440f] DelimitedFiles
  [8ba89e20] Distributed
  [9fa8497b] Future
  [b77e0a4c] InteractiveUtils
  [76f85450] LibGit2
  [8f399da3] Libdl
  [37e2e46d] LinearAlgebra
  [56ddb016] Logging
  [d6f4376e] Markdown
  [a63ad114] Mmap
  [44cfe95a] Pkg
  [de0858da] Printf
  [3fa0cd96] REPL
  [9a3f8284] Random
  [ea8e919c] SHA
  [9e88b42a] Serialization
  [1a1011a3] SharedArrays
  [6462fe0b] Sockets
  [2f01184e] SparseArrays
  [10745b16] Statistics
  [4607b0f0] SuiteSparse
  [fa267f1f] TOML
  [8dfed614] Test
  [cf7118a7] UUIDs
  [4ec0a83e] Unicode

This is on macOS Catalina version 10.15.6 (19G2021).

@DilumAluthge
Copy link
Member Author

Here is the full build log: (click to expand)
PREFIX=/Users/dilum/.julia/conda/3
Unpacking payload ...

  0%|          | 0/33 [00:00<?, ?it/s]
Extracting : libcxx-10.0.0-1.conda:   0%|          | 0/33 [00:00<?, ?it/s]
Extracting : libcxx-10.0.0-1.conda:   3%|▎         | 1/33 [00:00<00:20,  1.59it/s]
Extracting : chardet-3.0.4-py38_1003.conda:   3%|▎         | 1/33 [00:00<00:20,  1.59it/s]
Extracting : idna-2.9-py_1.conda:   6%|▌         | 2/33 [00:00<00:19,  1.59it/s]          
Extracting : wheel-0.34.2-py38_0.conda:   9%|▉         | 3/33 [00:00<00:18,  1.59it/s]
Extracting : pysocks-1.7.1-py38_0.conda:  12%|█▏        | 4/33 [00:00<00:18,  1.59it/s]
Extracting : python-3.8.3-h26836e1_1.conda:  15%|█▌        | 5/33 [00:04<00:17,  1.59it/s]
Extracting : python-3.8.3-h26836e1_1.conda:  18%|█▊        | 6/33 [00:04<00:17,  1.50it/s]
Extracting : pip-20.0.2-py38_3.conda:  18%|█▊        | 6/33 [00:04<00:17,  1.50it/s]      
Extracting : tqdm-4.46.0-py_0.conda:  21%|██        | 7/33 [00:04<00:17,  1.50it/s] 
Extracting : cryptography-2.9.2-py38ha12b0ac_0.conda:  24%|██▍       | 8/33 [00:04<00:16,  1.50it/s]
Extracting : libffi-3.3-h0a44026_1.conda:  27%|██▋       | 9/33 [00:04<00:15,  1.50it/s]            
Extracting : zlib-1.2.11-h1de35cc_3.conda:  30%|███       | 10/33 [00:04<00:15,  1.50it/s]
Extracting : ca-certificates-2020.1.1-0.conda:  33%|███▎      | 11/33 [00:04<00:14,  1.50it/s]
Extracting : pycosat-0.6.3-py38h1de35cc_1.conda:  36%|███▋      | 12/33 [00:04<00:13,  1.50it/s]
Extracting : pyopenssl-19.1.0-py38_0.conda:  39%|███▉      | 13/33 [00:04<00:13,  1.50it/s]     
Extracting : conda-package-handling-1.6.1-py38h1de35cc_0.conda:  42%|████▏     | 14/33 [00:04<00:12,  1.50it/s]
Extracting : readline-8.0-h1de35cc_0.conda:  45%|████▌     | 15/33 [00:04<00:11,  1.50it/s]                    
Extracting : certifi-2020.4.5.1-py38_0.conda:  48%|████▊     | 16/33 [00:04<00:11,  1.50it/s]
Extracting : ruamel_yaml-0.15.87-py38h1de35cc_0.conda:  52%|█████▏    | 17/33 [00:04<00:10,  1.50it/s]
Extracting : setuptools-46.4.0-py38_0.conda:  55%|█████▍    | 18/33 [00:04<00:09,  1.50it/s]          
Extracting : six-1.14.0-py38_0.conda:  58%|█████▊    | 19/33 [00:04<00:09,  1.50it/s]       
Extracting : libedit-3.1.20181209-hb402a30_0.conda:  61%|██████    | 20/33 [00:04<00:08,  1.50it/s]
Extracting : openssl-1.1.1g-h1de35cc_0.conda:  64%|██████▎   | 21/33 [00:04<00:07,  1.50it/s]      
Extracting : cffi-1.14.0-py38hc512035_1.conda:  67%|██████▋   | 22/33 [00:04<00:07,  1.50it/s]
Extracting : python.app-2-py38_10.conda:  70%|██████▉   | 23/33 [00:04<00:06,  1.50it/s]      
Extracting : pycparser-2.20-py_0.conda:  73%|███████▎  | 24/33 [00:04<00:05,  1.50it/s] 
Extracting : urllib3-1.25.8-py38_0.conda:  76%|███████▌  | 25/33 [00:04<00:05,  1.50it/s]
Extracting : yaml-0.1.7-hc338f04_2.conda:  79%|███████▉  | 26/33 [00:04<00:04,  1.50it/s]
Extracting : sqlite-3.31.1-h5c1f38d_1.conda:  82%|████████▏ | 27/33 [00:04<00:03,  1.50it/s]
Extracting : ncurses-6.2-h0a44026_1.conda:  85%|████████▍ | 28/33 [00:04<00:03,  1.50it/s]  
Extracting : xz-5.2.5-h1de35cc_0.conda:  88%|████████▊ | 29/33 [00:04<00:02,  1.50it/s]   
Extracting : requests-2.23.0-py38_0.conda:  91%|█████████ | 30/33 [00:04<00:01,  1.50it/s]
Extracting : tk-8.6.8-ha441bb4_0.conda:  94%|█████████▍| 31/33 [00:04<00:01,  1.50it/s]   
Extracting : conda-4.8.3-py38_0.tar.bz2:  97%|█████████▋| 32/33 [00:04<00:00,  1.50it/s]
Extracting : conda-4.8.3-py38_0.tar.bz2: 100%|██████████| 33/33 [00:04<00:00,  2.13it/s]
                                                                                        
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /Users/dilum/.julia/conda/3

  added / updated specs:
    - ca-certificates==2020.1.1=0
    - certifi==2020.4.5.1=py38_0
    - cffi==1.14.0=py38hc512035_1
    - chardet==3.0.4=py38_1003
    - conda-package-handling==1.6.1=py38h1de35cc_0
    - conda==4.8.3=py38_0
    - cryptography==2.9.2=py38ha12b0ac_0
    - idna==2.9=py_1
    - libcxx==10.0.0=1
    - libedit==3.1.20181209=hb402a30_0
    - libffi==3.3=h0a44026_1
    - ncurses==6.2=h0a44026_1
    - openssl==1.1.1g=h1de35cc_0
    - pip==20.0.2=py38_3
    - pycosat==0.6.3=py38h1de35cc_1
    - pycparser==2.20=py_0
    - pyopenssl==19.1.0=py38_0
    - pysocks==1.7.1=py38_0
    - python.app==2=py38_10
    - python==3.8.3=h26836e1_1
    - readline==8.0=h1de35cc_0
    - requests==2.23.0=py38_0
    - ruamel_yaml==0.15.87=py38h1de35cc_0
    - setuptools==46.4.0=py38_0
    - six==1.14.0=py38_0
    - sqlite==3.31.1=h5c1f38d_1
    - tk==8.6.8=ha441bb4_0
    - tqdm==4.46.0=py_0
    - urllib3==1.25.8=py38_0
    - wheel==0.34.2=py38_0
    - xz==5.2.5=h1de35cc_0
    - yaml==0.1.7=hc338f04_2
    - zlib==1.2.11=h1de35cc_3


The following NEW packages will be INSTALLED:

  ca-certificates    pkgs/main/osx-64::ca-certificates-2020.1.1-0
  certifi            pkgs/main/osx-64::certifi-2020.4.5.1-py38_0
  cffi               pkgs/main/osx-64::cffi-1.14.0-py38hc512035_1
  chardet            pkgs/main/osx-64::chardet-3.0.4-py38_1003
  conda              pkgs/main/osx-64::conda-4.8.3-py38_0
  conda-package-han~ pkgs/main/osx-64::conda-package-handling-1.6.1-py38h1de35cc_0
  cryptography       pkgs/main/osx-64::cryptography-2.9.2-py38ha12b0ac_0
  idna               pkgs/main/noarch::idna-2.9-py_1
  libcxx             pkgs/main/osx-64::libcxx-10.0.0-1
  libedit            pkgs/main/osx-64::libedit-3.1.20181209-hb402a30_0
  libffi             pkgs/main/osx-64::libffi-3.3-h0a44026_1
  ncurses            pkgs/main/osx-64::ncurses-6.2-h0a44026_1
  openssl            pkgs/main/osx-64::openssl-1.1.1g-h1de35cc_0
  pip                pkgs/main/osx-64::pip-20.0.2-py38_3
  pycosat            pkgs/main/osx-64::pycosat-0.6.3-py38h1de35cc_1
  pycparser          pkgs/main/noarch::pycparser-2.20-py_0
  pyopenssl          pkgs/main/osx-64::pyopenssl-19.1.0-py38_0
  pysocks            pkgs/main/osx-64::pysocks-1.7.1-py38_0
  python             pkgs/main/osx-64::python-3.8.3-h26836e1_1
  python.app         pkgs/main/osx-64::python.app-2-py38_10
  readline           pkgs/main/osx-64::readline-8.0-h1de35cc_0
  requests           pkgs/main/osx-64::requests-2.23.0-py38_0
  ruamel_yaml        pkgs/main/osx-64::ruamel_yaml-0.15.87-py38h1de35cc_0
  setuptools         pkgs/main/osx-64::setuptools-46.4.0-py38_0
  six                pkgs/main/osx-64::six-1.14.0-py38_0
  sqlite             pkgs/main/osx-64::sqlite-3.31.1-h5c1f38d_1
  tk                 pkgs/main/osx-64::tk-8.6.8-ha441bb4_0
  tqdm               pkgs/main/noarch::tqdm-4.46.0-py_0
  urllib3            pkgs/main/osx-64::urllib3-1.25.8-py38_0
  wheel              pkgs/main/osx-64::wheel-0.34.2-py38_0
  xz                 pkgs/main/osx-64::xz-5.2.5-h1de35cc_0
  yaml               pkgs/main/osx-64::yaml-0.1.7-hc338f04_2
  zlib               pkgs/main/osx-64::zlib-1.2.11-h1de35cc_3


Preparing transaction: ...working... done
Executing transaction: ...working... done
installation finished.
Warning: 'defaults' already in 'channels' list, moving to the top
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /Users/dilum/.julia/conda/3

  added / updated specs:
    - conda


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    brotlipy-0.7.0             |py38haf1e3a3_1000         331 KB
    ca-certificates-2020.7.22  |                0         124 KB
    certifi-2020.6.20          |           py38_0         156 KB
    cffi-1.14.2                |   py38hed5b41f_0         220 KB
    conda-4.8.4                |           py38_0         2.9 MB
    cryptography-3.0           |   py38hddc9c9b_0         565 KB
    idna-2.10                  |             py_0          50 KB
    libedit-3.1.20191231       |       h1de35cc_1          96 KB
    libffi-3.3                 |       hb1e8313_2          44 KB
    pip-20.2.2                 |           py38_0         1.7 MB
    pycparser-2.20             |             py_2          94 KB
    pyopenssl-19.1.0           |             py_1          48 KB
    pysocks-1.7.1              |           py38_1          27 KB
    requests-2.24.0            |             py_0          56 KB
    ruamel_yaml-0.15.87        |   py38haf1e3a3_1         239 KB
    setuptools-49.6.0          |           py38_0         747 KB
    six-1.15.0                 |             py_0          13 KB
    sqlite-3.33.0              |       hffcf06c_0         1.3 MB
    tk-8.6.10                  |       hb0a8c7a_0         3.0 MB
    tqdm-4.48.2                |             py_0          63 KB
    urllib3-1.25.10            |             py_0          98 KB
    wheel-0.35.1               |             py_0          37 KB
    yaml-0.2.5                 |       haf1e3a3_0          72 KB
    ------------------------------------------------------------
                                           Total:        11.8 MB

The following NEW packages will be INSTALLED:

  brotlipy           pkgs/main/osx-64::brotlipy-0.7.0-py38haf1e3a3_1000

The following packages will be UPDATED:

  ca-certificates                                2020.1.1-0 --> 2020.7.22-0
  certifi                                 2020.4.5.1-py38_0 --> 2020.6.20-py38_0
  cffi                                1.14.0-py38hc512035_1 --> 1.14.2-py38hed5b41f_0
  conda                                        4.8.3-py38_0 --> 4.8.4-py38_0
  cryptography                         2.9.2-py38ha12b0ac_0 --> 3.0-py38hddc9c9b_0
  idna                                             2.9-py_1 --> 2.10-py_0
  libedit                           3.1.20181209-hb402a30_0 --> 3.1.20191231-h1de35cc_1
  libffi                                     3.3-h0a44026_1 --> 3.3-hb1e8313_2
  pip                                         20.0.2-py38_3 --> 20.2.2-py38_0
  pycparser                                       2.20-py_0 --> 2.20-py_2
  pyopenssl          pkgs/main/osx-64::pyopenssl-19.1.0-py~ --> pkgs/main/noarch::pyopenssl-19.1.0-py_1
  pysocks                                      1.7.1-py38_0 --> 1.7.1-py38_1
  requests           pkgs/main/osx-64::requests-2.23.0-py3~ --> pkgs/main/noarch::requests-2.24.0-py_0
  ruamel_yaml                        0.15.87-py38h1de35cc_0 --> 0.15.87-py38haf1e3a3_1
  setuptools                                  46.4.0-py38_0 --> 49.6.0-py38_0
  six                   pkgs/main/osx-64::six-1.14.0-py38_0 --> pkgs/main/noarch::six-1.15.0-py_0
  sqlite                                  3.31.1-h5c1f38d_1 --> 3.33.0-hffcf06c_0
  tk                                       8.6.8-ha441bb4_0 --> 8.6.10-hb0a8c7a_0
  tqdm                                          4.46.0-py_0 --> 4.48.2-py_0
  urllib3            pkgs/main/osx-64::urllib3-1.25.8-py38~ --> pkgs/main/noarch::urllib3-1.25.10-py_0
  wheel               pkgs/main/osx-64::wheel-0.34.2-py38_0 --> pkgs/main/noarch::wheel-0.35.1-py_0
  yaml                                     0.1.7-hc338f04_2 --> 0.2.5-haf1e3a3_0



Downloading and Extracting Packages

ruamel_yaml-0.15.87  | 239 KB    |            |   0% 
ruamel_yaml-0.15.87  | 239 KB    | ###3       |  34% 
ruamel_yaml-0.15.87  | 239 KB    | ########## | 100% 

sqlite-3.33.0        | 1.3 MB    |            |   0% 
sqlite-3.33.0        | 1.3 MB    | ######3    |  64% 
sqlite-3.33.0        | 1.3 MB    | ########## | 100% 

tqdm-4.48.2          | 63 KB     |            |   0% 
tqdm-4.48.2          | 63 KB     | ########## | 100% 

pycparser-2.20       | 94 KB     |            |   0% 
pycparser-2.20       | 94 KB     | ########## | 100% 

certifi-2020.6.20    | 156 KB    |            |   0% 
certifi-2020.6.20    | 156 KB    | ########## | 100% 

brotlipy-0.7.0       | 331 KB    |            |   0% 
brotlipy-0.7.0       | 331 KB    | ########## | 100% 

ca-certificates-2020 | 124 KB    |            |   0% 
ca-certificates-2020 | 124 KB    | ########## | 100% 

cffi-1.14.2          | 220 KB    |            |   0% 
cffi-1.14.2          | 220 KB    | ########## | 100% 

pysocks-1.7.1        | 27 KB     |            |   0% 
pysocks-1.7.1        | 27 KB     | ########## | 100% 

libffi-3.3           | 44 KB     |            |   0% 
libffi-3.3           | 44 KB     | ########## | 100% 

pyopenssl-19.1.0     | 48 KB     |            |   0% 
pyopenssl-19.1.0     | 48 KB     | ########## | 100% 

yaml-0.2.5           | 72 KB     |            |   0% 
yaml-0.2.5           | 72 KB     | ########## | 100% 

urllib3-1.25.10      | 98 KB     |            |   0% 
urllib3-1.25.10      | 98 KB     | ########## | 100% 

tk-8.6.10            | 3.0 MB    |            |   0% 
tk-8.6.10            | 3.0 MB    | #9         |  20% 
tk-8.6.10            | 3.0 MB    | #######6   |  76% 
tk-8.6.10            | 3.0 MB    | ########## | 100% 

libedit-3.1.20191231 | 96 KB     |            |   0% 
libedit-3.1.20191231 | 96 KB     | ########## | 100% 

idna-2.10            | 50 KB     |            |   0% 
idna-2.10            | 50 KB     | ########## | 100% 

setuptools-49.6.0    | 747 KB    |            |   0% 
setuptools-49.6.0    | 747 KB    | ####9      |  49% 
setuptools-49.6.0    | 747 KB    | ########## | 100% 

cryptography-3.0     | 565 KB    |            |   0% 
cryptography-3.0     | 565 KB    | ########## | 100% 

pip-20.2.2           | 1.7 MB    |            |   0% 
pip-20.2.2           | 1.7 MB    | ####4      |  44% 
pip-20.2.2           | 1.7 MB    | ########## | 100% 

wheel-0.35.1         | 37 KB     |            |   0% 
wheel-0.35.1         | 37 KB     | ########## | 100% 

six-1.15.0           | 13 KB     |            |   0% 
six-1.15.0           | 13 KB     | ########## | 100% 

requests-2.24.0      | 56 KB     |            |   0% 
requests-2.24.0      | 56 KB     | ########## | 100% 

conda-4.8.4          | 2.9 MB    |            |   0% 
conda-4.8.4          | 2.9 MB    | #6         |  16% 
conda-4.8.4          | 2.9 MB    | ######6    |  66% 
conda-4.8.4          | 2.9 MB    | ########## | 100% 
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /Users/dilum/.julia/conda/3

  added / updated specs:
    - r-base


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _r-mutex-1.0.0             |      anacondar_1           3 KB
    curl-7.71.1                |       hb0a8c7a_1         129 KB
    gsl-2.4                    |       h1de35cc_4         1.8 MB
    icu-58.2                   |       h0a44026_3        10.1 MB
    jpeg-9b                    |       he5867d9_2         201 KB
    krb5-1.18.2                |       h75d18d8_0         1.1 MB
    libcurl-7.71.1             |       h8a08a2b_1         289 KB
    libgcc-4.8.5               |      hdbeacc1_10         250 KB
    libgfortran-3.0.1          |       h93005f0_2         426 KB
    libiconv-1.16              |       h1de35cc_0         693 KB
    libpng-1.6.37              |       ha441bb4_0         262 KB
    libssh2-1.9.0              |       ha12b0ac_1         250 KB
    libtiff-4.1.0              |       hcb84e12_1         405 KB
    libxml2-2.9.10             |       h3b9e6c8_1         1.1 MB
    lz4-c-1.9.2                |       hb1e8313_1         142 KB
    pcre-8.44                  |       hb1e8313_0         185 KB
    r-base-3.3.1               |                0        47.2 MB  r
    zstd-1.4.5                 |       h41d2c2f_0         442 KB
    ------------------------------------------------------------
                                           Total:        65.0 MB

The following NEW packages will be INSTALLED:

  _r-mutex           pkgs/r/osx-64::_r-mutex-1.0.0-anacondar_1
  curl               pkgs/main/osx-64::curl-7.71.1-hb0a8c7a_1
  gsl                pkgs/main/osx-64::gsl-2.4-h1de35cc_4
  icu                pkgs/main/osx-64::icu-58.2-h0a44026_3
  jpeg               pkgs/main/osx-64::jpeg-9b-he5867d9_2
  krb5               pkgs/main/osx-64::krb5-1.18.2-h75d18d8_0
  libcurl            pkgs/main/osx-64::libcurl-7.71.1-h8a08a2b_1
  libgcc             pkgs/main/osx-64::libgcc-4.8.5-hdbeacc1_10
  libgfortran        pkgs/main/osx-64::libgfortran-3.0.1-h93005f0_2
  libiconv           pkgs/main/osx-64::libiconv-1.16-h1de35cc_0
  libpng             pkgs/main/osx-64::libpng-1.6.37-ha441bb4_0
  libssh2            pkgs/main/osx-64::libssh2-1.9.0-ha12b0ac_1
  libtiff            pkgs/main/osx-64::libtiff-4.1.0-hcb84e12_1
  libxml2            pkgs/main/osx-64::libxml2-2.9.10-h3b9e6c8_1
  lz4-c              pkgs/main/osx-64::lz4-c-1.9.2-hb1e8313_1
  pcre               pkgs/main/osx-64::pcre-8.44-hb1e8313_0
  r-base             r/osx-64::r-base-3.3.1-0
  zstd               pkgs/main/osx-64::zstd-1.4.5-h41d2c2f_0



Downloading and Extracting Packages

_r-mutex-1.0.0       | 3 KB      |            |   0% 
_r-mutex-1.0.0       | 3 KB      | ########## | 100% 
_r-mutex-1.0.0       | 3 KB      | ########## | 100% 

zstd-1.4.5           | 442 KB    |            |   0% 
zstd-1.4.5           | 442 KB    | ########## | 100% 
zstd-1.4.5           | 442 KB    | ########## | 100% 

libtiff-4.1.0        | 405 KB    |            |   0% 
libtiff-4.1.0        | 405 KB    | ########## | 100% 
libtiff-4.1.0        | 405 KB    | ########## | 100% 

libpng-1.6.37        | 262 KB    |            |   0% 
libpng-1.6.37        | 262 KB    | ########## | 100% 
libpng-1.6.37        | 262 KB    | ########## | 100% 

lz4-c-1.9.2          | 142 KB    |            |   0% 
lz4-c-1.9.2          | 142 KB    | ########## | 100% 

r-base-3.3.1         | 47.2 MB   |            |   0% 
r-base-3.3.1         | 47.2 MB   |            |   0% 
r-base-3.3.1         | 47.2 MB   | 2          |   2% 
r-base-3.3.1         | 47.2 MB   | 4          |   5% 
r-base-3.3.1         | 47.2 MB   | 8          |   9% 
r-base-3.3.1         | 47.2 MB   | #          |  11% 
r-base-3.3.1         | 47.2 MB   | #2         |  12% 
r-base-3.3.1         | 47.2 MB   | #4         |  15% 
r-base-3.3.1         | 47.2 MB   | #7         |  18% 
r-base-3.3.1         | 47.2 MB   | ##         |  20% 
r-base-3.3.1         | 47.2 MB   | ##2        |  23% 
r-base-3.3.1         | 47.2 MB   | ##5        |  25% 
r-base-3.3.1         | 47.2 MB   | ##7        |  28% 
r-base-3.3.1         | 47.2 MB   | ###        |  30% 
r-base-3.3.1         | 47.2 MB   | ###2       |  33% 
r-base-3.3.1         | 47.2 MB   | ###5       |  36% 
r-base-3.3.1         | 47.2 MB   | ###8       |  38% 
r-base-3.3.1         | 47.2 MB   | ####       |  41% 
r-base-3.3.1         | 47.2 MB   | ####3      |  43% 
r-base-3.3.1         | 47.2 MB   | ####5      |  46% 
r-base-3.3.1         | 47.2 MB   | ####8      |  49% 
r-base-3.3.1         | 47.2 MB   | #####1     |  51% 
r-base-3.3.1         | 47.2 MB   | #####3     |  54% 
r-base-3.3.1         | 47.2 MB   | #####6     |  56% 
r-base-3.3.1         | 47.2 MB   | #####8     |  59% 
r-base-3.3.1         | 47.2 MB   | ######1    |  62% 
r-base-3.3.1         | 47.2 MB   | ######4    |  64% 
r-base-3.3.1         | 47.2 MB   | ######6    |  67% 
r-base-3.3.1         | 47.2 MB   | ######9    |  69% 
r-base-3.3.1         | 47.2 MB   | #######1   |  72% 
r-base-3.3.1         | 47.2 MB   | #######4   |  75% 
r-base-3.3.1         | 47.2 MB   | #######7   |  77% 
r-base-3.3.1         | 47.2 MB   | #######9   |  80% 
r-base-3.3.1         | 47.2 MB   | ########2  |  82% 
r-base-3.3.1         | 47.2 MB   | ########4  |  85% 
r-base-3.3.1         | 47.2 MB   | ########7  |  87% 
r-base-3.3.1         | 47.2 MB   | #########  |  90% 
r-base-3.3.1         | 47.2 MB   | #########3 |  93% 
r-base-3.3.1         | 47.2 MB   | #########5 |  96% 
r-base-3.3.1         | 47.2 MB   | #########8 |  98% 
r-base-3.3.1         | 47.2 MB   | ########## | 100% 

icu-58.2             | 10.1 MB   |            |   0% 
icu-58.2             | 10.1 MB   | 7          |   7% 
icu-58.2             | 10.1 MB   | ##2        |  22% 
icu-58.2             | 10.1 MB   | ####1      |  42% 
icu-58.2             | 10.1 MB   | #####1     |  52% 
icu-58.2             | 10.1 MB   | ######6    |  66% 
icu-58.2             | 10.1 MB   | ########   |  81% 
icu-58.2             | 10.1 MB   | #########1 |  92% 
icu-58.2             | 10.1 MB   | ########## | 100% 

libgcc-4.8.5         | 250 KB    |            |   0% 
libgcc-4.8.5         | 250 KB    | ########## | 100% 

pcre-8.44            | 185 KB    |            |   0% 
pcre-8.44            | 185 KB    | ########## | 100% 

libcurl-7.71.1       | 289 KB    |            |   0% 
libcurl-7.71.1       | 289 KB    | ########## | 100% 

libiconv-1.16        | 693 KB    |            |   0% 
libiconv-1.16        | 693 KB    | ########## | 100% 
libiconv-1.16        | 693 KB    | ########## | 100% 

curl-7.71.1          | 129 KB    |            |   0% 
curl-7.71.1          | 129 KB    | ########## | 100% 

libssh2-1.9.0        | 250 KB    |            |   0% 
libssh2-1.9.0        | 250 KB    | ########## | 100% 
libssh2-1.9.0        | 250 KB    | ########## | 100% 

libxml2-2.9.10       | 1.1 MB    |            |   0% 
libxml2-2.9.10       | 1.1 MB    | ########9  |  89% 
libxml2-2.9.10       | 1.1 MB    | ########## | 100% 

jpeg-9b              | 201 KB    |            |   0% 
jpeg-9b              | 201 KB    | ########## | 100% 

gsl-2.4              | 1.8 MB    |            |   0% 
gsl-2.4              | 1.8 MB    | #####3     |  53% 
gsl-2.4              | 1.8 MB    | ########## | 100% 
gsl-2.4              | 1.8 MB    | ########## | 100% 

krb5-1.18.2          | 1.1 MB    |            |   0% 
krb5-1.18.2          | 1.1 MB    | ########5  |  85% 
krb5-1.18.2          | 1.1 MB    | ########## | 100% 

libgfortran-3.0.1    | 426 KB    |            |   0% 
libgfortran-3.0.1    | 426 KB    | ########## | 100% 
libgfortran-3.0.1    | 426 KB    | ########## | 100% 
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
[ Info: Installing R via Conda.  To use a different R installation, set the "R_HOME" environment variable and re-run Pkg.build("RCall").
[ Info: Downloading miniconda installer ...
[ Info: Installing miniconda ...
[ Info: Running `conda config --add channels defaults --file /Users/dilum/.julia/conda/3/condarc-julia.yml --force` in root environment
[ Info: Running `conda update -y conda` in root environment
[ Info: Running `conda config --add channels r --file /Users/dilum/.julia/conda/3/condarc-julia.yml --force` in root environment
[ Info: Running `conda install -y r-base` in root environment
ERROR: could not load library "/Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib"
dlopen(/Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib, 1): Library not loaded: @rpath/libreadline.6.2.dylib
  Referenced from: /Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib
  Reason: image not found
ERROR: LoadError: Try adding /Users/dilum/.julia/conda/3/lib/R/lib to the "LD_LIBRARY_PATH" environmental variable and restarting Julia.
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:33
 [2] validate_libR(libR::String)
   @ Main ~/.julia/packages/RCall/Qzssx/deps/setup.jl:26
 [3] locate_libR(Rhome::String)
   @ Main ~/.julia/packages/RCall/Qzssx/deps/setup.jl:43
 [4] top-level scope
   @ ~/.julia/packages/RCall/Qzssx/deps/build.jl:32
 [5] include(fname::String)
   @ Base.MainInclude ./client.jl:444
 [6] top-level scope
   @ none:5
in expression starting at /Users/dilum/.julia/packages/RCall/Qzssx/deps/build.jl:11

caused by: could not load library "/Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib"
dlopen(/Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib, 1): Library not loaded: @rpath/libreadline.6.2.dylib
  Referenced from: /Users/dilum/.julia/conda/3/lib/R/lib/libR.dylib
  Reason: image not found
Stacktrace:
 [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
   @ Base.Libc.Libdl ./libdl.jl:114
 [2] dlopen
   @ ./libdl.jl:114 [inlined]
 [3] validate_libR(libR::String)
   @ Main ~/.julia/packages/RCall/Qzssx/deps/setup.jl:16
 [4] locate_libR(Rhome::String)
   @ Main ~/.julia/packages/RCall/Qzssx/deps/setup.jl:43
 [5] top-level scope
   @ ~/.julia/packages/RCall/Qzssx/deps/build.jl:32
 [6] include(fname::String)
   @ Base.MainInclude ./client.jl:444
 [7] top-level scope
   @ none:5

@maleadt
Copy link
Member

maleadt commented Sep 1, 2020

With JuliaCI/PkgEval.jl#74 (now using R from Conda), this issue causes RCall.jl PkgEval to fail as it doesn't find libreadline 6. FWIW, both the latest two Ubuntu LTS releases only have libreadline 5 and 8 in their repo's.

@DilumAluthge DilumAluthge changed the title Error building RCall on Julia 1.5.0 on macOS Error building RCall on Julia 1.5.0 Sep 15, 2020
@DilumAluthge
Copy link
Member Author

With JuliaComputing/NewPkgEval.jl#74 (now using R from Conda), this issue causes RCall.jl PkgEval to fail as it doesn't find libreadline 6. FWIW, both the latest two Ubuntu LTS releases only have libreadline 5 and 8 in their repo's.

This indicates that the bug occurs on both Linux (PkgEval is run on Linux) and macOS (I can reproduce this bug on macOS).

I have updated the issue title accordingly.

@DilumAluthge DilumAluthge changed the title Error building RCall on Julia 1.5.0 Error building RCall on Julia 1.5.0 on both Linux and macOS Sep 16, 2020
@DilumAluthge
Copy link
Member Author

It's worth noting that this also happens in AutoMerge on the General registry, which runs on the Microsoft-hosted Ubuntu runners. See e.g. JuliaRegistries/General#21264. Specifically, see the GitHub Actions log here: https://github.com/JuliaRegistries/General/runs/1119838352

@DilumAluthge
Copy link
Member Author

This should be fixed by #390.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants