Releases: cafferychen777/mLLMCelltype
Releases · cafferychen777/mLLMCelltype
v1.2.4 - Critical Bug Fix Release
Critical Bug Fixes
Fixed Major as.logical(from)
Error
- Resolved critical error that occurred when processing large numbers of clusters (60+ clusters)
- This error was caused by non-character data being passed to
strsplit()
functions - Users can now successfully process datasets with many clusters without encountering type coercion errors
Enhanced API Response Handling
- Added comprehensive
tryCatch()
blocks around allstrsplit()
operations in API processing functions - Improved response validation to prevent function/closure types from being processed as character strings
- Enhanced error handling for all API processing functions:
process_openrouter.R
process_anthropic.R
process_openai.R
process_deepseek.R
process_qwen.R
process_stepfun.R
process_minimax.R
process_zhipu.R
process_gemini.R
process_grok.R
Improvements
- Better NULL value handling: Improved
unlist()
operations to filter out NULL values and handle errors gracefully - Enhanced logging: Added more detailed error logging for debugging API response issues
- Improved consensus checking: Enhanced
check_consensus.R
to handle edge cases with malformed responses
Technical Details
- Fixed issue where large cluster datasets could cause type coercion errors in response parsing
- Added validation for function/closure types in API responses to prevent downstream errors
- Improved error messages to provide better diagnostics for API response issues
Installation
# Install from GitHub
devtools::install_github("cafferychen777/mLLMCelltype", subdir = "R")
What's Changed
- Enhanced robustness when processing large datasets
- Improved error handling across all API integrations
- Better debugging capabilities with enhanced logging
Full Changelog: v1.2.3...v1.2.4
mLLMCelltype 1.2.0
1.2.0 (2025-04-28)
Improvements
- First CRAN release
- Updated documentation and vignettes
- Improved package structure for CRAN compliance
- Fixed CITATION file format
- Updated URL to https://cafferyang.com/mLLMCelltype/
v1.1.4 Release
mLLMCelltype v1.1.4 (2025-04-24)
New Features & Improvements
- Expanded OpenRouter models list to support free models
- Resolved inconsistency issues between international and mainland China versions of Qwen models
Bug Fixes
- Fixed OpenRouter model handling in the consensus check process
- Fixed undefined current_clusters variable in README files by adding explicit variable definition and comments
Other Updates
- Updated DESCRIPTION file
This version improves model compatibility and fixes several key issues. We recommend all users to update to this version.