-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create How to built allodb website.R
- Loading branch information
1 parent
adf4e03
commit 8544359
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
(devtools::check()) | ||
|
||
install.packages("styler") | ||
library(styler) | ||
#usethis::use_tidy_style() | ||
|
||
|
||
|
||
install.packages("pkgdown") | ||
library(pkgdonw) | ||
|
||
##How to update allodb website | ||
#1. Update your documentattion files in R/data | ||
# | ||
|
||
#Use this to update documetation | ||
devtools::document() | ||
|
||
#run this to check that everything is correct before rebuilding site. THis wll update documentation again and and re=wrire NAMESPACE | ||
#It also will write a report as it is running with 'Test failures" | ||
#(devtools::check()) | ||
|
||
#run roxygen2 to update website | ||
install.packages("roxygen2") | ||
|
||
|
||
|
||
#then rebuilt the website, push | ||
pkgdown::build_site() | ||
|
||
|
||
#to check that we have good practices | ||
goodpractice::goodpractice() | ||
install.packages("goodpractice") |