Browse Source

CRAN checks & Travis

tags/v0.3.0
Bob Rudis 8 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$
^\.Rproj\.user$ ^\.Rproj\.user$
^\.travis\.yml$ ^\.travis\.yml$
^README\.*md$ ^README\.Rmd$
^README\.*html$ ^README\.*html$
^NOTES\.*Rmd$ ^NOTES\.*Rmd$
^NOTES\.*html$ ^NOTES\.*html$

4
.travis.yml

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

7
DESCRIPTION

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

3
NAMESPACE

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

3
R/wand-package.R

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

4
R/zzz.r

@ -12,8 +12,8 @@
#' database is used. #' database is used.
#' @export #' @export
#' @examples #' @examples
# ' library(magrittr) #' library(magrittr)
# ' library(dplyr) #' library(dplyr)
#' #'
#' system.file("img", package="filemagic") %>% #' system.file("img", package="filemagic") %>%
#' list.files(full.names=TRUE) %>% #' 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. cache directory has been cleared.
} }
\examples{ \examples{
library(magrittr)
library(dplyr)
system.file("img", package="filemagic") \%>\% system.file("img", package="filemagic") \%>\%
list.files(full.names=TRUE) \%>\% list.files(full.names=TRUE) \%>\%

2
src/Makevars

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