Running examples in ‘lolliplot-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: lolliplot
> ### Title: Lolliplots
> ### Aliases: lolliplot
> 
> ### ** Examples
> 
> SNP <- c(10, 100, 105, 108, 400, 410, 420, 600, 700, 805, 840, 1400, 1402)
> x <- sample.int(100, length(SNP))
> SNP.gr <- GenomicRanges::GRanges("chr1", IRanges::IRanges(SNP, width=1, names=paste0("snp", SNP)),
+                                  value1=x, value2=100-x)
> SNP.gr$color <- rep(list(c("red", 'blue')), length(SNP))
> SNP.gr$border <- sample.int(7, length(SNP), replace=TRUE)
> features <- GenomicRanges::GRanges(
+   "chr1", IRanges::IRanges(
+     c(1, 501, 1001),
+     width=c(120, 500, 405),
+     names=paste0("block", 1:3)),
+   color="black",
+   fill=c("#FF8833", "#51C6E6", "#DFA32D"),
+   height=c(0.1, 0.05, 0.08),
+   label.parameter.rot=45)
> lolliplot(SNP.gr, features, type="pie")
Error in S4Vectors:::load_package_gracefully("XVector", "by the range() method ",  : 
  Could not load package XVector. Is it installed?

  Note that the XVector package is required by the range() method for
  CompressedIRangesList objects. Please install it with:

    BiocManager::install("XVector")
Calls: lolliplot ... .local -> .range_CompressedIRangesList -> <Anonymous>
Execution halted
Running examples in ‘lolliplot-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: lolliplot
> ### Title: Lolliplots
> ### Aliases: lolliplot
> 
> ### ** Examples
> 
> SNP <- c(10, 100, 105, 108, 400, 410, 420, 600, 700, 805, 840, 1400, 1402)
> x <- sample.int(100, length(SNP))
> SNP.gr <- GenomicRanges::GRanges("chr1", IRanges::IRanges(SNP, width=1, names=paste0("snp", SNP)),
+                                  value1=x, value2=100-x)
> SNP.gr$color <- rep(list(c("red", 'blue')), length(SNP))
> SNP.gr$border <- sample.int(7, length(SNP), replace=TRUE)
> features <- GenomicRanges::GRanges(
+   "chr1", IRanges::IRanges(
+     c(1, 501, 1001),
+     width=c(120, 500, 405),
+     names=paste0("block", 1:3)),
+   color="black",
+   fill=c("#FF8833", "#51C6E6", "#DFA32D"),
+   height=c(0.1, 0.05, 0.08),
+   label.parameter.rot=45)
> lolliplot(SNP.gr, features, type="pie")
Error in S4Vectors:::load_package_gracefully("XVector", "by the range() method ",  : 
  Could not load package XVector. Is it installed?

  Note that the XVector package is required by the range() method for
  CompressedIRangesList objects. Please install it with:

    BiocManager::install("XVector")
Calls: lolliplot ... .local -> .range_CompressedIRangesList -> <Anonymous>
Execution halted
Running examples in ‘lolliplot-Ex.R’ failed
The error most likely occurred in:

> ### Name: lolliplot
> ### Title: Lolliplots
> ### Aliases: lolliplot
> 
> ### ** Examples
> 
> SNP <- c(10, 100, 105, 108, 400, 410, 420, 600, 700, 805, 840, 1400, 1402)
> x <- sample.int(100, length(SNP))
> SNP.gr <- GenomicRanges::GRanges("chr1", IRanges::IRanges(SNP, width=1, names=paste0("snp", SNP)),
+                                  value1=x, value2=100-x)
> SNP.gr$color <- rep(list(c("red", 'blue')), length(SNP))
> SNP.gr$border <- sample.int(7, length(SNP), replace=TRUE)
> features <- GenomicRanges::GRanges(
+   "chr1", IRanges::IRanges(
+     c(1, 501, 1001),
+     width=c(120, 500, 405),
+     names=paste0("block", 1:3)),
+   color="black",
+   fill=c("#FF8833", "#51C6E6", "#DFA32D"),
+   height=c(0.1, 0.05, 0.08),
+   label.parameter.rot=45)
> lolliplot(SNP.gr, features, type="pie")
Error in S4Vectors:::load_package_gracefully("XVector", "by the range() method ",  : 
  Could not load package XVector. Is it installed?

  Note that the XVector package is required by the range() method for
  CompressedIRangesList objects. Please install it with:

    BiocManager::install("XVector")
Calls: lolliplot ... .local -> .range_CompressedIRangesList -> <Anonymous>
Execution halted
Running examples in ‘lolliplot-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: lolliplot
> ### Title: Lolliplots
> ### Aliases: lolliplot
> 
> ### ** Examples
> 
> SNP <- c(10, 100, 105, 108, 400, 410, 420, 600, 700, 805, 840, 1400, 1402)
> x <- sample.int(100, length(SNP))
> SNP.gr <- GenomicRanges::GRanges("chr1", IRanges::IRanges(SNP, width=1, names=paste0("snp", SNP)),
+                                  value1=x, value2=100-x)
> SNP.gr$color <- rep(list(c("red", 'blue')), length(SNP))
> SNP.gr$border <- sample.int(7, length(SNP), replace=TRUE)
> features <- GenomicRanges::GRanges(
+   "chr1", IRanges::IRanges(
+     c(1, 501, 1001),
+     width=c(120, 500, 405),
+     names=paste0("block", 1:3)),
+   color="black",
+   fill=c("#FF8833", "#51C6E6", "#DFA32D"),
+   height=c(0.1, 0.05, 0.08),
+   label.parameter.rot=45)
> lolliplot(SNP.gr, features, type="pie")
Error in S4Vectors:::load_package_gracefully("XVector", "by the range() method ",  : 
  Could not load package XVector. Is it installed?

  Note that the XVector package is required by the range() method for
  CompressedIRangesList objects. Please install it with:

    BiocManager::install("XVector")
Calls: lolliplot ... .local -> .range_CompressedIRangesList -> <Anonymous>
Execution halted
Running examples in ‘lolliplot-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: lolliplot
> ### Title: Lolliplots
> ### Aliases: lolliplot
> 
> ### ** Examples
> 
> SNP <- c(10, 100, 105, 108, 400, 410, 420, 600, 700, 805, 840, 1400, 1402)
> x <- sample.int(100, length(SNP))
> SNP.gr <- GenomicRanges::GRanges("chr1", IRanges::IRanges(SNP, width=1, names=paste0("snp", SNP)),
+                                  value1=x, value2=100-x)
> SNP.gr$color <- rep(list(c("red", 'blue')), length(SNP))
> SNP.gr$border <- sample.int(7, length(SNP), replace=TRUE)
> features <- GenomicRanges::GRanges(
+   "chr1", IRanges::IRanges(
+     c(1, 501, 1001),
+     width=c(120, 500, 405),
+     names=paste0("block", 1:3)),
+   color="black",
+   fill=c("#FF8833", "#51C6E6", "#DFA32D"),
+   height=c(0.1, 0.05, 0.08),
+   label.parameter.rot=45)
> lolliplot(SNP.gr, features, type="pie")
Error in S4Vectors:::load_package_gracefully("XVector", "by the range() method ",  : 
  Could not load package XVector. Is it installed?

  Note that the XVector package is required by the range() method for
  CompressedIRangesList objects. Please install it with:

    BiocManager::install("XVector")
Calls: lolliplot ... .local -> .range_CompressedIRangesList -> <Anonymous>
Execution halted