Package: saferDev 3.0.0
saferDev: Checking Tools for Safer R Function Development
Set of functions that check and correct the code of R functions according to the safer-r project recommendations (see <https://github.com/safer-r>): argument value checking, explicit package namespace qualification of the function calls, complete writing of the arguments of the called functions, curly brackets around the bodies of if, else, for, while, repeat and function, TRUE and FALSE written in full, controlled for() loop sequences and standard function() writing of lambda functions. The corrected function is returned or written into a file. Other functions check the R scope, catch messages, check the presence of packages and functions, and write log files.
Authors:
saferDev_3.0.0.tar.gz
saferDev_3.0.0.zip(r-4.7-any)saferDev_3.0.0.zip(r-4.6-any)saferDev_3.0.0.zip(r-4.5-any)
saferDev_3.0.0.tgz(r-4.6-any)saferDev_3.0.0.tgz(r-4.5-any)
saferDev_3.0.0.tar.gz(r-4.7-any)saferDev_3.0.0.tar.gz(r-4.6-any)
saferDev_3.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
saferDev/json (API)
| # Install 'saferDev' in R: |
| install.packages('saferDev', repos = c('https://safer-r.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/safer-r/saferdev/issues
Pkgdown/docs site:https://safer-r.github.io
Last updated from:938940c161. Checks:7 OK, 2 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 302 | ||
| source / vignettes | OK | 193 | ||
| linux-release | OK | 370 | ||
| macos-release | OK | 418 | ||
| macos-oldrel | FAIL | 90 | ||
| windows-devel | OK | 303 | ||
| windows-release | OK | 306 | ||
| windows-oldrel | FAIL | 51 | ||
| wasm-release | OK | 94 |
Exports:all_args_herearg_checkcolons_checkcurly_bracket_checkenv_checkfor_loop_nb_checkget_messageis_function_hereis_package_herelambda_checkreportsuper_assign_checktrue_false_check
Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerrlangS7scalesvctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| All Arguments Here | all_args_here |
| Argument Check | arg_check |
| Colons Check | colons_check |
| Curly Brackets Check | curly_bracket_check |
| Environment Check | env_check |
| 'for' Loop Number Check | for_loop_nb_check |
| Get Message | get_message |
| Is Function Here | is_function_here |
| Is Package Here | is_package_here |
| Lambda Check | lambda_check |
| Report | report |
| Superassignment Check | super_assign_check |
| True False Check | true_false_check |
