forked from jimhester/GenomicRanges
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/GenomicRanges@59108 bc3139a8-67e5-0310-9ffc-ced21a209358
- Loading branch information
1 parent
83d0c1e
commit 315c33a
Showing
2 changed files
with
3 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ Description: The ability to efficiently store genomic annotations and | |
defines general purpose containers for storing genomic intervals | ||
as well as more specialized containers for storing alignments | ||
against a reference genome. | ||
Version: 1.5.50 | ||
Version: 1.5.51 | ||
Author: P. Aboyoun, H. Pages and M. Lawrence | ||
Maintainer: Biocore Team c/o BioC user list <[email protected]> | ||
biocViews: Genetics, Sequencing, HighThroughputSequencing, Annotation | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,6 @@ | ||
### | ||
|
||
.onLoad <- function(libname, pkgname) | ||
.onUnload <- function(libpath) | ||
{ | ||
## Putting library(methods) below produces the following 'R CMD check' | ||
## NOTE: | ||
## | ||
## * checking R code for possible problems ... NOTE | ||
## File ‘GenomicRanges/R/zzz.R’: | ||
## .onLoad calls: | ||
## library(methods) | ||
## | ||
## Package startup functions should not change the search path. | ||
## See section ‘Good practice’ in ?.onAttach. | ||
## | ||
## On the other hand, NOT loading the methods package will cause the | ||
## following WARNING when running 'R CMD check' on a BSgenome data package: | ||
## | ||
## * checking whether the namespace can be loaded with stated dependencies ... WARNING | ||
## Error: .onLoad failed in loadNamespace() for ‘BSgenome.Scerevisiae.UCSC.sacCer3’, details: | ||
## call: length(x) | ||
## error: could not find function "loadMethod" | ||
## Execution halted | ||
## | ||
## A namespace must be able to be loaded with just the base namespace | ||
## loaded: otherwise if the namespace gets loaded by a saved object, the | ||
## session will be unable to start. | ||
## | ||
## Probably some imports need to be declared in the NAMESPACE file. | ||
## | ||
## Hence the following trick... | ||
sillyname <- library # cheating on codetools | ||
sillyname(methods) | ||
library.dynam.unload("GenomicRanges", libpath) | ||
} | ||
|
||
.onUnload <- function(libpath) library.dynam.unload("GenomicRanges", libpath) | ||
|