knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
This is an empty repository to help you build an extension to greta. It's a GitHub template repository, so you can make a copy to build your extension from by following these steps:
greta.<something>
) and create a new repo in your account.Please don't hit the fork button, that would make a permanent link between your repository and this one!
Here's a list of things to do once you've made a copy of the template, to make sure the package is ship-shape. Maybe take a look at the corresponding parts of greta or tensorflow if you need inspiration or text to copy and adapt!
DESCRIPTION
library()
and test_check()
calls in tests/testthat.R
@name
documentation field in R/package.R
README.Rmd
greta.template.Rproj
to greta.<something>.Rproj
DESCRIPTION
@title
documentation field in R/package.R
DESCRIPTION
DESCRIPTION
to point to your repoDESCRIPTION
(e.g. with the usethis
package)DESCRIPTION
@description
documentation field of R/package.R
README.Rmd
to point to your packageR/package.R
README.Rmd
to sell to people with a sales pitch and maybe an example that creates a figure, to get people excited about your package.R
foldertests/testthat
folderR/square.R
and tests/testthat/test-square.R
If you see something missing in this template or the to do list, please let us know via the issues, or send a pull request. We'd really appreciate it. This template comes with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms. We also hope people using the template will keep the Code of Conduct with their package code.
p.s. thanks @karthik for the awesome template-template I shamelessly copied from karthik/binder-test
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.