update readme: recommend to use r-bspm`

This commit is contained in:
sukanka 2022-07-07 14:46:46 +08:00
parent 114e656e6f
commit 3cb1445ed1

View file

@ -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