Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daranzolin/testdatapkg
Data for Environmental Data Science
https://github.com/daranzolin/testdatapkg
Last synced: about 2 months ago
JSON representation
Data for Environmental Data Science
- Host: GitHub
- URL: https://github.com/daranzolin/testdatapkg
- Owner: daranzolin
- License: cc0-1.0
- Created: 2021-03-26T17:23:21.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-26T17:23:29.000Z (almost 4 years ago)
- Last Synced: 2024-08-13T07:13:23.497Z (5 months ago)
- Language: R
- Size: 24.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE.md
Awesome Lists containing this project
- jimsghstars - daranzolin/testdatapkg - Data for Environmental Data Science (R)
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# testdatapkg
## Installation
You can install the released version of testdatapkg from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("testdatapkg")
```## Example
This is a basic example which shows you how to solve a common problem:
```{r example}
# library(testdatapkg)
## 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 could also use GitHub Actions to re-render `README.Rmd` every time you push. An example workflow can be found here: .
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.