Skip to content

Commit

Permalink
Create How to built allodb website.R
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalezeb committed Sep 13, 2020
1 parent adf4e03 commit 8544359
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions How to built allodb website.R
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")

0 comments on commit 8544359

Please sign in to comment.