Skip to contents

AutoDeskR 0.5.0

CRAN release: 2026-05-28

New Functions

  • autodeskr_mcp_tools() — expose all AutoDeskR API functions to AI models via the Model Context Protocol (MCP); credentials are read from environment variables so no token argument is required. Requires ellmer and mcptools.
  • waitForPhotoscene() — poll checkPhotoscene() until a Reality Capture photoscene processing job completes.

Infrastructure

AutoDeskR 0.4.0

New Functions

Improvements

  • getToken() now returns an aps_token object with expiry tracking ($expires_at, is_expired()). Existing code using resp$content$access_token continues to work unchanged.
  • All API functions now accept an aps_token object in place of a raw token string. Expired tokens trigger a warning.
  • API errors now include decoded JSON messages from APS rather than raw HTTP error text.
  • as_tibble() methods added for listBuckets and listObjects response objects (requires the tibble package).

Infrastructure

  • Minimum R version bumped from 2.10.0 to 4.1.0.
  • tibble added to Suggests.

AutoDeskR 0.3.0

Bug Fixes

Major Changes

  • Updated viewer CDN URLs from deprecated viewingservice/v1/viewers/ to modelderivative/v2/viewers/7.*. Templates also modernized to use Autodesk.Viewing.GuiViewer3D and Document.load() (v7 API).
  • Added req_timeout(60) to all API requests.
  • Updated all remaining “AutoDesk Forge” terminology to “AutoDesk Platform Services (APS)” across README, vignettes, and HTML templates.

New Functions

Infrastructure

  • Added Config/testthat/edition: 3 for testthat 3rd-edition behavior.
  • Added print() S3 methods for all 18 response classes.
  • Expanded test coverage: NULL-token guards for all functions, DELETE mock fixtures, downloadFile JSON response path.

AutoDeskR 0.2.0

Breaking Changes

  • checkPdf(): The source and destination parameters are now deprecated. Pass the WorkItem id (from makePdf()$content$id) as the new id parameter instead. Using the old parameters issues a deprecation warning.

Major Changes

  • Migrated HTTP backend from httr to httr2. All HTTP errors now raise R errors rather than warnings.
  • Authentication updated from the deprecated v1 endpoint (/authentication/v1/authenticate, end-of-life May 2024) to the v2 endpoint (/authentication/v2/token).
  • Design Automation API updated from the retired AutoCAD.io v2 endpoint to the Design Automation v3 API (/da/us-east/v3/workitems).
  • downloadFile(): Added optional destfile parameter and correct handling of binary (non-JSON) responses.
  • Bug fix: viewerUI() viewerType validation logic was always evaluating to TRUE; corrected to properly reject invalid types.

New Functions

Infrastructure

  • Added a testthat + httptest2 test suite covering input validation and mocked API responses. No real AutoDesk credentials are required to run tests.

AutoDeskR 0.1.5

CRAN release: 2024-09-10

Minor Improvements and Bug Fixes

AutoDeskR 0.1.3

CRAN release: 2017-07-09

Major Changes

  • WebVR support