-
Notifications
You must be signed in to change notification settings - Fork 18
/
devel-branch.Rmd
53 lines (38 loc) · 1.98 KB
/
devel-branch.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Using the 'Devel' Version of _Bioconductor_ {#use-devel}
## Which version of R?
Package authors should develop against the version of _R_ that will be
available to users when the _Bioconductor_ devel branch becomes the
_Bioconductor_ release branch.
_R_ has a '.y' release in x.y.z every year (typically mid-April), but
_Bioconductor_ has a .y release (where current devel becomes release)
every 6 months (mid-April and mid-October).
This means that, from mid-October through mid-April, _Bioconductor_
developers should be developing against R-devel. From mid-April to
mid-October, developers should use R-release (actually, the R snapshot
from the R-x-y-branch) for _Bioconductor_ development.
See the [BiocManager][] vignette for instructions on using multiple versions
of _Bioconductor_.
## Using 'bioc-devel' during mid-April to mid-October {#mid-april}
In order to use the 'bioc-devel' version of _Bioconductor_ during the
mid-April to mid-October release cycle, use the release version of _R_
and invoke the function `install(version="devel")` (from the
[BiocManager][] package):
if (!requireNamespace("BiocManager", quietly=TRUE))
install.packages("BiocManager")
BiocManager::install(version = "devel")
BiocManager::valid() # checks for out of date packages
After doing this, all packages will be installed from the 'bioc-devel'
repository.
## Using 'bioc-devel' during mid-October to mid-April {#mid-october}
In order to use the 'bioc-devel' version of _Bioconductor_ during the
mid-October to mid-April release cycle, you must install the devel
version of _R_.
* [Source](https://stat.ethz.ch/R/daily/)
* [macOS](https://mac.r-project.org/)
* [Windows](https://cran.r-project.org/bin/windows/base/rdevel.html)
Then, make sure that your version of [BiocManager][] is current and
your packages up-to-date.
if (!requireNamespace("BiocManager", quietly=TRUE))
install.packages("BiocManager")
BiocManager::install(version="devel")
BiocManager::valid()