Skip to content

Commit

Permalink
Further fixes to R CMD CHECK. All that's left now are the documentati…
Browse files Browse the repository at this point in the history
…ons...
  • Loading branch information
HaziqJamil committed Jun 12, 2017
1 parent 6e15b67 commit ce85e49
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 9 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
^cran-comments\.md$
^README\.Rmd$
^README_files$
^README_cache$
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ sudo: false

r_check_args: '--as-cran'

r_github_packages: 'haziqjamil/iprior'
r_github_packages: haziqjamil/iprior
5 changes: 4 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ Version: 0.1.0.9002
Authors@R: person("Haziq", "Jamil", email = "haziq.jamil@gmail.com",
role = c("aut", "cre"))
Description: Fit I-prior probit models to binary and multinomial data for classification or inference using fitted probabilities.
License: GPL (>= 3.0)
URL: https://github.com/haziqjamil/iprobit
BugReports: https://github.com/haziqjamil/iprobit/issues
License: GPL (>= 3.0) | file LICENSE
Encoding: UTF-8
Imports:
ggplot2,
Expand All @@ -20,4 +22,5 @@ Suggests:
testthat
URL: https://github.com/haziqjamil/iprobit
BugReports: https://github.com/haziqjamil/iprobit/issues
LazyData: yes
RoxygenNote: 6.0.1
5 changes: 1 addition & 4 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ export(is.iprobitMod_bin)
export(is.iprobitMod_mult)
import(ggplot2)
import(iprior)
importFrom(mlbench,mlbench.1spiral)
importFrom(mvtnorm,rmvnorm)
importFrom(reshape2,melt)
importFrom(scales,pretty_breaks)
importFrom(stats,coef)
importFrom(stats,delete.response)
importFrom(stats,dnorm)
Expand All @@ -45,5 +41,6 @@ importFrom(stats,pnorm)
importFrom(stats,predict)
importFrom(stats,rnorm)
importFrom(utils,data)
importFrom(utils,head)
importFrom(utils,setTxtProgressBar)
importFrom(utils,txtProgressBar)
2 changes: 1 addition & 1 deletion R/Namespace.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# iprobit package imports ------------------------------------------------------
#' @importFrom stats coef delete.response dnorm fitted integrate kernel
#' model.extract model.frame pnorm predict rnorm logLik
#' @importFrom utils data setTxtProgressBar txtProgressBar
#' @importFrom utils data head setTxtProgressBar txtProgressBar
#' @import iprior
#' @import ggplot2
NULL
Expand Down
3 changes: 2 additions & 1 deletion R/Utilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ is.iprobitData <- function(x) inherits(x, "iprobitData")

#' Extract the variational lower bound
#'
#' @param object an object of class \code{ipriorProbit}.
#' @param object An object of class \code{ipriorProbit}.
#' @param ... This is not used here.
#'
#' @return The variational lower bound.
#' @export
Expand Down
4 changes: 3 additions & 1 deletion man/logLik.iprobitMod.Rd

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

0 comments on commit ce85e49

Please sign in to comment.