Skip to content

Commit

Permalink
acknowledged plot moved to package base
Browse files Browse the repository at this point in the history
  • Loading branch information
EricMarcon committed Nov 4, 2024
1 parent eb96bbc commit 629d9d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/plot.phylo_divent.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#' @param x An object of class "phylo_divent".
#' @param ... Arguments passed to [stats::plot.dendrogram].
#'
#' @importFrom graphics plot
#' @importFrom base plot
#' @export
#'
#' @examples
Expand Down
6 changes: 3 additions & 3 deletions R/plot.species_distribution.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ NULL
#' @param palette The name of a color palette, recognized by [RColorBrewer::brewer.pal].
#' RAC plot only.
#'
#' @importFrom graphics plot
#' @importFrom base plot
#' @export
plot.species_distribution <- function(
x,
Expand Down Expand Up @@ -62,7 +62,7 @@ plot.species_distribution <- function(
s_obs_max <- max(rowSums(abundances > 0))

# Prepare the plot: X and Y ranges
graphics::plot(
base::plot(
x = 1:s_obs_max,
y = seq(from = 1, to = max(abundances), length.out = s_obs_max),
type = "n",
Expand Down Expand Up @@ -166,7 +166,7 @@ plot.species_distribution <- function(

}
#' @export
graphics::plot
base::plot


#' @rdname plot.species_distribution
Expand Down

0 comments on commit 629d9d0

Please sign in to comment.