Browse Source

CRAN checks & Travis

tags/v0.3.0
Bob Rudis 6 years ago
parent
commit
b94587e976
  1. 2
      .Rbuildignore
  2. 4
      .travis.yml
  3. 7
      DESCRIPTION
  4. 3
      NAMESPACE
  5. 3
      R/wand-package.R
  6. 4
      R/zzz.r
  7. 2
      man/magic_wand_file.Rd
  8. 2
      src/Makevars

2
.Rbuildignore

@ -1,7 +1,7 @@
^.*\.Rproj$
^\.Rproj\.user$
^\.travis\.yml$
^README\.*md$
^README\.Rmd$
^README\.*html$
^NOTES\.*Rmd$
^NOTES\.*html$

4
.travis.yml

@ -3,9 +3,7 @@ warnings_are_errors: true
sudo: required
apt_packages:
- binutils
- libproj-dev
- gdal-bin
- libmagic-dev
env:
global:

7
DESCRIPTION

@ -16,12 +16,13 @@ Suggests:
testthat,
tibble,
magrittr,
dplyr,
rappdirs
dplyr
Depends:
R (>= 3.0.0)
Imports:
purrr,
Rcpp
Rcpp,
rappdirs,
utils
LinkingTo: Rcpp
RoxygenNote: 5.0.1

3
NAMESPACE

@ -3,6 +3,7 @@
export(incant)
export(magic_wand_file)
import(purrr)
import(rappdirs)
importFrom(Rcpp,sourceCpp)
importFrom(rappdirs,user_cache_dir)
importFrom(utils,unzip)
useDynLib(wand)

3
R/wand-package.R

@ -4,7 +4,8 @@
#' @docType package
#' @author Bob Rudis (@@hrbrmstr)
#' @import purrr
#' @import rappdirs
#' @importFrom rappdirs user_cache_dir
#' @useDynLib wand
#' @importFrom Rcpp sourceCpp
#' @importFrom utils unzip
NULL

4
R/zzz.r

@ -12,8 +12,8 @@
#' database is used.
#' @export
#' @examples
# ' library(magrittr)
# ' library(dplyr)
#' library(magrittr)
#' library(dplyr)
#'
#' system.file("img", package="filemagic") %>%
#' list.files(full.names=TRUE) %>%

2
man/magic_wand_file.Rd

@ -20,6 +20,8 @@ perform the decompression unless \code{force} is \code{TRUE} or the
cache directory has been cleared.
}
\examples{
library(magrittr)
library(dplyr)
system.file("img", package="filemagic") \%>\%
list.files(full.names=TRUE) \%>\%

2
src/Makevars

@ -1,3 +1 @@
CPPFLAGS =
CXXFLAGS = -std=gnu99 -Wall -Wextra -O2 -g -fstack-protector
PKG_LIBS = -lmagic
Loading…
Cancel
Save