Open diazrenata opened 1 year ago
If someone with a Mac but no Cpp compilers can download the yarn
binary:
https://github.com/diazrenata/yarn/raw/main/yarn_1.0.tgz
and then run install_packages
for the binary, e.g.:
install.packages("/Users/renatadiaz/Documents/GitHub/yarn_1.0.tgz")
with the path to the .tgz file
and then play with yarn, e.g.
library(yarn)
rcpp_hello_world()
toy('mice')
we can test distributing a compiled Cpp binary package...
(to create windows/linux binaries we'd need to run devtools::build(binary = TRUE)
on machines running those OS's. seems like it might be a job for a virtual machine but I'm not sure there.)
https://r-pkgs.org/structure.html#sec-structure-binary
https://medium.com/@shiansu/how-to-create-and-distribute-an-r-package-a296217435dc
sounds like we want to distribute binaries. how do binaries work for Rcpp packages?
options
https://github.com/diazrenata/yarn
https://docs.posit.co/rspm/admin/serving-binaries/