Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
igordot committed Apr 12, 2018
1 parent 01ab737 commit 1fbe860
Show file tree
Hide file tree
Showing 10 changed files with 64 additions and 17 deletions.
3 changes: 3 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
^.*\.Rproj$
^\.Rproj\.user$
^data-raw$
^cran-comments\.md$
^LICENSE\.md$
^\.travis\.yml$
17 changes: 10 additions & 7 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@ Package: msigdbr
Type: Package
Title: MSigDB for Multiple Organisms in a Tidy Data Format
Version: 6.1.1
Author: Who wrote it
Maintainer: The package maintainer <yourself@somewhere.net>
Description: The msigdbr package provides The Molecular Signatures Database
(MSigDB) gene sets used with the Gene Set Enrichment Analysis (GSEA)
software for various frequently studied model organisms in an R-friendly
format.
Authors@R: person("Igor", "Dolgalev", email = "igor.dolgalev@nyumc.org", role = c("aut", "cre"))
Description: Provides the 'Molecular Signatures Database' (MSigDB) gene sets
used with the 'Gene Set Enrichment Analysis' (GSEA) software (Subramanian et
al. 2005 <doi:10.1073/pnas.0506580102>, Liberzon et al. 2015
<doi:10.1016/j.cels.2015.12.004>) for various frequently studied model
organisms in a standard R data frame with key-value pairs.
License: MIT + file LICENSE
Encoding: UTF-8
URL: https://github.com/igordot/msigdbr
BugReports: https://github.com/igordot/msigdbr/issues
LazyData: true
Depends:
R (>= 3.2.0),
Expand All @@ -18,7 +20,8 @@ Depends:
Imports:
magrittr,
rlang
Suggests: testthat,
Suggests:
testthat,
knitr,
rmarkdown
Roxygen: list(markdown = TRUE)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
YEAR: 2018
COPYRIGHT HOLDER: Your name goes here
COPYRIGHT HOLDER: Igor Dolgalev
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by roxygen2: do not edit by hand

export("%>%")
export(msigdbr)
export(msigdbr_show_species)
import(dplyr)
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# msigdbr 6.1.1

* Based on MSigDB v6.1 release.
* Initial CRAN submission.
4 changes: 0 additions & 4 deletions R/functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#' List the species available in msigdbr.
#'
#' @return a vector of possible species
#' @importFrom magrittr %>%
#' @importFrom rlang .data
#' @import dplyr
#' @export
msigdbr_show_species <- function() {
Expand All @@ -19,8 +17,6 @@ msigdbr_show_species <- function() {
#' @param subcategory sub-collection, such as CGP, MIR, BP, etc.
#'
#' @return a data frame of gene sets with one gene per row
#' @importFrom magrittr %>%
#' @importFrom rlang .data
#' @import tibble
#' @import dplyr
#' @export
Expand Down
5 changes: 0 additions & 5 deletions R/globals.R

This file was deleted.

12 changes: 12 additions & 0 deletions R/utils-pipe.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#' Pipe operator
#'
#' See \code{magrittr::\link[magrittr]{\%>\%}} for details.
#'
#' @name %>%
#' @rdname pipe
#' @keywords internal
#' @export
#' @importFrom magrittr %>%
#' @importFrom rlang .data
#' @usage lhs \%>\% rhs
NULL
12 changes: 12 additions & 0 deletions man/pipe.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1fbe860

Please sign in to comment.