Kevin Ushey
Kevin Ushey
For example, I saw (on Windows with R 3.6.3): ``` v Updated metadata database: 4.60 MB in 12 files. v Updating metadata database ... done > Will install 66 packages....
For R packages that need to be installed from the CRAN archive. E.g. https://github.com/r-lib/pak/blob/c85118b565dc9be753291d9b24c59f3f82b4c320/R/package.R#L26-L30
It looks like `pak` has its own machinery for creating and installing from lockfiles, e.g. ``` pak::lockfile_create() pak::lockfile_install() ``` Is there a straightforward mechanism whereby lockfiles created by `renv.lock` could...
``` > sessionInfo() R Under development (unstable) (2021-06-25 r80561) Platform: x86_64-apple-darwin20.5.0 (64-bit) Running under: macOS Big Sur 11.4 Matrix products: default LAPACK: /usr/local/Cellar/lapack/3.9.1_1/lib/liblapack.3.9.1.dylib locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1]...
https://user-images.githubusercontent.com/1976582/140395680-b362cd16-3a75-4c45-8303-5995de54bd67.mov ``` > devtools::session_info() ─ Session info 🍜 😮 🐓 ────────────────────────────────────────────────────────────────────── hash: steaming bowl, face with open mouth, rooster setting value version R version 4.1.0 (2021-05-18) os macOS Big Sur...
It looks like the installer tries to pick a Linux MUSL build? ``` > install.packages("pak", repos = "https://r-lib.github.io/p/pak/dev/") Installing package into '/opt/homebrew/lib/R/4.0/site-library' (as 'lib' is unspecified) trying URL 'https://r-lib.github.io/p/pak/dev/src/contrib/pak_0.1.2.9001_R4-0_x86_64-pc-linux-musl.tar.gz' Content...
Would it be possible to customize the quote character used when generating YAML? For example: ``` > yaml::as.yaml(as.character(Sys.Date())) [1] "'2022-04-14'\n" ``` I'd like a way to tell `yaml` to quote...
I'm imaging a case where you're writing a function that attempts to write a file at some location, but restores the old copy (filesystem state) if something goes wrong during...
Currently, to install a package hosted on GitHub in a sub-directory, one would write: ``` remotes::install_github("user/repo/subdir") ``` However, this is not true for Gitlab, which supports sub-projects and so IIUC...
So that one can retrieve the sources for a package from a remote source without explicitly / immediately installing it.