SIH Tech Tidbits

Useful tips, libraries and tools from the Sydney Informatics Hub team

Articles





Using ellipsis (...) and purrr::pmap()

Function with arbitrary arguments using ellipsis (...) Let's define a function which takes in arbitrary arguments and evaluates an expression on those arguments: eval_expres <- function(expres, ...){ #this part gets all the …





Cleaning a git diff

Code review is easiest when the changes offered by a head branch onto a base branch are focussed on a single purpose of change. When they are not, the diff …