From 3cb1445ed18bc27f6a91a1ac6472d10205c71847 Mon Sep 17 00:00:00 2001 From: sukanka Date: Thu, 7 Jul 2022 14:46:46 +0800 Subject: [PATCH] update readme: recommend to use r-bspm` --- README.md | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dcb094c7f9..18cdde85af 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Add the fllowing content to the `/etc/pacman.conf` [bioarchlinux] Server = https://repo.bioarchlinux.org/$arch ``` -You can repleace the `https://repo.bioarchlinux/$arch` with any mirror in [mirrorlist](https://raw.githubusercontent.com/BioArchLinux/mirror/main/mirrorlist.bio) +You can replace the `https://repo.bioarchlinux.org/$arch` with any mirror in [mirrorlist](https://raw.githubusercontent.com/BioArchLinux/mirror/main/mirrorlist.bio) install GPG keyring to use bioarchlinux ``` @@ -34,6 +34,35 @@ install any package ``` # pacman -S foo ``` +Besides, you are suggested to install `r-bspm`, +``` +# pacman -S r-bspm +``` +and add the following line to your `~/.Rprofile` so that `pacman` will take over `install.packages`. +```R +bspm::enable() +``` +Below is an example. +```R +r$> install.packages("cssam") +[sudo] password for user: +Install system packages as root... +:: Synchronizing package databases... + core + extra + community + multilib + archlinuxcn + arch4edu + bioarchlinux +:: Retrieving packages... + r-cssam-1.2.4-1-any +:: Processing package changes... +(1/1) r-cssam +``` +## Request a package +If you find some package useful but not in our repository, (for example even if you used `r-bspm` it still installed a package from CRAN/Bioconductor), +you can open an issue and tell us. ## Details