R packages
- http://r-pkgs.had.co.nz/description.html#version
- http://r-pkgs.had.co.nz/release.html#release-version
Compleate guide: http://semver.org/spec/v2.0.0.html
Summary by user: https://github.com/dbrock/semver-howto
R packages
Compleate guide: http://semver.org/spec/v2.0.0.html
Summary by user: https://github.com/dbrock/semver-howto
Introduction
Discussion:
The single biggest problem in communication is the illusion that is has taken place. -- Gerge Bernard Shaw
I can win an argument on any topic, aginst any opponent. People know this, and steer clear of me at parties. Often, as a sign of their great respect, they don't even invite me.
-- Dave Barry
http://sixminutes.dlugan.com/how-to-introduce-a-speaker/
The idea is to build the speaker up in the audience’s mind. Answer:
The code is more readable and flexible than it would be if a value were hard-coded. You don't need to change the program to change titleBar.color ; you simply change the contents of the source that's read by"
-― from "Code Complete (Developer Best Practices)" by Steve McConnell, http://a.co/b75gLyw
In modern languages like C++, Java, and Visual Basic, you can create names of virtually any length; you have almost no reason to shorten meaningful names.
library(baad.data)
library(tidyverse)
#> + ggplot2 2.2.1 Date: 2017-10-04
#> + tibble 1.3.4 R: 3.4.1
#> + tidyr 0.7.1 OS: Windows 10 x64
#> + readr 1.1.1 GUI: RTerm
#> + purrr 0.2.3 Locale: English_Australia.1252
#> + dplyr 0.7.2 TZ: America/New_York
#> + stringr 1.2.0
Read this if one of the following applies to you:
library(package)
or require(package)
inside your functionspackage::function()
or package:::function()
as opposed to function()
.If you are using functions from other packages inside functions of your own package, then you are dealing with NAMESPACE issues. NAMESPACE is one of the most confusing parts of an R package. Prepare for your brain to hurt a bit. This information will not answer all your questions, but it will rise an alarm that may save you time and trouble.
From http://r-pkgs.had.co.nz/namespace.html, find section "Imports" and read its introduction and also the subheading "R functions".