Changelog
Source:NEWS.md
GiottoUtils 0.1.11 (2024/08/22)
New
-
py_active_env()
utility function for detecting any active python environment without initializing
Enhancement
-
package_check()
now works for pip github installs -
package_check()
now reports which conda environment is being activated and what python version it is.
GiottoUtils 0.1.10 (2024/07/26)
New
-
dir_manifest()
for creating a namedlist
of files within a directory. Mostly wrapslist.files()
GiottoUtils 0.1.9 (2024/07/12)
New
-
deprecate_param()
utility function for streamlining code -
print_list()
for pretty printing of list-like objects -
from_scipy_sparse()
for conversion from scipycsr
andcsc
to MatrixdgCMatrix
anddgRMatrix
Changes
- newer github version checking refactored into
new_github_ver_avail()
GiottoUtils 0.1.8 (2024/05/22)
New
-
wrap_txtf()
variant ofwrap_txt()
that usessprintf()
formatting -
init_option()
for setting an option if it does not exist
Enhancement
-
dt_to_matrix()
can now chunk the conversion toMatrix
to avoid memory issues -
get_args_list()
now has akeep
param that allows selection of which collected args to keep
GiottoUtils 0.1.6 (2024/02/26)
New
-
%null%
,%na%
, and%none%
infix operators for setting a default value when an object is, respectively, NULL, NA, or length of 0. -
local_seed()
for transiently setting a seed only for the duration of a function
GiottoUtils 0.1.5 (2024/02/11)
Bug Fixes
-
str_locate2()
now works with vectorized inputs like the stringr counterpart -
str_locate2()
no-matches now properly returnNA_integer_
instead of negative values
New
-
to_scipy_sparse()
conversion of R matrices to scipy sparse representations
GiottoUtils 0.1.4 (2024/02/05)
Enhancement
- new
seed
param forgetDistinctColors()
that allows the ordering of the distinct colors to be changed. -
package_check()
now allows more than one package to be checked using repo:location notation.
GiottoUtils 0.1.3
Added
- Add:
mixedsort()
andmixedorder()
from gtools
GiottoUtils 0.1.2 (2024/01/02)
Added
- Add:
getMonochromeColors()
basic color palette function. Useful for image colorization.
GiottoUtils 0.1.1 (2023/12/16)
Breaking changes
- Remove checkmate reexports
- Remove deprecated
flex_lapply()
- Rename
guard_against_notgiotto()
toassert_giotto()
- Rename
set_row_order_dt()
todt_set_row_order()
- Rename
dcast_dt_string()
todt_dcast_string()
- Rename
sort_combine_two_DT_columns()
todt_sort_combine_two_columns()
- Rename
DT_removeNA()
todt_remove_na()
- Rename
assert_DT()
toassert_dt()
Added
- Add
gstop()
as a framework for sending module specific error messages - Add
str_locate2()
(implementation ofstringr::str_locate()
in base R) - Add
str_vector()
for pretty printing a vector as a string - Add:
str_bracket()
,str_parenth()
,str_quote()
,str_double_quote()
convenience functions - Move:
get_prev_fname()
,get_args()
, andget_prev_call()
to this package - Add
get_prev_call()
- Move basic color palettes
getDistinctColors()
andgetRainbowColors()
to this package - Add: RColorBrewer to suggests for
getDistinctColors()
Changes
- improvements to
assert_giotto()