Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update readme for v0.14.0+ #206

Open
jordansread opened this issue Mar 28, 2016 · 5 comments
Open

update readme for v0.14.0+ #206

jordansread opened this issue Mar 28, 2016 · 5 comments

Comments

@jordansread
Copy link
Member

The function list and package requirements are now out of date. Shouldn't be too much work to get that updated.

@jsta
Copy link
Member

jsta commented Jun 9, 2017

I think the function list can be automated with printr if the README is turned into an Rmd with the following series of chunks:

```{r load printr, echo=FALSE,message=FALSE,results='hide'}
loadNamespace("printr")
```

```{r }
help.search("*", package = "glmtools", types = "help")
```

```{r unload printr, echo=FALSE}
unloadNamespace("printr")
```

@jordansread
Copy link
Member Author

Neat! I didn't know that was a thing

@jsta
Copy link
Member

jsta commented Jun 12, 2017

Can use https://github.com/r-lib/desc to automate package requirements.

deps <- desc::desc_get_deps()
deps[deps$type %in% c("Imports", "Depends"), 2:3]

@jsta
Copy link
Member

jsta commented Jun 12, 2017

This will do it without the dependency:

drop(read.dcf(file = system.file("DESCRIPTION",
                package = "glmtools"), fields = c("Depends", "Imports")))
                                     Depends                                      Imports 
 "R (>= 3.0), GLMr, rLakeAnalyzer (>= 1.8.3)"     "ncdf4, tools, akima, lazyeval, methods"

@lawinslow
Copy link
Member

I think we can close this now, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants