[Genabel-commits] r1798 - pkg/DatABEL/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Aug 12 11:53:31 CEST 2014


Author: lckarssen
Date: 2014-08-12 11:53:30 +0200 (Tue, 12 Aug 2014)
New Revision: 1798

Modified:
   pkg/DatABEL/R/checkPackageVersionOnCRAN.R
Log:
Updates to the DatABEL roxygen2 documentation.



Modified: pkg/DatABEL/R/checkPackageVersionOnCRAN.R
===================================================================
--- pkg/DatABEL/R/checkPackageVersionOnCRAN.R	2014-08-12 09:52:31 UTC (rev 1797)
+++ pkg/DatABEL/R/checkPackageVersionOnCRAN.R	2014-08-12 09:53:30 UTC (rev 1798)
@@ -1,26 +1,24 @@
 #' checks what is the version of package on CRAN
-#' 
+#'
 #' Checks what is the version of package on CRAN.
-#' The CRAN page (baseUrlCRAN+packageName) is checked 
+#' The CRAN page (baseUrlCRAN+packageName) is checked
 #' and parsed extracting the line with
-#' "Package source:	 packageName_Version.tar.gz" 
-#' e.g. 
-#' "Package source:	 GenABEL_1.6-9.tar.gz"
-#' and then the 'Version' is returned. 
-#' Otherwise, NULL is returned. 
-#' 
-#' @return string containing CRAN version 
+#' "Package source:      packageName_Version.tar.gz"
+#' e.g.
+#' "Package source:      GenABEL_1.6-9.tar.gz"
+#' and then the 'Version' is returned.
+#' Otherwise, NULL is returned.
+#'
+#' @return string containing CRAN version
 #' of the package
-#' 
+#'
 #' @param packageName name of the package to check
-#' @param baseUrlCRAN path to CRAN repository
-#' @param timeout web chack timeout
-#' 
-#' @examples 
+#'
+#' @examples
 #' library(GenABEL)
 #' packageVersion("GenABEL")
 #' checkPackageVersionOnCRAN("GenABEL")
-#' 
+#'
 #' @author Yurii Aulchenko
 #'
 checkPackageVersionOnCRAN <- function(packageName)
@@ -31,7 +29,7 @@
 mirror <- mirror_df$URL[mirror_df$Country == "Netherlands" & mirror_df$City == "Amsterdam"]
 
 
-CRAN_mirror_ref <- paste(mirror, "/src/contrib", sep="") 
+CRAN_mirror_ref <- paste(mirror, "/src/contrib", sep="")
 
 all_cran_packs <- available.packages(contriburl=CRAN_mirror_ref)
 all_cran_packs_df <- as.data.frame(all_cran_packs)



More information about the Genabel-commits mailing list