Warning: partial argument match of 'file' to 'filename'
Open
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'
Related: https://github.com/tidyverse/ggplot2/pull/2364/commits/93882e6bf30c36933f4bf9d463063c7f1daa2d41
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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