Skip to content

Commit

Permalink
specify imports from stats pkg (new CRAN requirement)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwinter committed Jul 9, 2015
1 parent 9fa332c commit 8e5abde
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Maintainer: David Winter <david.winter@gmail.com>
Depends:
R (>= 2.6.0),
adegenet (>= 2.0),
Imports:
stats,
pegas
ZipData: no
Description: Provides functions for measuring
Expand Down
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ export(rgenotypes)
export(summarise_bootstrap)
import(adegenet)
import(pegas)
importFrom(stats,dist)
importFrom(stats,rmultinom)
1 change: 1 addition & 0 deletions R/dist.codom.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#' @return Dropped for each distance matrix and object of class "na.action"
#' containing indices to those indivudals in the genind object which where
#' omitted due to having NAs
#' @importFrom stats dist
#' @export
#'
#' @references
Expand Down
2 changes: 1 addition & 1 deletion R/rgenotypes.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' @param pop_name charcter Name for population defined in genind object
#' (not required if genind is not TRUE)
#' @param loc_name character name to five locus in genind object
#'
#' @importFrom stats rmultinom
#' @return Either a matrix with individuals in columns, alleles in rows or, if
#' genind is TRUE a genind object for one population and locus.
#' @seealso \code{\link{rmultinom}} which this function wraps.
Expand Down

0 comments on commit 8e5abde

Please sign in to comment.