* using log directory 'd:/Rcompile/CRANpkg/local/4.5/plotly.Rcheck' * using R version 4.5.3 (2026-03-11 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'plotly/DESCRIPTION' ... OK * this is package 'plotly' version '4.12.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'plotly' can be installed ... OK * checking installed package size ... INFO installed size is 7.4Mb sub-directories of 1Mb or more: R 1.1Mb examples 1.3Mb htmlwidgets 3.8Mb * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [3s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [3s] OK * checking loading without being on the library search path ... [3s] OK * checking whether startup messages can be suppressed ... [3s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [28s] OK * checking Rd files ... [2s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... [1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking R/sysdata.rda ... OK * checking examples ... [8s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [253s] ERROR Running 'testthat.R' [252s] Running the tests in 'tests/testthat.R' failed. Complete output: > library("testthat") > library("plotly") Loading required package: ggplot2 Attaching package: 'plotly' The following object is masked from 'package:ggplot2': last_plot The following object is masked from 'package:stats': filter The following object is masked from 'package:graphics': layout > > test_check("plotly") Visual testing is not enabled. Saving _problems/test-ggplot-legend-32.R Saving _problems/test-ggplot-legend-33.R [ FAIL 2 | WARN 22 | SKIP 63 | PASS 1449 ] ══ Skipped tests (63) ══════════════════════════════════════════════════════════ • On CRAN (4): 'test-plotly-partial-bundles.R:3:3', 'test-plotly-partial-bundles.R:22:3', 'test-plotly-partial-bundles.R:50:3', 'test-plotly-shiny.R:23:3' • empty test (45): 'test-animate-highlight.R:436:1', 'test-cookbook-scatterplots.R:16:1', 'test-ggalluvial.R:4:1', 'test-ggalluvial.R:19:1', 'test-ggplot-col.R:17:1', 'test-ggplot-contour.R:15:1', 'test-ggplot-function.R:3:1', 'test-ggplot-function.R:11:1', 'test-ggplot-heatmap.R:66:1', 'test-ggplot-labels.R:43:1', 'test-ggplot-labels.R:50:1', 'test-ggplot-legend.R:42:1', 'test-ggplot-sf.R:106:1', 'test-ggplot-step.R:39:1', 'test-ggplot-summary.R:1:1', 'test-ggplot-ticks.R:193:1', 'test-ggridges.R:4:1', 'test-ggridges.R:57:1', 'test-ggridges.R:121:1', 'test-ggridges.R:213:1', 'test-ggridges.R:280:1', 'test-icicle.R:1:1', 'test-mean-error-bars.R:9:1', 'test-mean-error-bars.R:15:1', 'test-mean-error-bars.R:23:1', 'test-mean-error-bars.R:31:1', 'test-mean-error-bars.R:53:1', 'test-plotly-area.R:1:1', 'test-plotly-color.R:9:1', 'test-plotly-colorscale.R:4:1', 'test-plotly-colorscale.R:17:1', 'test-plotly-colorscale.R:29:1', 'test-plotly-colorscale.R:34:1', 'test-plotly-colorscale.R:69:1', 'test-plotly-image-trace.R:3:1', 'test-plotly-image-trace.R:32:1', 'test-plotly-splom.R:4:1', 'test-plotly-subplot.R:137:1', 'test-plotly-sunburst.R:3:1', 'test-plotly-treemaps.R:5:1', 'test-plotly-treemaps.R:15:1', 'test-plotly-waterfall.R:2:1', 'test-rotated-ticks.R:48:1', 'test-rotated-ticks.R:53:1', 'test-rotated-ticks.R:59:1' • has_mapbox() is not TRUE (9): 'test-plotly-sf.R:53:3', 'test-plotly-sf.R:67:3', 'test-plotly-sf.R:128:3', 'test-plotly-sf.R:150:3', 'test-plotly-sf.R:186:3', 'test-plotly-sf.R:230:3', 'test-plotly-sf.R:279:3', 'test-plotly-sf.R:315:3', 'test-plotly-sf.R:351:3' • plotly seems to no longer support the 'Chart Studio' API https://plotly.com/chart-studio-updates/ (1): 'test-api.R:1:1' • {quantreg} is not installed (2): 'test-ggplot-quantile.R:7:3', 'test-ggplot-quantile.R:31:3' • {reshape2} is not installed (2): 'test-ggplot-contour.R:3:3', 'test-ggplot-heatmap.R:12:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-ggplot-legend.R:32:3'): Discrete colour and shape get merged into one legend ── Expected `legend_title` to match regexp "^factor\\(vs\\)". Actual text: ✖ │ factor(cyl)
factor(vs) ── Failure ('test-ggplot-legend.R:33:3'): Discrete colour and shape get merged into one legend ── Expected `legend_title` to match regexp "factor\\(cyl\\)$". Actual text: ✖ │ factor(cyl)
factor(vs) [ FAIL 2 | WARN 22 | SKIP 63 | PASS 1449 ] Deleting unused snapshots: 'ggplot-contour/contour.svg' and 'ggplot-heatmap/heatmap.svg' Error: ! Test failures. Execution halted * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... [13s] OK * DONE Status: 1 ERROR