plotly / plotly/plotly.R

Warning: partial argument match of 'file' to 'filename'

Open
#1,977 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
2.7k
Forks
641
PR merge metrics
No merged PRs in 30d

Description

options(warnPartialMatchArgs = TRUE)
library(ggplot2)
library(plotly, warn.conflicts = FALSE)
ggplotly(ggplot(mtcars, aes(wt, mpg)) + geom_point())

issues

Warning message:
In dev_fun(file = tempfile(), width = width %||% 640, height = height %||%  :
  partial argument match of 'file' to 'filename'

https://github.com/ropensci/plotly/blob/bdfdc4b15e6c3cb389384b422cfed7355dcce202/R/ggplotly.R#L179-L200

Related: https://github.com/tidyverse/ggplot2/pull/2364/commits/93882e6bf30c36933f4bf9d463063c7f1daa2d41

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked R/ggplotly.R lines 179-200 and reproduce the supplied ggplotly(mtcars...) example with warnPartialMatchArgs enabled. Use that example as the regression check and confirm the partial-argument-match warning no longer appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.