Skip to content

RMarkdown and Pie Charts: Warning in arrange_impl(.data, dots): '.Random.seed' is not an integer #921

@mikebesso

Description

@mikebesso

When knitting the RMarkdown (a single chunk rmd file) to HTML,

library(plotly, warn.conflicts = FALSE, quietly = TRUE);

PieData <- data.frame(
  labels = c("a", "b", "c"), 
  values = c(2, 3, 4)
);

plot_ly(
  PieData,
  labels = ~labels,
  values = ~values,
  type = 'pie'
) %>%
layout(
  xaxis = list(showgrid = FALSE, zeroline = FALSE, showticklabels = FALSE),
  yaxis = list(showgrid = FALSE, zeroline = FALSE, showticklabels = FALSE)
)

I get the following warning

## Warning in arrange_impl(.data, dots): '.Random.seed' is not an integer
## vector but of type 'NULL', so ignored

So far, I only get this warning when knitting.

When googling this warning, I see several examples that also have this warning as part of the output, including:

https://rpubs.com/danfrett/222491

http://rstudio-pubs-static.s3.amazonaws.com/229222_bad34e39a61f44ae80468710c2d58dc6.html

http://rstudio-pubs-static.s3.amazonaws.com/256976_cf7b4f46cc06450fb31d6074ea5e3318.html

Any idea as to how I can knit without this warning?

THANKS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions