Browse code

Deprecate Package

lshep authored on 15/12/2017 14:19:38
Showing 2 changed files

... ...
@@ -1,7 +1,7 @@
1 1
 Package: GMRP
2 2
 Type: Package
3 3
 Title: GWAS-based Mendelian Randomization and Path Analyses
4
-Version: 1.7.0
4
+Version: 1.7.1
5 5
 Date: 2015-11-04
6 6
 Author: Yuan-De Tan and Dajiang Liu
7 7
 Maintainer: Yuan-De Tan <tanyuande@gmail.com>
... ...
@@ -16,3 +16,4 @@ Suggests: BiocStyle, BiocGenerics, VariantAnnotation
16 16
 LazyLoad: yes
17 17
 biocViews: Sequencing, Regression, SNP
18 18
 NeedsCompilation: no
19
+PackageStatus: Deprecated
19 20
new file mode 100644
... ...
@@ -0,0 +1,6 @@
1
+.onAttach <- function(libname, pkgname) {
2
+    msg <- sprintf(
3
+        "Package '%s' is deprecated and will be removed from Bioconductor
4
+         version %s", pkgname, "3.7")
5
+    .Deprecated(msg=paste(strwrap(msg, exdent=2), collapse="\n"))
6
+}