Skip to content

box.lsp

Provides 'box' Compatibility for 'languageserver'

v0.1.3 · Sep 19, 2024 · LGPL-3

Description

A 'box' compatible custom language parser for the 'languageserver' package to provide completion and signature hints in code editors.

Downloads

2.6K

Last 30 days

2508th

5.9K

Last 90 days

5.9K

Last year

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

CRAN Check Status

3 ERROR
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc ERROR
r-devel-linux-x86_64-fedora-clang ERROR
r-devel-linux-x86_64-fedora-gcc ERROR
r-devel-macos-arm64 OK
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 (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
ERROR r-devel-linux-x86_64-debian-gcc

tests

  Running ‘testthat.R’ [6s/27s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(box.lsp)
  > 
  > test_check("box.lsp")
  Saving _problems/test-lsp_completion_package_attach_list-60.R
  Saving _problems/test-lsp_completion_package_attach_list-61.R
  Saving _problems/test-lsp_completion_package_attach_list-80.R
  [ FAIL 3 | WARN 0 | SKIP 5 | PASS 1 ]
  
  ══ Skipped tests (5) ═══════════════════════════════════════════════════════════
  • On CRAN (5): 'test-lsp_aaa_regression.R:2:3',
    'test-lsp_completion_package_attach_list.R:2:3',
    'test-lsp_completion_package_three_dots.R:2:3',
    'test-lsp_completion_whole_package.R:2:3', 'test-signature.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-lsp_completion_package_attach_list.R:57:3'): completion of package attached function with alias works ──
  timeout when obtaining response
  Backtrace:
      ▆
   1. ├─client %>% ... at test-lsp_completion_package_attach_list.R:57:3
   2. └─box.lsp:::respond_completion(...)
   3.   └─box.lsp:::respond(...) at ./helper-utils.R:198:3
  ── Failure ('test-lsp_completion_package_attach_list.R:61:3'): completion of package attached function with alias works ──
  Expected `result$items %>% keep(~.$label == "alias")` to have length 1.
  Actual length: 0.
  ── Failure ('test-lsp_completion_package_attach_list.R:78:3'): completion of package attach list does not return non-attached functions ──
  timeout when obtaining response
  Backtrace:
      ▆
   1. ├─client %>% respond_completion(temp_file, c(1, 5)) at test-lsp_completion_package_attach_list.R:78:3
   2. └─box.lsp:::respond_completion(., temp_file, c(1, 5))
   3.   └─box.lsp:::respond(...) at ./helper-utils.R:198:3
  
  [ FAIL 3 | WARN 0 | SKIP 5 | PASS 1 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-devel-linux-x86_64-fedora-clang

tests

  Running ‘testthat.R’ [11s/33s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(box.lsp)
  > 
  > test_check("box.lsp")
  Saving _problems/test-lsp_completion_package_attach_list-60.R
  Saving _problems/test-lsp_completion_package_attach_list-61.R
  Saving _problems/test-lsp_completion_package_attach_list-80.R
  [ FAIL 3 | WARN 0 | SKIP 5 | PASS 1 ]
  
  ══ Skipped tests (5) ═══════════════════════════════════════════════════════════
  • On CRAN (5): 'test-lsp_aaa_regression.R:2:3',
    'test-lsp_completion_package_attach_list.R:2:3',
    'test-lsp_completion_package_three_dots.R:2:3',
    'test-lsp_completion_whole_package.R:2:3', 'test-signature.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-lsp_completion_package_attach_list.R:57:3'): completion of package attached function with alias works ──
  timeout when obtaining response
  Backtrace:
      ▆
   1. ├─client %>% ... at test-lsp_completion_package_attach_list.R:57:3
   2. └─box.lsp:::respond_completion(...)
   3.   └─box.lsp:::respond(...) at ./helper-utils.R:198:3
  ── Failure ('test-lsp_completion_package_attach_list.R:61:3'): completion of package attached function with alias works ──
  Expected `result$items %>% keep(~.$label == "alias")` to have length 1.
  Actual length: 0.
  ── Failure ('test-lsp_completion_package_attach_list.R:78:3'): completion of package attach list does not return non-attached functions ──
  timeout when obtaining response
  Backtrace:
      ▆
   1. ├─client %>% respond_completion(temp_file, c(1, 5)) at test-lsp_completion_package_attach_list.R:78:3
   2. └─box.lsp:::respond_completion(., temp_file, c(1, 5))
   3.   └─box.lsp:::respond(...) at ./helper-utils.R:198:3
  
  [ FAIL 3 | WARN 0 | SKIP 5 | PASS 1 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-devel-linux-x86_64-fedora-gcc

tests

  Running ‘testthat.R’ [11s/33s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(box.lsp)
  > 
  > test_check("box.lsp")
  Saving _problems/test-lsp_completion_package_attach_list-60.R
  Saving _problems/test-lsp_completion_package_attach_list-61.R
  Saving _problems/test-lsp_completion_package_attach_list-80.R
  [ FAIL 3 | WARN 0 | SKIP 5 | PASS 1 ]
  
  ══ Skipped tests (5) ═══════════════════════════════════════════════════════════
  • On CRAN (5): 'test-lsp_aaa_regression.R:2:3',
    'test-lsp_completion_package_attach_list.R:2:3',
    'test-lsp_completion_package_three_dots.R:2:3',
    'test-lsp_completion_whole_package.R:2:3', 'test-signature.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-lsp_completion_package_attach_list.R:57:3'): completion of package attached function with alias works ──
  timeout when obtaining response
  Backtrace:
      ▆
   1. ├─client %>% ... at test-lsp_completion_package_attach_list.R:57:3
   2. └─box.lsp:::respond_completion(...)
   3.   └─box.lsp:::respond(...) at ./helper-utils.R:198:3
  ── Failure ('test-lsp_completion_package_attach_list.R:61:3'): completion of package attached function with alias works ──
  Expected `result$items %>% keep(~.$label == "alias")` to have length 1.
  Actual length: 0.
  ── Failure ('test-lsp_completion_package_attach_list.R:78:3'): completion of package attach list does not return non-attached functions ──
  timeout when obtaining response
  Backtrace:
      ▆
   1. ├─client %>% respond_completion(temp_file, c(1, 5)) at test-lsp_completion_package_attach_list.R:78:3
   2. └─box.lsp:::respond_completion(., temp_file, c(1, 5))
   3.   └─box.lsp:::respond(...) at ./helper-utils.R:198:3
  
  [ FAIL 3 | WARN 0 | SKIP 5 | PASS 1 ]
  Error:
  ! Test failures.
  Execution halted
OK r-devel-macos-arm64

*


            
OK 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

*


            

Additional Issues

M1mac Details →

Check History

ERROR 11 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE Mar 9, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

  Running ‘testthat.R’ [6s/27s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(box.lsp)
  > 
  > tes
ERROR r-devel-linux-x86_64-fedora-clang

tests

  Running ‘testthat.R’ [11s/33s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(box.lsp)
  > 
  > te
ERROR r-devel-linux-x86_64-fedora-gcc

tests

  Running ‘testthat.R’ [11s/33s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(box.lsp)
  > 
  > te

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies box cli fs rlang rhino box.lsp

Version History

new 0.1.3 Mar 9, 2026