Bioconductor / basilisk

Clone of the Bioconductor repository for the basilisk package.
https://bioconductor.org/packages/devel/bioc/html/basilisk.html
GNU General Public License v3.0
27 stars 14 forks source link

How to update an existing basilisk environment #14

Closed keller-mark closed 1 year ago

keller-mark commented 2 years ago

If I change the package list for an environment in basilisk.R, how do I tell basilisk to update that environment?

Outside of basilisk I would run conda env update -f environment.yml, is there an equivalent basilisk function?

LTLA commented 2 years ago

If you're inside a package: the environment should auto-update if you bump your package's version number. Or specifically, it'll create a new environment while marking the old environment for (eventual) deletion. It doesn't update the same environment in place just in case you have multiple R processes and some of them are still using the old environment.