aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--R/SyncRNG.R2
-rw-r--r--cran-comments.md5
-rw-r--r--man/SyncRNG-class.Rd2
4 files changed, 9 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index ed61eb2..7a22bc3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
*.pyc
*.so
*.o
+.Rproj.user
+SyncRNG.Rproj
diff --git a/R/SyncRNG.R b/R/SyncRNG.R
index 84088b0..72156df 100644
--- a/R/SyncRNG.R
+++ b/R/SyncRNG.R
@@ -7,7 +7,7 @@ library(methods)
#' user
#'
#' @examples
-#' s = SyncRNG(seed=123456)
+#' s <- SyncRNG(seed=123456)
#' for (i in 1:10)
#' cat(s$randi(), '\n')
#'
diff --git a/cran-comments.md b/cran-comments.md
new file mode 100644
index 0000000..4dc64c6
--- /dev/null
+++ b/cran-comments.md
@@ -0,0 +1,5 @@
+## Test environments
+* local Arch Linux install, R 3.3.1
+
+## R CMD check results
+
diff --git a/man/SyncRNG-class.Rd b/man/SyncRNG-class.Rd
index 599b540..d09f331 100644
--- a/man/SyncRNG-class.Rd
+++ b/man/SyncRNG-class.Rd
@@ -30,7 +30,7 @@ user}
\item{\code{shuffle(x)}}{Randomly shuffle a provided array of values}
}}
\examples{
-s = SyncRNG(seed=123456)
+s <- SyncRNG(seed=123456)
for (i in 1:10)
cat(s$randi(), '\\n')
}