Skip to content

[ERROR]: 'spellcheck.menu' function of 'textcleaner': #28

Open

Description

@Catherinemax

Error in customMenu(choices = choices, title = title, default = 5) :
object 'def' not found

To Reproduce:
• Function error occurred in: spellcheck.menu function of textcleaner

R, SemNetCleaner, and SemNetDictionaries versions:
• R version: 4.3.2
• SemNetCleaner version: 1.3.4
• SemNetDictionaries version: 0.2.0

Operating System:
• OS: Windows
• Version: 10 x64 build 26100

Saving progress...

Activity

  1. added
    bug
    on Jul 8, 2025
  2. added a commit that references this issue on Oct 15, 2026
  3. AlexChristensen commented on Oct 15, 2026

    @AlexChristensen
    Owner

    Hi @Catherinemax,

    Thanks for the report, and sorry for the delay.

    The menu that shows the spell-check options only built its word and string lists when the console was wide enough for two or more columns. On a narrower console (a narrow RStudio console pane, for example) it failed with object 'def' not found as soon as it tried to display the options. Your call itself was fine.

    This is fixed in the development version: the menu now works at any console width, including very narrow ones.

    Please try again with the latest GitHub package:

    devtools::install_github("AlexChristensen/SemNetCleaner")
    

    Also, if you plan to use {SemNeT}, then please download the most up-to-date version from CRAN (version 2.1.0). See AlexChristensen/SemNeT#16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions