CLI: Uploading Packages
The paquetier upload command lets you push source and binary R packages to your repositories.
Uploading Source Packages
Section titled “Uploading Source Packages”Upload a source tarball built with R CMD build:
Uploading Binary Packages
Section titled “Uploading Binary Packages”Binary packages require additional metadata to specify the target platform:
Platform Options
Section titled “Platform Options”| Flag | Description | Examples |
|---|---|---|
--type | Package type | source, binary |
--os | Target operating system | windows, macosx, linux |
--arch | CPU architecture | x86_64, aarch64 |
--r-version | R version the binary was built for | 4.3, 4.4 |
CI/CD Usage
Section titled “CI/CD Usage”For automated pipelines, use an API key scoped to the target repository: