Skip to content

lang

Translates R Help Documentation using Large Language Models

v0.1.0 · Oct 30, 2025 · MIT + file LICENSE

Description

Translates R help documentation on the fly by using a Large Language model of your choice. If you are using 'RStudio' or 'Positron' the translated help will appear in the help pane.

Downloads

189

Last 30 days

22969th

550

Last 90 days

973

Last year

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

CRAN Check Status

1 ERROR
13 OK
Show all 14 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-macos-arm64 ERROR
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
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-devel-macos-arm64

tests

Running ‘testthat.R’ [93s/113s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(lang)
  > 
  > test_check("lang")
  Saving _problems/test-help-shims-73.R
  Model: echo via simulate_llm
  Lang: test
  Cache: [Disabled]
  [ FAIL 1 | WARN 0 | SKIP 8 | PASS 29 ]
  
  ══ Skipped tests (8) ═══════════════════════════════════════════════════════════
  • On CRAN (8): 'test-help-shims.R:33:1', 'test-lang-help.R:1:1',
    'test-lang-use.R:1:1', 'test-lang-use.R:8:1', 'test-lang-use.R:14:1',
    'test-lang-use.R:20:1', 'test-lang-use.R:27:1', 'test-lang-use.R:33:1'
  
  ══ Failed tests
...[truncated]...
/22"        | "13918/22"          [42]           
  [43] "13918/22"        | "13918/22"          [43]           
  [44] "13918/22"        | "13918/22"          [44]           
  [45] "15664/61"        - "15663/61"          [45]           
  [46] "16094/227"       - "16093/227"         [46]           
  [47] "16095/156"       - "16094/156"         [47]           
  [48] "16207/9"         - "16206/9"           [48]           
  [49] "18443/16"        - "18442/16"          [49]           
  [50] "18950/20"        - "18949/20"          [50]           
  [51] "18950/20"        - "18949/20"          [51]           
   ... ...                 ...                 and 11 more ...
  
  Backtrace:
      ▆
   1. ├─withr::with_options(...) at test-help-shims.R:56:3
   2. │ └─base::force(code)
   3. └─testthat::expect_identical(shim_lang_question(`?`(mtcars)), utils::`?`(`?`(mtcars))) at test-help-shims.R:70:7
  
  [ FAIL 1 | WARN 0 | SKIP 8 | PASS 29 ]
  Error:
  ! Test failures.
  Execution halted

Additional Issues

donttest Details →

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
ERROR r-devel-macos-arm64

tests

Running ‘testthat.R’ [93s/113s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional
...[truncated]...
shims.R:56:3
   2. │ └─base::force(code)
   3. └─testthat::expect_identical(shim_lang_question(`?`(mtcars)), utils::`?`(`?`(mtcars))) at test-help-shims.R:70:7
  
  [ FAIL 1 | WARN 0 | SKIP 8 | PASS 29 ]
  Error:
  ! Test failures.
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies callr cli fs glue mall rlang rstudioapi withr lang

Version History

new 0.1.0 Mar 10, 2026