[Seqinr-commits] r1922 - pkg/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Fri Jun 3 15:37:54 CEST 2016
Author: jeanlobry
Date: 2016-06-03 15:37:54 +0200 (Fri, 03 Jun 2016)
New Revision: 1922
Modified:
pkg/R/extract.breakpoints.R
Log:
Fix the wrning about segmented
Modified: pkg/R/extract.breakpoints.R
===================================================================
--- pkg/R/extract.breakpoints.R 2016-06-03 13:30:27 UTC (rev 1921)
+++ pkg/R/extract.breakpoints.R 2016-06-03 13:37:54 UTC (rev 1922)
@@ -1,8 +1,4 @@
extract.breakpoints <- function(rearr.ori,type=c("atfw","atrev","gcfw","gcrev"),nbreaks,gridsize=100,it.max=500){
-
- if (!require(segmented)){
- stop("This functions requires the segmented package, but it couldn't be loaded.")
- }
if(length(type)==0){
stop("You must specify the type of skew: atfw, atrev, gcfw or gcrev. See ?extract.breakpoints for more details.")
More information about the Seqinr-commits
mailing list