-
Notifications
You must be signed in to change notification settings - Fork 23
Building the Package Manually
Dirk Eddelbuettel edited this page Jan 8, 2020
·
9 revisions
All of these commands should be executed in the project root directory. We use the common R commands here, alternative modes are offered by add-ons such as the RStudio IDE, or the devtools and related packages.
To build the package tar.gz file:
R CMD build .
which creates the standard tar.gz file under the version number given in the DESCRIPTION file.
To check the package from the tar.gz file:
R CMD check tiledb_*tar.gz # possibly specify the version here
To install directly from the source directory and with a version of TileDB installed on a non-standard path:
R CMD INSTALL --configure-args='--with-tiledb=/path/to/tiledb/' .
Other argument can be set as usual, for example keeping source attributes (which is helpful for debugging)
R CMD INSTALL --with-keep.source .
and combined as needed. See R CMD INSTALL --help or R CMD check --help as usual.