Skip to contents

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() and cache_size() list items and estimate total cache size
    • cache_save(path) and cache_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_ratio to parse ratio string, e.g., “1/2” (2025-12-04, Thu)
    • move from ‘DOSE’
  • set check_pkg as an alias of check_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)
  • quiet() to suppress messages and output from x (2025-12-01, Mon)
  • add 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)
    • internally call which for OSX and Linux and where for Windows

yulab.utils 0.2.1

CRAN release: 2025-08-19

yulab.utils 0.2.0

CRAN release: 2025-01-29

  • bug fixed in get_caller_package() (2025-01-08, Wed)

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() and bib_knowledge() with all previous related publications (2024-08-12, Mon)
  • remove memory caching and disable file cache by default in yread() and yread_tsv() (2024-07-27, Sat)
  • bib_ggtree() and bib_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.3

CRAN release: 2024-01-08

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() in o() to convert file paths to canonical form (2023-10-06, Fri, #4)
  • change the default parameter, ref = "master" to ref = "HEAD" in the install_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() and packageTitle() (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

yulab.utils 0.0.7

CRAN release: 2023-08-09

yulab.utils 0.0.6

CRAN release: 2022-12-20

yulab.utils 0.0.5

CRAN release: 2022-06-30

yulab.utils 0.0.4

CRAN release: 2021-10-09

yulab.utils 0.0.3

yulab.utils 0.0.2

CRAN release: 2021-08-16

yulab.utils 0.0.1