@@ -6,27 +6,34 @@ that this process is minimally disruptive to your users.
66
77## What to Deprecate?
88
9- Any function, class, method, or data that is no longer used or needed.
9+ Any function, class, method, data, or even package that is no longer used or
10+ needed.
1011
1112## When to Follow These Guidelines?
1213
13- If you introduce a function into the devel branch of your package,
14- then soon after decide not to use it, you may simply remove the function
15- without following these guidelines. It is expected that the devel
16- branch is unstable and subject to API changes without notice (though
17- you may decide to communicate these changes to your users via the
14+ >|--- Bioconductor development cycle ---------------|>
15+ >|--- o feature introduced --- o feature removed ---|>
16+
17+ Note that if you decide against using a function that you had introduced
18+ ** within the same development cycle** , you may simply remove the function
19+ without following the standard function deprecation guidelines. It is expected
20+ that the devel branch be unstable and be subject to API changes without notice
21+ (though you may decide to communicate these changes to your users via the
1822Bioconductor [ support site] [ ] ).
1923
20- However, if a function has existed in at least one released version
24+ >| Bioconductor RELEASE_X_Y | Bioconductor development cycle |>
25+ >|-- o feature introduced --|----- o feature removed --------|>
26+
27+ However, if a function was published in at least one release version
2128of Bioconductor, these guidelines _ must_ be followed. The process of removing
22- a function, class, method, or any exported package object takes approximately
23- three release cycles (about 18 months).
29+ a feature such as a function, class, method, or exported package object
30+ takes approximately three release cycles (about 18 months).
2431
2532## How To Deprecate A Function {#deprecate-function}
2633
2734### Step 1: Deprecate the function
2835
29- When you first decide to eliminate a function, you should mark it as
36+ When you first decide to deprecate a function, you should mark it as
3037deprecated in the devel branch. Do this by calling <code >.Deprecated()</code >
3138inside the function. To do this, you must provide a replacement function
3239which should be used in place of the old function. Example:
0 commit comments