Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Commit

Permalink
fix warnings and errors
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentGatto committed Jan 1, 2017
1 parent 8a84596 commit 05b3822
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 5 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Author: Laurent Gatto <[email protected]>
Maintainer: Laurent Gatto <[email protected]>
Description: Miscellaneous helper functions aimed at facilitating and
standardising simple repetitive tasks.
Imports: grDevices, graphics, utils, scales
Suggests: testthat
License: GPL-3
RoxygenNote: 5.0.1
Suggests: testthat
10 changes: 9 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
importFrom("grDevices", "col2rgb", "colours", "dev.off", "pdf", "png",
"rgb", "xy.coords")
importFrom("graphics", "identify", "image", "text")
importFrom("utils", "head", "tail")
importFrom("scales", "col2hcl")


export(cputools,
biocVersions,
makeTravisShield, makeCodecovShield,
makeBiocBuildShield, makeBiocCovrShield,
makeGithubUrl, makeGithubPageUrl, makeGithubIssuesUrl,
pkgqsts,
pkgqsts,
ht,
darken, lighten,
colour_picker,
Expand Down
8 changes: 6 additions & 2 deletions R/shields.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
##' @author Laurent Gatto
##' @rdname shields
##' @examples
##' makeTravisShield("pRoloc")
##' makeTravisShield("pRoloc", user = "lgatto")
##' ## default user
##' options(GitHubUserName = "ComputationalProteomicsUnit")
##' makeCodecovShield("cputools")
makeTravisShield <- function(pkg, user = options()[["GitHubUserName"]],
branch = "master") {
stopifnot(is.character(user))
Expand All @@ -32,7 +35,8 @@ makeTravisShield <- function(pkg, user = options()[["GitHubUserName"]],
}

##' @rdname shields
##' makeCodecovShield("MSnbase")
##' @examples
##' makeCodecovShield("MSnbase", user = "lgatto")
makeCodecovShield <- function(pkg, user = options()[["GitHubUserName"]],
branch = "master") {
stopifnot(is.character(user))
Expand Down
10 changes: 9 additions & 1 deletion man/shields.Rd

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

0 comments on commit 05b3822

Please sign in to comment.