Skip to content

Commit 8544359

Browse files
committed
Create How to built allodb website.R
1 parent adf4e03 commit 8544359

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

How to built allodb website.R

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
(devtools::check())
2+
3+
install.packages("styler")
4+
library(styler)
5+
#usethis::use_tidy_style()
6+
7+
8+
9+
install.packages("pkgdown")
10+
library(pkgdonw)
11+
12+
##How to update allodb website
13+
#1. Update your documentattion files in R/data
14+
#
15+
16+
#Use this to update documetation
17+
devtools::document()
18+
19+
#run this to check that everything is correct before rebuilding site. THis wll update documentation again and and re=wrire NAMESPACE
20+
#It also will write a report as it is running with 'Test failures"
21+
#(devtools::check())
22+
23+
#run roxygen2 to update website
24+
install.packages("roxygen2")
25+
26+
27+
28+
#then rebuilt the website, push
29+
pkgdown::build_site()
30+
31+
32+
#to check that we have good practices
33+
goodpractice::goodpractice()
34+
install.packages("goodpractice")

0 commit comments

Comments
 (0)