Skip to content
Sign upLog in
Profile icon

detrainman

@detrainman
Repls
Community
detrainman
detrainman
shared a Post
8 months ago
3
Unable to install R package 'tidyverse'
RickWeber
RickWeber
Here's the best workaround I've found so far: add the following line to your .replit file > run = "nix-shell --packages 'rWrapper.override{packages = [ rPackages.tidyverse rPackages.pacman ];}'" And this to replit.nix: > { pkgs }: { > deps = [ > pkgs.R > ]; > } That will install R in the nix way, then somewhat slowly, installs the tidyverse and pacman (which I threw in there just to show how easy it is to add other R packages).2 months ago