Comments (4)
This relates specifically to use of vol2birdR in examples, manual suggests following block around example code that uses a suggested package:
if(require("pkgname")){
}
from biorad.
Current packages in Suggests:
aws.s3,
ggspatial,
knitr,
prettymapr,
rmarkdown,
rosm,
sf,
testthat (>= 3.0.0),
tidyselect,
vdiffr,
vol2birdR
from biorad.
Current functions that check for dependencies in Suggest, each of these need a if(require("pkgname")) in the examples
calculate_vp.R: rlang::check_installed("vol2birdR", format_reason_vol2bird("to run `calculate_vp`."))
download_pvolfiles.R: rlang::check_installed('aws.s3','to download pvolfiles.')
list_vpts_aloft.R: rlang::check_installed("aws.s3",
map.R: rlang::check_installed(c("ggspatial","prettymapr"),'to map ppi\'s')
read_pvolfile.R: rlang::check_installed("vol2birdR", format_reason_vol2bird("to read `NEXRAD` files."))
To do:
- add
rosm
to the check_installed list in map.R - add
if(require("pkgname"))
blocks to examples forcalculate_vp()
,download_pvolfiles()
,list_vpts_aloft()
,map()
andread_pvolfile()
- move sf from Suggests to Imports, since the library is used in
map()
. sf is a very common library, so not worth adding a rlang::check_installed to map()
from biorad.
Check as follows with devtools:
devtools::check(env_vars = c("_R_CHECK_DEPENDS_ONLY_"="true"))
from biorad.
Related Issues (20)
- VPTS object has duplicate columns `dbz_all` and `DBZH`, with incorrect repeating values HOT 2
- VP and VPTS object use `0/1` rather than `false/true` for `gap` HOT 5
- download_pvolfiles aborts instead of skips days without data
- CRAN check failures HOT 2
- fix default refractive index of water in eta_to_dbz() and dbz_to_eta() HOT 4
- download_basemap from Stamen no longer working HOT 2
- single_pol flag in calculate_vp() not working HOT 1
- `list_vpst_aloft` fails on `hdf5` HOT 1
- `download_vpfiles()` currently broken HOT 1
- incorrect range gate start attribute HOT 1
- VPTS files with multiple sd_vvp_thresholds fail to load
- Combining hdf5 and csv VP files HOT 1
- `read_vpts()` cannot read bioRad created CSV HOT 5
- Error when plotting clutter maps HOT 1
- sunrise sunset conflict with tibble HOT 3
- bioRad and vol2birdR archived on CRAN HOT 4
- policy violation by copy to user work directory HOT 2
- composite_ppi() subscript out of bound error message
- bioRad does not build with tidyselect in suggests
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 biorad.