package.development.R 705 Bytes
Newer Older
Grelot Frederic's avatar
Grelot Frederic committed
1
package = "so.ii" ; devtools::document(package) ; devtools::load_all(package)
Grelot Frederic's avatar
Grelot Frederic committed
2
3
4
5
6
7
8
9
10

### Vignettes
# setwd(package):usethis::use_vignette(package);setwd("..")
devtools::build_vignettes(package)

### Examples
# devtools::run_examples(package)

### Checks
11
# system("mv ~/.Rprofile ~/.Rprofile-temp");devtools::check(package);system("mv ~/.Rprofile-temp ~/.Rprofile") # nolint
Grelot Frederic's avatar
Grelot Frederic committed
12
13
14
15
16

### Build
devtools::build(package, path = "library", vignettes = TRUE)

### install -> sudo
17
# devtools::install_local(package)
Grelot Frederic's avatar
Grelot Frederic committed
18
sudo su - -c "R -e \"devtools::install_gitlab('geau-inondation/geau-utility',  subdir = 'so.ii', host = 'gitlab.irstea.fr', upgrade = 'never', auth_token = 'rCEfcrjoms9UNykCuM5c')\""  # nolint