Browse Source

CRAN checks & Travis

master
Bob Rudis 8 years ago
parent
commit
5b855843df
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 2
      .Rbuildignore
  2. 4
      .travis.yml
  3. 7
      DESCRIPTION
  4. 3
      NAMESPACE
  5. 3
      R/wand-package.R
  6. 2
      man/magic_wand_file.Rd
  7. 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

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