Skip to content

Commit

Permalink
add renv cellar directory to hold package source and binary files
Browse files Browse the repository at this point in the history
  • Loading branch information
rpodcast committed Sep 1, 2022
1 parent e8f3682 commit 7af6243
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions .Renviron
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
RENV_PATHS_CELLAR="renv/cellar"
12 changes: 12 additions & 0 deletions dev/03_deploy.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@
## Check the package before sending to prod
devtools::check()

# Build
## Buld the package tarball and send to the renv cellar directory

## Linux version
devtools::build(path = "renv/cellar")

## Windows version


# Install to renv library
renv::install("renv/cellar/pilot2wrappers_0.2.0.tar.gz")

# Deploy

## Local, CRAN or Package Manager ----
Expand Down
1 change: 0 additions & 1 deletion renv/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
cellar/
library/
local/
lock/
Expand Down
Binary file added renv/cellar/pilot2wrappers_0.2.0.tar.gz
Binary file not shown.

0 comments on commit 7af6243

Please sign in to comment.