forestgeo / fgeo Goto Github PK
View Code? Open in Web Editor NEW[Meta R-package on CRAN] Analyse forest diversity and dynamics
Home Page: https://forestgeo.github.io/fgeo/.
License: Other
[Meta R-package on CRAN] Analyse forest diversity and dynamics
Home Page: https://forestgeo.github.io/fgeo/.
License: Other
Write a function to create package links from package names and list those links as shortcuts to package website.
http://style.tidyverse.org/error-messages.html#problem-statement
Take the chance and replace stop()
, warning()
and message()
by rlang's abor()
, warn()
and inform()
.
To index datasets -- and even their descriptions -- I can wrap data()
get_datasets <- function(package) {
dinfo <- data(package = package)
dinfo[["results"]][, "Item"]
}
get_datasets("ggplot2")
Thanks to Nathan Werth via rstudio community.
The goal of the learn repository is to store learning resources as issues.
Your job is to explore learning resources as issues and react with an emoji. For example, this is how you can up-vote the resources you like:
By contributing to this issue you will help others discover the best resources.
If you have any question, please ask me by referring to me as @maurolepore.
Search related issues on https://github.com with: label:hacktoberfest maurolepore
Get Started appears automatically when the package contains an article with the same name of the package.
I think this comes from cwickham tidyverse course:
This ...
install.packages("fgeo")
... is equivalent to this
install.packages("fgeo.tool")
install.packages("fgeo.map")
...
And this ...
library(fgeo)
... is equivalent to this
library(fgeo.tool)
library(fgeo.map)
...
From README remove internal functions.
Links can be added programatically. This can be useful to add links to packages in README, to funcitons in Get Started; to people's websites on acknowledgements.
For inspiration see:
knitr::kable()
.E.g. code of the paper of Joe LaManna.
The goal of the learn repository is to store learning resources as issues. To make those easy to find I am using labels. The resources and labels accumulated organically, and now it's time to get organized. What labels would you add/remove?
If you have any question, please ask me by referring to me as @maurolepore.
Search related issues on https://github.com with: label:hacktoberfest maurolepore
Simplify readme even further. E.g. don't repeat package name. See http://dplyr.tidyverse.org/.
Find what functions are used and not used in each package:
Reorganize functions in website:
use_concept()
.what does tidyverse_update() do?
Incorporate text edits from Stuart and Haley.
Use this instead.
use_lifecycle_badge("EDIT-STAGE")
use_travis()
Remove this (.github/ is created automatically with use_tidy_coc()
):
use_directory(".github")
# move coc manually to .github/
Downloading GitHub repo forestgeo/ctfs@master
Error in utils::download.file(url, path, method = download_method(), quiet = quiet, :
cannot open URL 'https://api.github.com/repos/forestgeo/ctfs/zipball/master'
Problems is in fgeo.demography()
library(fgeo)
Error in library(fgeo) : there is no package called ‘fgeo’
> library(fgeo.map)
> library(fgeo.tool)
> library(soilkrig)
Warning message:
In fun(libname, pkgname) : couldn't connect to display ":0"
> library(fgeo.demography)
Error in library(fgeo.demography) :
there is no package called ‘fgeo.demography’
> library(fgeo.abundance)
fgeo_nms_conventions()
fgeo_abreviations()
fgeo_funs()
Please briefly describe your problem and what output you expect. If you have a question, please don't use this form. Instead, ask on https://stackoverflow.com/, https://community.rstudio.com/, https://github.com/forestgeo/forum/ or email Mauro Lepore at [email protected].
Please include a minimal reproducible example (AKA a reprex). If you've never heard of a reprex before, start by reading https://www.tidyverse.org/help/#reprex.
Brief description of the problem
# insert reprex here
Instead of adding code I may point to good packages. E.g.:
Record videos for an overview of fgeo.
Ideas:
Configure following http://pkgdown.r-lib.org/articles/pkgdown.html?q=search%20shift#docsearch-configuration
On Tue, Jun 26, 2018 at 7:47 AM Sylvain Pace [email protected] wrote:
Hi Mauro,
Congratulations, your search is now ready!
I've successfully configured the underlying crawler and it will now run every 24h.
You're now a few steps away from having it working on your website:
<!-- at the end of the HEAD -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
<!-- at the end of the BODY -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
<script type="text/javascript"> docsearch({
apiKey: 'ec79b1c00aff9cd841703edc746e1a71',
indexName: 'fgeo',
inputSelector: '### REPLACE ME ####',
debug: false // Set debug to true if you want to inspect the dropdown
});
</script>
Please open a pull request if want to leverage your configuration!
Feel free to get back to us if you have any issues or questions regarding the integration.
We'd also be happy to get your feedback and thoughts about DocSearch - so we can continue to improve it.
Have a nice day :)
Sylvain Pace
Software Engineer
| www.algolia.com | @algolia
> apropos("pick")
character(0)
> library(fgeo)
── Attaching packages ─────────────────────────────────────── fgeo 0.0.0.9000 ──
✔ bciex 0.0.0.9000 ✔ fgeo.demography 0.0.0.9000
✔ fgeo.abundance 0.0.0.9004 ✔ fgeo.habitat 0.0.0.9006
✔ fgeo.base 0.0.0.9001 ✔ fgeo.map 0.0.0.9204
✔ fgeo.data 0.0.0.9002 ✔ fgeo.tool 0.0.0.9003
Warning message:
In fun(libname, pkgname) : couldn't connect to display ":0"
> apropos("pick")
[1] "pick_dbh_max" "pick_dbh_min" "pick_dbh_over" "pick_dbh_under"
[5] "pick_plotname" "pick_recensus" "pick_status" "pick_top"
Standardize infrastructure following this post.
<img src="https://i.imgur.com/39pvr4n.png" align="right" height=44 />
EDIT: ADD BADGES CREATED WITH:
use_lifecycle_badge()
use_cran_badge()
EDIT: CONSIDER ADDING BADGES CREATED WITH:
# In .travis.yml consider adding `warnings_are_errors: false`
use_travis()
use_coverage("coveralls")
# install.packages("remotes")
remotes::install_github("EDIT-OWNER/EDIT-PACKAGE-NAME")
For details on how to install packages from GitHub, see [this article](https://goo.gl/dQKEeg).
EDIT: Run this:
use_tidy_coc()
use_directory(".github")
# move coc manually to .github/
Search box finds stuff but the links to found stuff don't work.
library(fgeo)
#> -- Attaching packages ------------------------------------------- fgeo 0.0.0.9000 --
#> v fgeo.abundance 0.0.0.9005 v fgeo.demography 0.0.0.9100
#> v fgeo.base 0.0.0.9001 v fgeo.habitat 0.0.0.9006
#> v fgeo.data 0.0.0.9005 v fgeo.map 0.0.0.9204
#> v fgeo.abundance 0.0.0.9005 v fgeo.tool 0.0.0.9003
#>
Created on 2018-10-19 by the reprex package (v0.2.1)
Export fgeo_imports _sugests _core, to do things from other pkgs. See ?fgeo_pkg_deps()
.
#' if (interactive()) {
#' fgeo_help("pick")
#' }
fgeo_help <- function(pattern = "", package = fgeo::fgeo_core()) {
help.search(pattern = pattern, package = fgeo::fgeo_core())
}
This is the home page of fgeo, an R package that helps you Analyze forest diversity and dynamics.
You may bookmark this page so you can find it quickly.
To find out what you can do with fgeo -- even before you install it -- try a Quick Search for
• packages,
• functios, or
• datasets.
Follow the links for information on any topic.
To install fgeo by running this code.
Then in any R session you can load fgeo with library(fgeo) and find anything run fgeo_help().
You can also narrow down your search with specific keywords, for example fgeo_help ("map").
Each help file has a similar structure -- generally with a title, description, arguments and examples.
With latest versions of RStudio you can run examples directly from the Help tab. Highlight the code you want run and press Control/Cmd enter.
If what you found is not quite what you expected, try the links to related topics.
You can try fgeo on rstudio.cloud for free at http://bit.ly/fgeo-demo
Now go ahead and Get Started
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.