Supporting Functions for Packages Maintained by 'Yihui Xie'
Generate ID strings
Obtain an attribute of an object without partial matching
Get base R package names
Encode/decode data into/from base64 encoding.
Generate the Data URI for a file
Start a background process
Find out broken packages and reinstall them
Print a web page to PDF/PNG/JPEG
Bump version numbers
Cache the execution of an expression in memory or on disk
Cache the value of an R expression to an RDS file
Submit check jobs to crandalf
Parse comma-separated chunk options
Evaluate an expression after forcing the decimal point to be a dot
Delete an empty directory
Create a directory recursively by default
Test the existence of files and directories
Divide chunk options from the code chunk body
Perform a task once in an R session
Download a file from a URL and cache it on disk
Try various methods to download a file
Embed a file, multiple files, or directory on an HTML page
Retrieve a global option from both options() and environment variabl...
Find file paths that exist
Call on.exit() in a parent function
Create a fenced block in Markdown
Manipulate filename extensions
Rename files and directories
Read a text file and concatenate the lines by '\n'
Find global/local variables in R code
Format numbers of bytes using a specified unit
Get the relative path of a path in a project relative to the current w...
Get the tags of GitHub releases of a repository
Perform replacement with gsub() on elements matched from grep()
Search and replace strings in files
Tools for HTML tags
Evaluate an expression under a specified working directory
Install a source package from a directory
An alias of remotes::install_github()
Test if paths are relative or absolute
Check if a character vector consists of entirely ASCII characters
Test if a character vector consists of blank strings
Some utility functions for checking packages
Test if a path is a subpath of a dir
Test if a path is a web path
Join multiple words into a single string
Save objects to files and lazy-load them
Find a file or directory under a root directory
Mark some paths as directories
Generate a simple Markdown pipe table
Calculate the MD5 checksums of R objects
Get the MIME types of files
Generate a message with cat()
Try to use the system native encoding to represent a character vector
Create a local web application
Convert package news to the Markdown format
Normalize paths
Convert numbers to English words
Run OptiPNG on all PNG files under a directory
Test for types of operating systems
Parse R code and do not keep the source
Attach or load packages, and automatically install missing packages if...
Generate BibTeX bibliography databases for R packages
Kill a process and (optionally) all its child processes
Read a text file, process the text with a function, and write the text...
Return the (possible) root directory of a project
Find the indices of lines in Markdown that are prose (not code blocks)
Protect math expressions in pairs of backticks in Markdown
Pseudo-random numbers on [0, 1) based on a linear congruential gener...
Print a character vector in its raw form
Read all text files and concatenate their content
Read all records of a binary file as a raw vector by default
Read / write files encoded in UTF-8
Print methods for record()
Run R code and record the results
Get the relative path of a path relative to a directory
Rename files with a sequential numeric prefix
Get data from a REST API
Retry calling a function for a number of times
Run R CMD check on the reverse dependencies of a package
Call a function in a new R session via Rscript()
Run the commands Rscript and R CMD
Type a character vector into the RStudio source editor
Test if two paths are the same after they are normalized
An alternative to sessionInfo() to print session information
Set environment variables
Shrink images to a maximum width
Split a character vector by line breaks
Split source lines into complete expressions
Wrap character vectors
Strict lists
Strip HTML tags
Submit a source package to CRAN
Run system2() and mark its character output as UTF-8 if appropriate
Represent a (recursive) list with (nested) tabsets
A simple YAML reader and writer
Use the Tinify API to compress PNG and JPEG images
A simple JSON serializer
Turn the output of str() into a tree diagram
Try an expression and see if it throws an error
Try to evaluate an expression silently
Upload to an FTP server via curl
Upload an image to imgur.com
Test if a URL is accessible
Get the final destination of a URL
Extract filenames from a URLs
Check if the syntax of the code is valid
Partition the YAML metadata and the body in a document
Read YAML data
Miscellaneous functions commonly used in other packages maintained by 'Yihui Xie'.