Skip to content

Commit

Permalink
Merge pull request #6 from ImperialCollegeLondon/dev
Browse files Browse the repository at this point in the history
🌱 include pkgdown steps
  • Loading branch information
SaranjeetKaur authored Oct 1, 2024
2 parents 8390a14 + a33ffef commit 95e6410
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ git push --set-upstream origin main
- Install devtools in RStudio using `install.packages("devtools")`.
- It is a set of packages that support various aspects of package development (it includes the `usethis` package too).

## Create website for your package

- Run `install.packages("pkgdown").
- To configure the package to use and deploy pkgdown, run `usethis::use_pkgdown_github_pages()`.
- To preview your site locally before publishing, run `pkgdown::build_site()`.
- This will add the necessary components and sets up GitHub Actions for automatic site building when deploying.
- Your `README.md` becomes the homepage, documentation in `man/` generates a function reference, and vignettes will be rendered into `articles/`.

## Installation

You can install the development version of repositoryr from [GitHub](https://github.com/) with:
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,19 @@ repo](https://happygitwithr.com/existing-github-last.html#create-and-connect-a-g
- It is a set of packages that support various aspects of package
development (it includes the `usethis` package too).

## Create website for your package

- Run \`install.packages(“pkgdown”).
- To configure the package to use and deploy pkgdown, run
`usethis::use_pkgdown_github_pages()`.
- To preview your site locally before publishing, run
`pkgdown::build_site()`.
- This will add the necessary components and sets up GitHub Actions for
automatic site building when deploying.
- Your `README.md` becomes the homepage, documentation in `man/`
generates a function reference, and vignettes will be rendered into
`articles/`.

## Installation

You can install the development version of repositoryr from
Expand Down

0 comments on commit 95e6410

Please sign in to comment.