forked from fontikar/DIY_Rpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
workshophistory.Rhistory
57 lines (57 loc) Β· 1.34 KB
/
workshophistory.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
library(devtools)
library(testthat)
use_mit_license()
use_mit_license()
check()
check()
use_pipe()
document()
use_r("say")
use_r("phrases")
load_all()
say()
say("RLadies Calgary!")
document()
?say()
?phrases()
use_readme_rmd()
install()
use_vignette("ohwhaley")
build_vignettes()
build_vignettes()
build_vignettes()
browseVignettes("ohwhaley")
build_vignettes()
browseVignettes("ohwhaley")
document()
browseVignettes("ohwhaley")
vignette("ohwhaley")
use_testthat()
use_test()
use_test("say")
say() %>% length()
test_that("Output is of correct format",{
expect_length(say(), 0) #Returns something with a length of 0
expect_null(say()) #Returns null
expect_invisible(say()) #Returns invisibly
expect_message(say()) #Returns a message
})
check()
test_that("Output is of correct format",{
expect_length(say(), 0) #Returns something with a length of 0
expect_null(say()) #Returns null
expect_invisible(say()) #Returns invisibly
expect_message(say()) #Returns a message
})
test_that("Output is of correct format",{
expect_length(say(), 0) #Returns something with a length of 0
expect_null(say()) #Returns null
expect_invisible(say()) #Returns invisibly
expect_message(say()) #Returns a message
})
install(build_vignettes = TRUE)
library(ohwhaley)
say()
check()
say("Thank you for inviting me RLadies Calgary!!!")
savehistory("~/Dropbox/R/RLadiesCAL_Rpkg/Untitled.Rhistory")