You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A few of my team ran into this and lost some time today, it looks like patchwork depends on on_load being exposed from the package rlang, but that function was only added in rlang 1.0. We all had rlang 0.4.4 installed, and because patchwork doesn't specify that it requires 1.0 or greater it tries to use old rlang, and fails.
This should be an easy fix: specify rlang >= 1.0.0.
The failure looks something like this:
> install.packages('ComplexUpset')
Installing package into ‘/belowshare/vumcshare/data100t1/home/alex/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
also installing the dependency ‘patchwork’
trying URL 'https://mirrors.nics.utk.edu/cran/src/contrib/patchwork_1.2.0.tar.gz'
Content type 'application/x-gzip' length 3289733 bytes (3.1 MB)
==================================================
downloaded 3.1 MB
trying URL 'https://mirrors.nics.utk.edu/cran/src/contrib/ComplexUpset_1.3.3.tar.gz'
Content type 'application/x-gzip' length 4772080 bytes (4.6 MB)
==================================================
downloaded 4.6 MB
* installing *source* package ‘patchwork’ ...
** package ‘patchwork’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in on_load({ : could not find function "on_load"
Error: unable to load R code in package ‘patchwork’
Execution halted
The text was updated successfully, but these errors were encountered:
Hello,
A few of my team ran into this and lost some time today, it looks like patchwork depends on
on_load
being exposed from the packagerlang
, but that function was only added inrlang 1.0
. We all hadrlang 0.4.4
installed, and because patchwork doesn't specify that it requires 1.0 or greater it tries to use old rlang, and fails.This should be an easy fix: specify rlang >= 1.0.0.
The failure looks something like this:
The text was updated successfully, but these errors were encountered: