Skip to content

Commit ba96ad9

Browse files
cpsievertclaude
andauthored
v4.12.0 release (#2476)
* v4.12.0 release candidate * Remove broken api.plot.ly documentation URLs The api.plot.ly/api.plotly.com domain has SSL connection issues, causing urlchecker::url_check() failures. Removed these broken documentation URLs from examples and references while keeping the descriptive text. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 88aff36 commit ba96ad9

File tree

5 files changed

+22
-28
lines changed

5 files changed

+22
-28
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: plotly
22
Title: Create Interactive Web Graphics via 'plotly.js'
3-
Version: 4.11.0
3+
Version: 4.12.0
44
Authors@R: c(person("Carson", "Sievert", role = c("aut", "cre"),
55
email = "cpsievert1@gmail.com", comment = c(ORCID = "0000-0002-4958-2844")),
66
person("Chris", "Parmer", role = "aut",

NEWS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# plotly (development version)
1+
# plotly 4.12.0
22

33
## Changes to plotly.js
44

@@ -405,7 +405,7 @@ This is minor patch release with a few minor bug fixes and updates test expectat
405405
* Added the `highlight()` function for configuring selection modes/sequences/options.
406406
* Added support for animation. For some relatively basic examples, see the examples section of `help(animation)`. For a more thorough overview, see <https://plotly-r.com/animating-views.html>
407407
* Added a `frame` argument to `plot_ly()` for creating animations. Also added the `animation_opts()`, `animation_slider()`, and `animation_button()` functions for configuring animation defaults.
408-
* Added a new interface to [v2 of the REST API](https://api.plot.ly/v2). This new interface makes the `plotly_POST()` and `get_figure()` functions obsolete (use `api_create()` and `api_download_plot()` instead), and thus, are now deprecated, but remain around for backwards-compatibility. For more details, see `help(api)`.
408+
* Added a new interface to v2 of the REST API. This new interface makes the `plotly_POST()` and `get_figure()` functions obsolete (use `api_create()` and `api_download_plot()` instead), and thus, are now deprecated, but remain around for backwards-compatibility. For more details, see `help(api)`.
409409
* Added support for conversion of more **ggplot2** geoms via `ggplotly()`: `GeomCol`, `GeomRug`, `GeomCrossbar`, `GeomQuantile`, `GeomSpoke`, `GeomDotplot`, `GeomRasterAnn` (i.e., `annotation_raster()`), and `GeomAnnotationMap` (i.e., `annotation_map()`).
410410
* Added a new function `raster2uri()` which makes it easier to embed raster objects as [images](https://plotly.com/r/reference/#layout-images) via data URIs. For examples, see `help(raster2uri)`.
411411
* `ggplotly()` gains a new argument, `dynamicTicks`, which allows axis ticks to update upon zoom/pan interactions (fixes #485).
@@ -1182,7 +1182,7 @@ Fixed filename, fileopt arguments in plot_ly. Specifying the same filename will
11821182

11831183
1.0.8 -- 14 Sep 2015
11841184

1185-
Added the plotly_IMAGES() function which interfaces to the images endpoint https://api.plot.ly/v2/#images
1185+
Added the plotly_IMAGES() function which interfaces to the images endpoint.
11861186

11871187
Details -> https://github.com/ropensci/plotly/pull/279
11881188

R/api_exports.R

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
#' @export
4545
#' @rdname api
4646
#' @author Carson Sievert
47-
#' @references \url{https://api.plot.ly/v2}
4847
#' @seealso [signup()]
4948
#' @examplesIf interactive() || !identical(.Platform$OS.type, "windows")
5049
#'
@@ -80,30 +79,29 @@
8079
#' api()
8180
#'
8281
#' # search the entire platform!
83-
#' # see https://api.plot.ly/v2/search
8482
#' api("search?q=overdose")
8583
#' api("search?q=plottype:pie trump fake")
8684
#'
8785
#' # these examples will require a user account
8886
#' usr <- Sys.getenv("plotly_username", NA)
8987
#' if (!is.na(usr)) {
90-
#' # your account info https://api.plot.ly/v2/#users
88+
#' # your account info
9189
#' api(sprintf("users/%s", usr))
92-
#' # your folders/files https://api.plot.ly/v2/folders#user
90+
#' # your folders/files
9391
#' api(sprintf("folders/home?user=%s", usr))
9492
#' }
9593
#'
96-
#' # Retrieve a specific file https://api.plot.ly/v2/files#retrieve
94+
#' # Retrieve a specific file
9795
#' api("files/cpsievert:14681")
98-
#'
99-
#' # change the filename https://api.plot.ly/v2/files#update
96+
#'
97+
#' # change the filename
10098
#' # (note: this won't work unless you have proper credentials to the relevant account)
101-
#' api("files/cpsievert:14681", "PATCH", list(filename = "toy file"))
102-
#'
103-
#' # Copy a file https://api.plot.ly/v2/files#lookup
99+
#' api("files/cpsievert:14681", "PATCH", list(filename = "toy file"))
100+
#'
101+
#' # Copy a file
104102
#' api("files/cpsievert:14681/copy", "POST")
105-
#'
106-
#' # Create a folder https://api.plot.ly/v2/folders#create
103+
#'
104+
#' # Create a folder
107105
#' api("folders", "POST", list(path = "/starts/at/root/and/ends/here"))
108106
#'
109107
#' }

man/api.Rd

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

man/layout.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)