-
Notifications
You must be signed in to change notification settings - Fork 12
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
Follow up on fgeo review #63
Comments
@seanmcm Most (but not all) are among the most popular CRAN packages: Surely I'll be happy to prune a few. |
Thanks, @maurolepore. All the members of my lab who are currently based at SCBI have agreed to test the installation, and I have opened a new issue (#64) to track that. |
I'd agree with @maurolepore that installation pain could be significantly reduced by putting this on CRAN. The required Xcode install on Macs is a painfully slow step. I doubt many people will have this on their machines, or would ever want it for any other purpose. Besides CRAN, is there any other way to eliminate this? |
@teixeirak, can you try moving on without this step and report any errors? I suspect the build-tools (Xcode in mac) may only be required to install packages that have code written in C. Your error messages may help me pinpoint the dependency-packages I need to prune first. |
Sure. I will work on this tomorrow. |
FYI, I had expected that a recent update of the package remotes would remove the need of setting the environmental variable |
@teixeirak can you please try this new installation method? It should be straight forward and should take 2-5 minutes. If you struggle, stop and let me know what the problem was. |
During our meeting we talked a lot about demography functions. Here is an update: My argument for a new interface is not strong enough and the new interface is still inmature. To keep things simple, I now expose only the traditional interface (with minor changes), and directly from the package fgeo.ctfs. This should reduce confusion and make the code much easier to find. You can see this in action at: https://forestgeo.github.io/fgeo.ctfs It'd be great to get your feedback and that of those you share this with. |
RE my previous comment: "My argument for a new interface is not strong enough and the new interface is still inmature". Here is an explanation of the refactoring I have in mind (from e.g. (From the recently published 2nd edition of Refactoring: Improving the design of existing code.)
|
For the record Installation fgeo is now much easier to install (instructions). Users no longer need a GitHub account to install fgeo. Those who tried have successfully installed it (Valentine, Erica, Bier, Aaron). Dependencies fgeo now has less dependencies. The most problematic and less-useful dependencies are now gone. Also, fgeo.ctfs, fgeo.abundance, and fgeo.habitat are now combined into fgeo.analyze. Less packages mean less requests to GitHub and easier installation (avoids reaching GitHub's rate limit). Source code The source code of demography functions is now easier to find. The help file of demography functions points directly to the source code (help file -- see Authors The list of authors is now more inclusive. This is for fgeo in general and also for each internal package (e.g. authors of fgeo.analyze) Features Demography functions have now nicer suffix, References (not discussed in this meeting) The reference to all help files is now more direct and flexible. All functions can be found directly under the tab Reference (also accessible from R with Next stepsBy the end of 2018 I plan to to this:
ReleaseOne safe approach to announce fgeo might be to first announce a release candidate. For example, dplyr already announced the candidate |
FYI, installation is now even easier. We now serve source and windows-binary packages from our own CRAN-like repository. No need to use devtools. Install the latest stable version of all fgeo packages with: these_repos <- c(getOption("repos"), "https://forestgeo.github.io/drat")
install.packages("fgeo", repos = these_repos) |
Added detailed installation instructions
The home page of fgeo now shows detailed installation instructions. The additional instructions should reduce installation problems.
fgeo installs if the required R environment is provided (see build history) but most users lack such an environment. Most users have an R environment that can install compliled packages from CRAN but not source packages from GitHub. Notice how much shorter is the path to install packages from CRAN compared to GitHub (via):
The bottom line is this: Installation problems would be further reduced if packages lived on CRAN.
Added link to ask questions, requests features and report bugs
At the very top, the home page of fgeo now reads: "Contact me to ask Questions, report bugs, or propose features". While this link was already available, it was cryptic and suggested that it was only for reporting bugs.
Expanded the list of authors
Now the list of authos of fgeo shows the authors of each individual packages including Rick Condit (@laosuz please let me know if Rick should be added somewhere else). I'm no-longer listed as an author of fgeo.ctfs (only as maintainer).
Added instructions to remove fgeo
The installation instructions now explain how to remove a previous installation of fgeo: "You can remove fgeo with
remove.packages("fgeo")
". While a new installation should overwrite an old one, it is a good idea to help users recover their old R environment (without fgeo).Added instructions for users to close all other R sessions and restart R
An fgeo package may fail to install if an open R session is using an old version of the package the user wants to install. This problem is eliminated if users close all other R sessions and restart the current session. These instructions are now included in the detailed installation instructions (item 4 and item 10).
Added link to source code in fgeo.ctfs
Now the help file of both the new and old implementation of demography functions point to the source code in the fgeo.ctfs package (here, and here).
Drafted a high-level explanation of what fgeo does
@teixeirak, @seanmcm, and all, Can you please review/edit my draft (#65)?
Welcome contributions to demography help files
@seanmcm, could you help me improve the documentation of fgeo.demography? Here is the source and rendered version in fgeo.demography; and here is the source and rendered version in fgeo.ctfs. You may email me your suggestions or edit the source directly -- which will crate a pull request.
The text was updated successfully, but these errors were encountered: