Comments (1)
Potentially useful info for when I get around to this:
- Relevant functions: https://stat.ethz.ch/R-manual/R-devel/library/base/html/ns-hooks.html
- It appears that implementing
.onAttach()
would be the place to do this .onLoad()
should not be used for this, and should not have output messagesonAttach()
should not load libraries. This may complicate things.packageStartupMessage()
should be used to output the info to the user
- It appears that implementing
- Relevant SO question: https://stackoverflow.com/questions/33837615/how-to-access-a-librarys-function-in-onattach
- Example: https://rdrr.io/cran/camtrapR/src/R/onAttach.R
- Blog post: https://web.archive.org/web/20160414203215/http://thecoatlessprofessor.com/programming/automatically-check-if-r-package-is-the-latest-version-on-package-load/
- A dead link was given the example in the previous point. This is an archived version of it.
from samc.
Related Issues (15)
- Multiple absorption inputs when creating samc-class object HOT 1
- Internal function for converting matrix inputs to rasters
- Missing argument in compareRaster() for check() functions
- Add vignette discussing disconnected graphs
- stars package support HOT 1
- Check types when passing list of absorption inputs
- Error creating samc object from rasters with differences in hidden crs info
- Support the input of multiple time steps for short-term metrics HOT 1
- Add working animated ggplot example
- Create vignette(s) on data paramaterization and data quality
- Conditional use of suggested packages
- Add CRAN and download count badges
- Separate site main page from readme HOT 1
- Add Gitter link for discussions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from samc.