Skip to content

[ERROR]: spellcheck and append.dictionary() #24

@abhilasha-kumar

Description

@abhilasha-kumar

Copy and paste of error from your R console

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

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

Operating System:
 • OS: Darwin
 • Version: 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:15 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6000
Error in spell.check$stop : $ operator is invalid for atomic vectors
In addition: Warning message:
In qwerty.dist(x, word) : internal error -3 in R_decompress1

Additional context and comments

  • Also having trouble loading my own dictionary via append.dictionary, spits out this error on one machine (Same OS as above):
Error: .onLoad failed in loadNamespace() for 'tcltk', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared object '/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/tcltk/libs/tcltk.so':
  dlopen(/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/tcltk/libs/tcltk.so, 0x000A): Library not loaded: /opt/X11/lib/libX11.6.dylib
  Referenced from: <3360DB45-6381-3584-9D8B-049DEB0A1A24> /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/tcltk/libs/tcltk.so
  Reason: tried: '/opt/X11/lib/libX11.6.dylib' (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/opt/X11/lib/libX11.6.dylib' (no such file), '/opt/X11/lib/libX11.6.dylib' (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64e' or 'arm64')), '/Library/Frameworks/R.framework/Resources/lib/libX11.6.dylib' (no such file), '/Library/Java/JavaVirtualM

And this error on another machine:

tcltk DLL is linked to '/opt/X11/lib/libX11.6.dylib'
Error: .onLoad failed in loadNamespace() for 'tcltk', details:
  call: fun(libname, pkgname)
  error: X11 library is missing: install XQuartz from www.xquartz.org

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions