This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# library(clipr) | |
# library(prettycheck) # github.com/danielvartan/prettycheck | |
# library(rvest) | |
parse_html_table <- function(x = clipr::read_clip()) { | |
prettycheck:::assert_character(x) | |
x |> | |
paste0(collapse = " ") |> | |
rvest::read_html() |> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source: https://stackoverflow.com/a/42827058/8258804 | |
ffmpeg -ss 00:01:00 -to 00:02:00 -i input.mp4 -c copy output.mp4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load packages ----- | |
library(magrittr) | |
library(ragg) | |
# Set options ----- | |
options(scipen = 999) | |
options(vsc.use_httpgd = TRUE) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This funtion was moved to the `rutils` R package. | |
# Learn more at <https://danielvartan.github.io/rutils/reference/find_orphan_files.html>. |