Error in installing ellipsis

Hi All,

I am facing a problem installing the latest version of the ellipsis package (0.3.2). I get the following error:

install.packages("ellipsis")
Installing package into ‘/home/rstudio/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/src/contrib/ellipsis_0.3.2.tar.gz'
Content type 'application/x-gzip' length 8066 bytes
==================================================
downloaded 8066 bytes

* installing *source* package ‘ellipsis’ ...
** package ‘ellipsis’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-ttHamR/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c dots.c -o dots.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-ttHamR/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c init.c -o init.o
gcc -std=gnu99 -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o ellipsis.so dots.o init.o -L/usr/lib/R/lib -lR
installing to /home/rstudio/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-ellipsis/00new/ellipsis/libs
** R
** byte-compile and prepare package for lazy loading
Error: .onLoad failed in loadNamespace() for 'rlang', details:
  call: NULL
  error: 'is_character' is not an exported object from 'namespace:rlang'
Execution halted
ERROR: lazy loading failed for package ‘ellipsis’
* removing ‘/home/rstudio/R/x86_64-pc-linux-gnu-library/4.0/ellipsis’
Warning in install.packages :
  installation of package ‘ellipsis’ had non-zero exit status

The downloaded source packages are in
	‘/tmp/RtmphW3Ovq/downloaded_packages’

Here is my session info for reference:

R version 4.0.2 (2020-06-22)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.5 LTS

Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/openblas/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/libopenblasp-r0.2.20.so

locale:
[1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8 LC_COLLATE=C.UTF-8 LC_MONETARY=C.UTF-8
[6] LC_MESSAGES=C.UTF-8 LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] crayon_1.3.4 digest_0.6.25 dplyr_1.0.1 rappdirs_0.3.1 R6_2.4.1 lifecycle_1.0.2 storr_1.2.5
[8] magrittr_1.5 pillar_1.4.6 rlang_1.0.5 cli_3.4.0 remotes_2.4.2 rstudioapi_0.11 ellipsis_0.3.1
[15] vctrs_0.3.2 generics_0.0.2 tools_4.0.2 glue_1.4.1 purrr_0.3.4 xfun_0.16 fastmap_1.1.0
[22] compiler_4.0.2 pkgconfig_2.0.3 rdhs_0.7.3 htmltools_0.5.3 tidyselect_1.1.0 knitr_1.29 tibble_3.0.3

Try reinstalling or updating rlang

install.packages("rlang")

Then restart your R session and try to install ellipsis again.

Hi andresrcs,

Thanks so much for your response.

I reinstalled rlang version:

remove.packages("rlang")
Removing package from ‘/home/rstudio/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
> install.packages("rlang")
Error in install.packages : Updating loaded packages
> install.packages("rlang")
Installing package into ‘/home/rstudio/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/src/contrib/rlang_1.0.5.tar.gz'
Content type 'application/x-gzip' length 741683 bytes (724 KB)
==================================================
downloaded 724 KB

* installing *source* package ‘rlang’ ...
** package ‘rlang’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I./rlang/    -fvisibility=hidden -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-ttHamR/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c capture.c -o capture.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I./rlang/    -fvisibility=hidden -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-ttHamR/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c internal.c -o internal.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I./rlang/     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-ttHamR/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c rlang-rcc.cpp -o rlang-rcc.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I./rlang/    -fvisibility=hidden -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-ttHamR/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c rlang.c -o rlang.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I./rlang/    -fvisibility=hidden -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-ttHamR/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c version.c -o version.o
g++ -std=gnu++11 -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o rlang.so capture.o internal.o rlang-rcc.o rlang.o version.o -L/usr/lib/R/lib -lR
installing to /home/rstudio/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-rlang/00new/rlang/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (rlang)

The downloaded source packages are in
	‘/tmp/RtmpLgaibc/downloaded_packages’

I then restrated the R session and tried installing {r}ellipsis again. But I get the same error message:

install.packages("ellipsis")
Installing package into ‘/home/rstudio/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/src/contrib/ellipsis_0.3.2.tar.gz'
Content type 'application/x-gzip' length 8066 bytes
==================================================
downloaded 8066 bytes

* installing *source* package ‘ellipsis’ ...
** package ‘ellipsis’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-ttHamR/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c dots.c -o dots.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-ttHamR/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c init.c -o init.o
gcc -std=gnu99 -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o ellipsis.so dots.o init.o -L/usr/lib/R/lib -lR
installing to /home/rstudio/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-ellipsis/00new/ellipsis/libs
** R
** byte-compile and prepare package for lazy loading
Error: .onLoad failed in loadNamespace() for 'rlang', details:
  call: NULL
  error: 'is_character' is not an exported object from 'namespace:rlang'
Execution halted
ERROR: lazy loading failed for package ‘ellipsis’
* removing ‘/home/rstudio/R/x86_64-pc-linux-gnu-library/4.0/ellipsis’
Warning in install.packages :
  installation of package ‘ellipsis’ had non-zero exit status

The downloaded source packages are in
	‘/tmp/Rtmpy2giPd/downloaded_packages’

This is weird, maybe the package was tested with an older version of rlang, you can try avoiding compilation by using the public RStudio Package Manager, set your repository to

https://packagemanager.rstudio.com/all/__linux__/bionic/latest

Thanks so much. The public RStudio package manager worked!!

Hi.

Just to mention that I got the exact same error today during the installation of Ellispsis as a dependance of readr, which lead me to this topic.

I guess other persons will encountered this problem in the upcoming days.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.