thisutils 0.2.5
-
func:
- Optimize
check_sparsity()function: Improved calculation logic by computing total counts upfront, avoiding redundant calculations for sparse and non-sparse matrices. - Optimize
normalization()function: Enhancedmax_minandmaximummethods by caching min/max values to avoid repeated calculations. - Improve code quality in
parallelize_fun(): Replacedsapply()withvapply()for type-safe return values and optimized error handling logic. - Optimize P-value combination functions (
meanp(),sump(),votep()): Extractedvalidpvariable to avoid repeated indexing and improved code efficiency. - Enhance
sump()function: Replaced loop-based calculation with vectorized operations for better performance. - Improve
capitalize()andunnest_fun()functions: Replacedsapply()withvapply()for type safety. - Enhance
add_pkg_file()function: Now automatically checks for the existence ofsrcdirectory and only adds@useDynLibdirective whensrcfolder is present in the package environment.
- Optimize
thisutils 0.2.4
-
func:
- Enhance
log_message()function: Now automatically handles non-character objects (e.g.,data.table,data.frame) by formatting them withcapture.output(print(...)), allowing direct object input without manual string conversion.
- Enhance
thisutils 0.2.3
-
func:
- Rewrite
matrix_to_table()C++ implementation to iteratedgCMatrixslots directly, avoiding dense conversion and reducing memory/time cost on large sparse matrices. - Align
keep_zero/thresholdsemantics across C++/R: retain entries ifabs(value) >= threshold; zeros are retained only whenkeep_zero = TRUEandthreshold == 0.
- Rewrite
thisutils 0.2.2
-
func:
- Enhance
parallelize_fun()function: Added support for named vectors and vectors in progress display, showing current processing item names or values in the progress bar. Improved progress bar formatting with status information and enhanced parallel processing progress updates. - Improve visual formatting in
add_pkg_file()andthisutils-package.R: Enhanced separator line display with grey color styling usingcli::col_grey()for better visual consistency.
- Enhance
thisutils 0.2.1
-
func:
- Enhance
add_pkg_file()function: Added automatic dependency checking to ensureclipackage is included in DESCRIPTION file, and automatic pkgdown configuration checking to ensure proper package overview section setup.
- Enhance
thisutils 0.2.0
CRAN release: 2025-10-06
-
func:
- Add package logo.
- Add
get_verbose()function: New exported function to get verbose option from global options or local arguments, providing better control over message display. - Enhance
.onAttach()function: Now respects verbose settings and only displays startup messages when verbose mode is enabled, improving user experience. - Update
add_pkg_file()function: Generated.onAttach()function now includes verbose check usingget_verbose(), ensuring consistency with package behavior.
-
docs:
- Corrected brace escaping in
parse_inline_expressions().
- Corrected brace escaping in
thisutils 0.1.7
-
func:
- Refactor
add_pkg_file()function: Simplified function parameters by removing manual parameter inputs and automatically extracting all package information from DESCRIPTION file. Enhanced error handling and improved logging messages. - Enhance
parallelize_fun()function with robust error handling: Addedclean_resultparameter to control automatic removal of failed results, andthrow_errorparameter to control detailed error message display. Functions now gracefully handle partial failures without stopping execution. - Add
parse_inline_expressions()function: High-performance inline expression parser that evaluates{}expressions while preserving CLI formatting markers like{.val ...}. - Enhance
log_message()function: Add new"running"message type with orange circle dotted symbol (◌) to indicate ongoing processes.
- Refactor
thisutils 0.1.6
-
func:
- Add statistical P-value combination functions:
wilkinsonp(),maximump(),minimump(),meanp(),votep(), andsump()for meta-analysis and multiple study result integration. - Add
max_depth()function to calculate the maximum depth of nested lists.
- Add statistical P-value combination functions:
thisutils 0.1.5
CRAN release: 2025-09-11
-
func:
- Update
add_pkg_file()function. Now,add_pkg_file()can automatically extract information of R package fromDESCRIPTIONfile and save it in the./R/folder.
- Update
thisutils 0.1.3
-
func:
- Replace
purrr::map2()withmapply(), and deletepurrrpackage inDESCRIPTION. - Replace
methods::is()withinherits(), and deletemethodspackage inDESCRIPTION.
- Replace
-
docs:
- Update documentation for some functions.
thisutils 0.1.1
-
func:
- Add
matrix_process()function.
- Add
thisutils 0.0.9
-
func:
- Add
matrix_to_table()andtable_to_matrix()functions for data conversion between matrix and table formats. - Modify parameter
sparsetoreturn_sparseforas_matrix()
- Add
-
docs:
- Update documentation for some functions.