Skip to content

Commit de0bacc

Browse files
committed
Fix CRAN notes
1 parent 0f0e0e4 commit de0bacc

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

DESCRIPTION

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ Suggests:
3939
knitr,
4040
rmarkdown,
4141
covr
42-
VignetteBuilder: knitr
4342
Config/testthat/edition: 3
4443
URL: https://rphylopic.palaeoverse.org,
4544
https://github.com/palaeoverse-community/rphylopic,

R/add_phylopic.r

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@
3434
#' geom_point(aes(x = Sepal.Length, y = Sepal.Width))
3535
#'
3636
#' # Put a silhouette anywhere based on UUID
37-
#' posx <- runif(50, 0, 10)
38-
#' posy <- runif(50, 0, 10)
39-
#' sizey <- runif(50, 0.4, 2)
40-
#' cols <- sample(c("black", "darkorange", "grey42", "white"), 50,
37+
#' posx <- runif(10, 0, 10)
38+
#' posy <- runif(10, 0, 10)
39+
#' sizey <- runif(10, 0.4, 2)
40+
#' cols <- sample(c("black", "darkorange", "grey42", "white"), 10,
4141
#' replace = TRUE)
4242
#'
4343
#' # Since we are plotting a lot of the same image, we should just save
4444
#' # the image in our environment first
4545
#' cat <- get_phylopic("23cd6aa4-9587-4a2e-8e26-de42885004c9")
4646
#' p <- ggplot(data.frame(cat.x = posx, cat.y = posy), aes(cat.x, cat.y))
47-
#' for (i in 1:50) {
47+
#' for (i in 1:10) {
4848
#' p <- p + add_phylopic(cat, x = posx[i], y = posy[i],
4949
#' ysize = sizey[i], color = cols[i])
5050
#' }

man/add_phylopic.Rd

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)