Learn R Programming

yulab.utils (version 0.2.2)

Supporting Functions for Packages Maintained by 'YuLab-SMU'

Description

Miscellaneous functions commonly used by 'YuLab-SMU'.

Copy Link

Version

Install

install.packages('yulab.utils')

Monthly Downloads

65,674

Version

0.2.2

License

Artistic-2.0

Maintainer

Guangchuang Yu

Last Published

December 1st, 2025

Functions in yulab.utils (0.2.2)

set_PCRE

switch regular expression style (PCRE vs TRE)
read.cb

read.cb
check_input

Check input validity with detailed error messages
mypkg

mypkg
o

o
get_fun_from_pkg

get_fun_from_pkg
pload

pload
packageTitle

packageTitle
get_dependencies

get_dependencies
str_extract

str_extract
yulab_warn

Standardized warning function
str_detect

str_detect
show_in_excel

show_in_excel
str_wrap

str_wrap
is.installed

is.installed
quiet

quiet
yulab_abort

Standardized error handling function
yulab.utils-package

yulab.utils: Supporting Functions for Packages Maintained by 'YuLab-SMU'
rbindlist

rbindlist
user_dir

user_dir
str_starts

str_starts
yulab_inform

Standardized info function
yulab_msg

yulab_msg
scale_range

scale-range
scihub_dl

download publication via scihub
ls2df

Convert a list of vector (e.g, gene IDs) to a data.frame object
yread_tsv

yread
initial_cache

cache intermediate data
combinations

combinations
check_file

Handle file operations with proper error messages
CRANpkg

print md text of package with link to homepage (CRAN or Bioconductor)
exec

exec
has_internet

has_internet
mat2df

mat2df
Githubpkg

print md text of package with link to github repo
c2

c2
check_directory

Check if directory exists and is accessible
install_zip_gh

install_zip_gh
install_zip

install_zip
check_range

Check if value is within specified range
check_packages

Check if required packages are installed with informative errors
mat2list

mat2list
check_pkg

check_pkg