-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.Rhistory
34 lines (34 loc) · 1.18 KB
/
.Rhistory
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# setwd("~/Box Sync/Tools/R_scripts/R_packages")
library(devtools)
library(roxygen2)
packages_directory <-
file.path("~", "Library", "CloudStorage", "Box-Box",
"Tools", "R_scripts", "R_packages")
package_name <- "CpeptideTools"
wd.tmp <- getwd()
setwd(file.path(packages_directory, package_name))
# usethis::create_package(package_name) # initial package creation
devtools::document()
devtools::install(file.path("..", package_name))
setwd(wd.tmp)
rm(wd.tmp)
devtools::check(file.path(packages_directory, package_name))
devtools::check(file.path(packages_directory, package_name))
??check_boolean
?checkmate::check_logical
?setNames
# setwd("~/Box Sync/Tools/R_scripts/R_packages")
library(devtools)
library(roxygen2)
packages_directory <-
file.path("~", "Library", "CloudStorage", "Box-Box",
"Tools", "R_scripts", "R_packages")
package_name <- "CpeptideTools"
wd.tmp <- getwd()
setwd(file.path(packages_directory, package_name))
# usethis::create_package(package_name) # initial package creation
devtools::document()
devtools::install(file.path("..", package_name))
# usethis::create_package(package_name) # initial package creation
devtools::document()
devtools::install(file.path("..", package_name))