Skip to content

cran check failure needing resubmission by Nov. 5 #81

@simonpcouch

Description

@simonpcouch

Dear maintainer,

Please see the problems shown on
https://cran.r-project.org/web/checks/check_results_mcptools.html.

Please correct before 2025-11-05 to safely retain your package on CRAN.

The CRAN Team

Current status on that webpage:

Version: 0.1.1
Check: tests
Result: ERROR 
    Running ‘testthat.R’ [8s/39s]
  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(mcptools)
    > 
    > test_check("mcptools")
    [ FAIL 2 | WARN 0 | SKIP 8 | PASS 54 ]
    
    ══ Skipped tests (8) ═══════════════════════════════════════════════════════════
    • On CRAN (7): 'test-client.R:60:3', 'test-client.R:66:3',
      'test-client.R:73:3', 'test-server.R:33:3', 'test-tools.R:19:3',
      'test-tools.R:49:3', 'test-utils.R:20:3'
    • identical(Sys.getenv("GITHUB_PAT"), "") is TRUE (1): 'test-client.R:3:3'
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Failure ('test-server.R:23:3'): roundtrip mcp_server and mcp_tools ──────────
    all(c("list_r_sessions", "select_r_session") %in% tool_names) is not TRUE
    
    `actual`:   FALSE
    `expected`: TRUE 
    ── Error ('test-server.R:26:3'): roundtrip mcp_server and mcp_tools ────────────
    Error in `tools[[which(tool_names == "list_r_sessions")]]`: attempt to select less than one element in get1index
    
    [ FAIL 2 | WARN 0 | SKIP 8 | PASS 54 ]
    Error: Test failures
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Linux Fedora systems are the only one seeing this issue:


Flavor	Version	Tinstall	Tcheck	Ttotal	Status	Flags
r-devel-linux-x86_64-debian-clang	0.1.1	3.64	39.22	42.86	OK	
r-devel-linux-x86_64-debian-gcc	0.1.1	2.46	31.74	34.20	OK	
r-devel-linux-x86_64-fedora-clang	0.1.1	15.00	51.12	66.12	ERROR	
r-devel-linux-x86_64-fedora-gcc	0.1.1	30.00	51.50	81.50	ERROR	
r-devel-windows-x86_64	0.1.1	5.00	61.00	66.00	OK	
r-patched-linux-x86_64	0.1.1	2.89	36.42	39.31	OK	
r-release-linux-x86_64	0.1.1	3.34	35.98	39.32	OK	
r-release-macos-arm64	0.1.1	2.00	29.00	31.00	OK	
r-release-macos-x86_64	0.1.1	5.00	62.00	67.00	OK	
r-release-windows-x86_64	0.1.1	5.00	62.00	67.00	OK	
r-oldrel-macos-arm64	0.1.1	2.00	34.00	36.00	OK	
r-oldrel-macos-x86_64	0.1.1	3.00	57.00	60.00	OK	
r-oldrel-windows-x86_64	0.1.1	7.00	67.00	74.00	OK	
``

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions