Skip to content

RTD

Simple TD API Client

v0.4.2 · Dec 8, 2025 · Apache License 2.0 | file LICENSE

Description

Upload R data.frame to Arm Treasure Data, see <https://www.treasuredata.com/>. You can execute database or table handling for resources on Arm Treasure Data.

Downloads

CRAN

275

Last 30 days

17501st

720

Last 90 days

2.8K

Last year

Trend: +35.5% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

25

Last 90 days

111

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

8

Last 7 days

17

Last 30 days

3

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

1 ERROR
12 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 ERROR
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (1 non-OK)
ERROR r-oldrel-windows-x86_64

tests

Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(mockery)
  > library(RTD)
  > 
  > test_check("RTD")
  Saving _problems/test-td-65.R
  Saving _problems/test-td-101.R
  [ FAIL 2 | WARN 4 | SKIP 0 | PASS 10 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-td.R:65:3'): td_upload works with mock ─────────────────────────
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
      ▆
   1. └─RTD (local) setup_fake_embulk() at test-td.R:65:3
   2.   └─base::writeLines("@echo off\necho fake embulk", fake_embulk) at test-td.R:17:5
   3.     └─base::file(con, "w")
  ── Error ('test-td.R:101:3'): td_upload works with mock when the table already exists ──
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
      ▆
   1. └─RTD (local) setup_fake_embulk() at test-td.R:101:3
   2.   └─base::writeLines("@echo off\necho fake embulk", fake_embulk) at test-td.R:17:5
   3.     └─base::file(con, "w")
  
  [ FAIL 2 | WARN 4 | SKIP 0 | PASS 10 ]
  Error:
  ! Test failures.
  Execution halted

Check History

ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 28, 2026
ERROR r-oldrel-windows-x86_64

tests

Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(mockery)
  > library(RTD)
  > 
  > test_check("RTD")
  Saving _problems/test-td-65.R
  Saving _problems/test-td-101.R
  [ FAI
...[truncated]...
etup_fake_embulk() at test-td.R:101:3
   2.   └─base::writeLines("@echo off\necho fake embulk", fake_embulk) at test-td.R:17:5
   3.     └─base::file(con, "w")
  
  [ FAIL 2 | WARN 4 | SKIP 0 | PASS 10 ]
  Error:
  ! Test failures.
  Execution halted
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-oldrel-windows-x86_64

tests

Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(mockery)
  > library(RTD)
  > 
  > test_check("RTD")
  Saving _problems/test-td-65.R
  Saving _problems/test-td-101.R
  [ FAI
...[truncated]...
etup_fake_embulk() at test-td.R:101:3
   2.   └─base::writeLines("@echo off\necho fake embulk", fake_embulk) at test-td.R:17:5
   3.     └─base::file(con, "w")
  
  [ FAIL 2 | WARN 4 | SKIP 0 | PASS 10 ]
  Error:
  ! Test failures.
  Execution halted

Code

Structure

Lines of code

1,676

Files

42

Compiled share

0%

Has compiled src

No

Language breakdown

R 811 (48.4%)Tests 188 (11.2%)Docs 677 (40.4%)

API

Exported functions

24

Internal functions

13

Recent export changes

v0.4.1+14 bulk_import_delete_part, bulk_import_error_records, bulk_import_upload_part +11 more
v0.1.1+10 Td, create_database, create_table +7 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.23

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

87.5%

\dontrun example ratio

100%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

50%

Unsafe pattern score

6

Dep constraint coverage

33.3%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

2

C++ standard

License

Apache License 2.0 | file LICENSE

License flags

SPDX valid, not OSI

History

Versions

3

First release

2019-01-02

Latest release

2025-12-08

Avg cadence

1266 days

Cold removal rate

Dep drift

5

LOC over versions

v0.1.1: 820 LOCv0.4.1: 1,616 LOCv0.4.2: 1,676 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies readr httr dplyr jsonlite RcppMsgPack urltools uuid purrr RTD

Version History

4 tracked
new 0.4.2 Mar 10, 2026
updated 0.4.2 ← 0.4.1 diff Dec 7, 2025
updated 0.4.1 ← 0.1.1 diff Jul 26, 2020
new 0.1.1 Jan 1, 2019