https://github.com/echore/mypkg_yachen
https://github.com/echore/mypkg_yachen
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/echore/mypkg_yachen
- Owner: echore
- License: agpl-3.0
- Created: 2025-09-22T09:00:36.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-09-22T10:19:53.000Z (10 months ago)
- Last Synced: 2025-09-22T11:33:58.407Z (10 months ago)
- Size: 30.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE.md
Awesome Lists containing this project
README
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# mypkg
[](https://github.com/echore/mypkg_yachen/actions/workflows/R-CMD-check.yaml)
## Installation
You can install the development version of mypkg from [GitHub](https://github.com/) with:
``` r
# install.packages("pak")
pak::pak("echore/mypkg_yachen")
```
## Example
This is a basic example which shows you how to solve a common problem:
```{r example}
library(mypkg)
## basic example code
```
What is special about using `README.Rmd` instead of just `README.md`? You can include R chunks like so:
```{r cars}
summary(cars)
```
You'll still need to render `README.Rmd` regularly, to keep `README.md` up-to-date. `devtools::build_readme()` is handy for this.
You can also embed plots, for example:
```{r pressure, echo = FALSE}
plot(pressure)
```
In that case, don't forget to commit and push the resulting figure files, so they display on GitHub and CRAN.