Closed
Description
I got this on a computer with Ubuntu 20.04.
[17:14, 23.8.2022] Pao: [INFO] Installing pak for R 4.2.1
[INFO] > /opt/R/4.2.1/bin/R: line 193: /usr/bin/sed: No such file or directory
[INFO] > ERROR: option '-e' requires a non-empty argument
[ERROR] Failed to to install pak for R 4.2.1: command ["/opt/R/4.2.1/bin/R", "--vanilla", "-s", "-e", "invisible()"] exited with code 1
This error prevented installing pak, but the R installation worked. However, doing anything was impossible as it was met with the same error:
[17:14, 23.8.2022] Pao: /opt/R/4.2.1/lib/R/bin/R: line 193: /usr/bin/sed: No such file or directory
ERROR: option '-e' requires a non-empty argument
which sed
returned /bin/sed
so the workaround was to create a symlink.