Changelog
Source:NEWS.md
yulab.utils 0.2.3
CRAN release: 2025-12-15
-
download_yulab_file(2025-12-15, Mon) - add unit test (2025-12-08, Mon)
- Extend cache system with TTL, pruning, persistence and memoization (2025-12-08, Mon)
-
update_cache_item(item, elements, ttl=)sets per-entry expiration -
get_cache_element(item, elements, default=, prune_expired=)supports default values and auto-pruning of expired entries -
with_cache(item, key, compute, ttl=)computes and caches results (returns cached value on hit) -
prune_cache_item(item)prunes expired entries;rm_cache_entry(item, key)removes a single entry -
cache_list_items()andcache_size()list items and estimate total cache size -
cache_save(path)andcache_load(path)serialize and restore the cache environment
-
- update man (2025-12-08, Mon)
-
load_OrgDb()to load OrgDb object (2025-12-04, Thu)- move from ‘GOSemSim’
-
parse_ratioto parse ratio string, e.g., “1/2” (2025-12-04, Thu)- move from ‘DOSE’
- set
check_pkgas an alias ofcheck_packages(2025-12-01, Mon)
yulab.utils 0.2.2
CRAN release: 2025-12-01
- add error handling functions (2025-12-01, Mon)
- check input validity with detailed error messages (2025-12-01, Mon)
check_input()check_package()check_file()check_range()check_directory()
-
quiet()to suppress messages and output fromx(2025-12-01, Mon) - add
subdirparameter ininstall_zipandinstall_zip_gh(2025-09-09, Tue) -
wherereturn the full path of a command, “” if not found (2025-09-01, Mon)- internally call
whichfor OSX and Linux andwherefor Windows
- internally call
yulab.utils 0.1.9
CRAN release: 2025-01-07
-
c2()to concate two vectors into a ‘chunked_array’ object (2024-12-03, Tue)
yulab.utils 0.1.8
CRAN release: 2024-11-07
- add new citation (The Innovation 2024) (2024-11-07, Thu)
-
pload()now supports github package (2024-11-06, Wed) - bug fixed in
pkg_ref()(2024-08-26, Mon)
yulab.utils 0.1.7
CRAN release: 2024-08-26
-
has_internet()for testing internet connection (2024-08-26, Mon) -
pkg_ref()to access textVersion of package reference (2024-08-21, Wed) - export
str_detect()(20024-08-19, Mon) -
user_dir()to setup user data dir (20024-08-17, Sat) -
which_os()to return the system name -
has_bin()to check whether a command is exist in the system
yulab.utils 0.1.6
CRAN release: 2024-08-17
-
mydownload()for downloading online file (2024-08-17, Sat)- internally use ‘httr2’ and is ‘https’ friendly
- update
bib_ggtree()andbib_knowledge()with all previous related publications (2024-08-12, Mon) - remove memory caching and disable file cache by default in
yread()andyread_tsv()(2024-07-27, Sat) -
bib_ggtree()andbib_knowledge()(2024-07-27, Sat)
yulab.utils 0.1.5
CRAN release: 2024-07-26
-
yulab_msg()for startup message of packages developed by YuLab (2024-07-26, Fri)
yulab.utils 0.1.4
CRAN release: 2024-01-28
-
str_extract()to extract substring using a regular expression pattern (2024–01-25, Thu)
yulab.utils 0.1.2
CRAN release: 2023-12-22
- mv translate functions to the ‘fanyi’ package (2023-12-14, Thu)
- tools to switch from PCRE or TRE in regular expression (2023-12-13, Wed)
yulab.utils 0.1.1
CRAN release: 2023-12-11
- use
normalizePath()ino()to convert file paths to canonical form (2023-10-06, Fri, #4) - change the default parameter,
ref = "master"toref = "HEAD"in theinstall_zip_gh()function to use the default branch of the GitHub repo (2023-10-02, Mon)
yulab.utils 0.1.0
CRAN release: 2023-09-20
-
install_zip()allows both binary and source zip files (2023-09-20, Wed) -
pload()for loading package with the ability to install it if not available (2023-09-16, Sat) -
get_dependencies()andpackageTitle()(2023-09-11, Mon) - import ‘fs’ and ‘digest’ (2023-09-07, Thu)
yulab.utils 0.0.9
CRAN release: 2023-09-01
-
ls2df()convert list of vector to a data.frame (2023-09-01, Fri)
yulab.utils 0.0.8
CRAN release: 2023-08-22
-
mat2list()andcombinations()(2023-08-22, Tue) - remove default ‘params’ setting in
yread_tsv()(2023-08-15, Tue)
yulab.utils 0.0.7
CRAN release: 2023-08-09
- update
check_pkg()to callrlang::check_installed()with reason set automatically (2023-08-03, Thu) -
yread()andyread_tsv()that read file with caching (2023-08-02, Wed) -
rbindlist()to rbind a list (2023-08-01, Tue) -
exec()to run system command (2023-06-19, Mon) -
scale_range()to normalize data by range (2023-06-18, Sun)
yulab.utils 0.0.6
CRAN release: 2022-12-20
-
mat2df()to convert matrix to a tidy data frame (2022-12-20, Tue) -
str_starts()andstr_ends()(2022-07-29, Fri)
yulab.utils 0.0.5
CRAN release: 2022-06-30
-
get_fun_from_pkg()outputs friendly message if the pkg is not installed (2022-06-08, Wed) -
show_in_excel(),CRANpkg(),Biocpkg(),Githubpkg(),mypkg()(2021-10-13, Wed)
yulab.utils 0.0.3
-
read.cb()(2021-08-17)
yulab.utils 0.0.1
-
is.installed(),scihub_dl(),sudo_install()