NEWS.md
update_cache_item(item, elements, ttl=) sets per-entry expirationget_cache_element(item, elements, default=, prune_expired=) supports default values and auto-pruning of expired entrieswith_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 entrycache_list_items() and cache_size() list items and estimate total cache sizecache_save(path) and cache_load(path) serialize and restore the cache environmentload_OrgDb() to load OrgDb object (2025-12-04, Thu)
parse_ratio to parse ratio string, e.g., “1/2” (2025-12-04, Thu)
check_pkg as an alias of check_packages (2025-12-01, Mon)check_input()check_package()check_file()check_range()check_directory()quiet() to suppress messages and output from x (2025-12-01, Mon)subdir parameter in install_zip and install_zip_gh (2025-09-09, Tue)where return the full path of a command, “” if not found (2025-09-01, Mon)
which for OSX and Linux and where for Windowsuser_dir() (2025-08-16, Sat)c2() to concate two vectors into a ‘chunked_array’ object (2024-12-03, Tue)pload() now supports github package (2024-11-06, Wed)pkg_ref() (2024-08-26, Mon)has_internet() for testing internet connection (2024-08-26, Mon)pkg_ref() to access textVersion of package reference (2024-08-21, Wed)str_detect() (20024-08-19, Mon)user_dir() to setup user data dir (20024-08-17, Sat)which_os() to return the system namehas_bin() to check whether a command is exist in the systemmydownload() for downloading online file (2024-08-17, Sat)
bib_ggtree() and bib_knowledge() with all previous related publications (2024-08-12, Mon)yread() and yread_tsv() (2024-07-27, Sat)bib_ggtree() and bib_knowledge() (2024-07-27, Sat)yulab_msg() for startup message of packages developed by YuLab (2024-07-26, Fri)str_extract() to extract substring using a regular expression pattern (2024–01-25, Thu)normalizePath() in o() to convert file paths to canonical form (2023-10-06, Fri, #4)ref = "master" to ref = "HEAD" in the install_zip_gh() function to use the default branch of the GitHub repo (2023-10-02, Mon)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() and packageTitle() (2023-09-11, Mon)ls2df() convert list of vector to a data.frame (2023-09-01, Fri)mat2list() and combinations() (2023-08-22, Tue)yread_tsv() (2023-08-15, Tue)check_pkg() to call rlang::check_installed() with reason set automatically (2023-08-03, Thu)yread() and yread_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)mat2df() to convert matrix to a tidy data frame (2022-12-20, Tue)str_starts() and str_ends() (2022-07-29, Fri)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)str_wrap() (2021-10-09, Sat)read.cb() (2021-08-17)is.installed(), scihub_dl(), sudo_install()