Kevin Ushey

Results 144 comments of Kevin Ushey

I updated the issue to indicate that the issue seems to be resolved with the development version of `datatable`, so I guess this is ultimately a request (for users on...

Thanks, you're right: ``` > pak::pkg_install("gert") → Will install 1 package. → The package (117.92 kB) is cached. + gert 1.6.0 [bld][cmp] ℹ No downloads are needed, 1 pkg (117.92...

``` > install.packages("pak", repos = "https://r-lib.github.io/p/pak/dev/", type = "binary") Error in install.packages : type 'binary' is not supported on this platform ``` and ``` > pak::pak_update() pak platform mismatch, trying...

Thank you! That did the trick. ``` > install.packages("pak", repos = "https://r-lib.github.io/p/pak/dev/", type = "mac.binary") Installing package into '/Users/kevinushey/r/r-devel-sanitizers/library' (as 'lib' is unspecified) trying URL 'https://r-lib.github.io/p/pak/dev/bin/macosx/contrib/4.2/pak_0.1.2.9001.tgz' Content type 'application/octet-stream' length...

I think the other challenge is that "typical" builds of R from sources on macOS won't be able to use binaries at all unless `PLATFORM_PKGTYPE` is defined: https://github.com/wch/r-source/blob/0b3a0d303c6ddf2079352b07475bd67d9c2fde75/src/main/platform.c#L299-L306 But setting...

If I understand correctly, there's really two things that we want: 1. `pak` should have a way of using the global `renv` cache as a source / shortcut when installing...

> have a function that returns the hash of a package from its description (if that's all you use for hashing), and ``` renv:::renv_hash_description() ``` > have a function that...

> Btw. pak modifies DESCRIPTION after installation, so the hash of the installed package will be different. Is that OK? This is probably okay, depending on what changes `pak` makes....

What values would be included in `Dependencies` -- should that be all of Depends + Imports + LinkingTo? (Or should I consider just including those in the lockfile entries?) Resolving...

Would this be sufficient? ``` { "R": { "Version": "4.1.2", "Repositories": [ { "Name": "CRAN", "URL": "https://cran.rstudio.com" } ] }, "Packages": { "cli": { "Package": "cli", "Version": "3.1.0", "Source": "CRAN",...