From 0a370c602878ed3e71f989b717ff086531276342 Mon Sep 17 00:00:00 2001 From: Florian Gerber <florian.gerber@math.uzh.ch> Date: Mon, 3 Oct 2016 12:09:42 +0200 Subject: [PATCH] - add link to git repo in DESCRIPTION - ChangeLog file is not necessary as the info is already on git - A NEWS and README files can be added later. - update .gitignore .Rbuildignore --- .Rbuildignore | 2 ++ .gitignore | 6 ++++++ DESCRIPTION | 4 +++- R/dotCall64.R | 4 ++-- README.md | 0 man/dotCall64.Rd | 4 ++-- 6 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md diff --git a/.Rbuildignore b/.Rbuildignore index ded27b5..de5a9b5 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -1,3 +1,5 @@ benchmark ^.*\.Rproj$ ^\.Rproj\.user$ +^\.git/*$ +^\.gitignore$ diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e27ba9e --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +.Rproj.user +.Rhistory +.RData +.DS_Store +*.o +*.so \ No newline at end of file diff --git a/DESCRIPTION b/DESCRIPTION index 7905024..436dc98 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Package: dotCall64 Type: Package Title: Enhanced Foreign Function Interface Supporting Long Vectors Version: 0.9-04 -Date: 2016-09-30 +Date: 2016-10-03 Authors@R: c(person("Kaspar", "Moesinger", role = c("aut", "cre"), email = "kaspar.moesinger@gmail.com"), person("Florian", "Gerber", role = "ctb", @@ -14,6 +14,8 @@ Maintainer: Kaspar Moesinger <kaspar.moesinger@gmail.com> Description: An alternative version of .C() and .Fortran() supporting long vectors and 64-bit integer type arguments. The provided interface .C64() features mechanisms the avoid unnecessary copies of read-only or write-only arguments. This makes it a convenient and fast interface to C/C++ and Fortran code. License: GPL (>= 2) +URL: https://git.math.uzh.ch/reinhard.furrer/dotCall64 +BugReports: https://git.math.uzh.ch/reinhard.furrer/dotCall64/issues Depends: R (>= 3.1) Suggests: microbenchmark, diff --git a/R/dotCall64.R b/R/dotCall64.R index 2ce360c..7c054d4 100644 --- a/R/dotCall64.R +++ b/R/dotCall64.R @@ -4,7 +4,7 @@ #' It works similar to \code{\link{.C}} and \code{\link{.Fortran}}, and #' \enumerate{ #' \item supports long vectors, i.e., vectors with more than \code{2^31-1} elements, -#' \item does the necessary castings to expose the R represantation of "64-bit integers" (numeric vectors) +#' \item does the necessary castings to expose the R representation of "64-bit integers" (numeric vectors) #' to 64-bit integers arguments of the compiled function; int64_t types in C and integer (kind = 8) in Fortran, #' \item provides a mechanism the control the duplication of the R objects exposed to the compiled code, #' \item checks if the provided R objects are of the expected type and coerces the R object if necessary. @@ -32,7 +32,7 @@ #' When the intent is \code{"w"}, the corresponding input argument can be specified #' with the function \code{\link{vector_dc}} or its shortcuts \code{\link{integer_dc}} and \code{\link{numeric_dc}}. #' This avoids copying the passed R objects and hence is more efficient in terms of speed and memory usage. -#' By default all arguments have intent \code{"rw"}. +#' By default, all arguments have intent \code{"rw"}. #' @param NAOK logical vector of length 1. If \code{FALSE} (default), the presence of \code{NA} or \code{NaN} or \code{Inf} #' in the R objects passed through \code{...} results in an error. #' If \code{TRUE}, any \code{NA} or \code{NaN} or \code{Inf} values in the diff --git a/README.md b/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/man/dotCall64.Rd b/man/dotCall64.Rd index e02dbb8..5e337b9 100644 --- a/man/dotCall64.Rd +++ b/man/dotCall64.Rd @@ -30,7 +30,7 @@ since this corrupts the R object in the current R session. When the intent is \code{"w"}, the corresponding input argument can be specified with the function \code{\link{vector_dc}} or its shortcuts \code{\link{integer_dc}} and \code{\link{numeric_dc}}. This avoids copying the passed R objects and hence is more efficient in terms of speed and memory usage. -By default all arguments have intent \code{"rw"}.} +By default, all arguments have intent \code{"rw"}.} \item{NAOK}{logical vector of length 1. If \code{FALSE} (default), the presence of \code{NA} or \code{NaN} or \code{Inf} in the R objects passed through \code{...} results in an error. @@ -58,7 +58,7 @@ by the compiled C or Fortran code. It works similar to \code{\link{.C}} and \code{\link{.Fortran}}, and \enumerate{ \item supports long vectors, i.e., vectors with more than \code{2^31-1} elements, - \item does the necessary castings to expose the R represantation of "64-bit integers" (numeric vectors) + \item does the necessary castings to expose the R representation of "64-bit integers" (numeric vectors) to 64-bit integers arguments of the compiled function; int64_t types in C and integer (kind = 8) in Fortran, \item provides a mechanism the control the duplication of the R objects exposed to the compiled code, \item checks if the provided R objects are of the expected type and coerces the R object if necessary. -- GitLab