Closed josherrickson closed 2 years ago
This has not much to do with pkgbuild. When installing from a file, you need to add repos
to install.packages()
:
install.packages(..., repos = NULL)
Otherwise it will interpret the path as a package name, as the warning tells you:
package ‘/Users/josh/repositories/R/rrelaxiv_0.1.0.tgz’ is not available for this version of R
I'm using
build(binary = TRUE)
to try and build a binary version of my package. However, the package then immediately fails to install on the same system:I'm not sure how to proceed or how to even debug this.
Using R 4.1.2 installed via homebrew on Mac 12.2.1.