Skip to content
This repository was archived by the owner on Mar 23, 2020. It is now read-only.

Commit

Permalink
adjust imports with result of r cmd check --as-cran
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgohel committed Aug 3, 2015
1 parent f3873d9 commit f9d0c61
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Copyright: See file COPYRIGHTS.
Depends:
R (>= 3.0),ReporteRsjars (>= 0.0.2)
Imports:
graphics, grDevices, rJava
graphics, grDevices, rJava, utils
Suggests:
ggplot2
SystemRequirements: java (>= 1.6)
Expand Down
12 changes: 10 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,15 @@ export(triggerPostCommand)
export(vanilla.table)
export(writeDoc)
import(ReporteRsjars)
import(grDevices)
import(graphics)
import(rJava)
importFrom(grDevices,col2rgb)
importFrom(grDevices,dev.cur)
importFrom(grDevices,dev.off)
importFrom(grDevices,rgb)
importFrom(graphics,box)
importFrom(graphics,plot)
importFrom(graphics,polygon)
importFrom(graphics,text)
importFrom(utils,browseURL)
importFrom(utils,getParseData)
useDynLib(ReporteRs)
13 changes: 11 additions & 2 deletions R/01_tools.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
#' @import graphics
#' @import grDevices
#' @import rJava
#' @import ReporteRsjars
#' @importFrom grDevices col2rgb
#' @importFrom grDevices dev.cur
#' @importFrom grDevices dev.off
#' @importFrom grDevices rgb
#' @importFrom graphics box
#' @importFrom graphics box
#' @importFrom graphics plot
#' @importFrom graphics polygon
#' @importFrom graphics text
#' @importFrom utils getParseData
#' @importFrom utils browseURL
.onLoad= function(libname, pkgname){

.jpackage( pkgname, lib.loc = libname )
Expand Down

0 comments on commit f9d0c61

Please sign in to comment.