[R-pkg-devel] caTools missing on WinBuilder?

2017-10-14 Thread Patrick Schratz
Hi guys, during my recent check on win-builder I got this error: ** byte-compile and prepare package for lazy loading Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called 'caTools' https://win-builder.r-project.org/xuET06RPfd7Q/00inst

[R-pkg-devel] Using plyr::mutate and dplyr::mutate in one package

2017-06-12 Thread Patrick Schratz
Hi guys, I’m using both ‘plyr’ and ‘dplyr’ in my package, specifically the ‘mutate’ function of each. I use ‘plyr::mutate’  and ‘dplyr::mutate’ in two different functions and import both using roxygen2 notation 'importFrom plyr mutate’ (the same for dplyr). However, I cannot get rid of the warn

Re: [R-pkg-devel] doMC dependency

2017-05-16 Thread Patrick Schratz
Check the pbapply package for cross-platform apply* parallelization. Also 'future' might be worth a look (by Henrik Bengtson) although I haven't taken a closer look at it yet. On 15. May 2017, 21:09 +0200, Uwe Ligges , wrote: > The question is why you want to make doMC an hard install time depe

Re: [R-pkg-devel] Library not loaded ‘libgdal.dylib’ when building package on travis (osx)

2017-04-30 Thread Patrick Schratz
675 Thanks again to Jonathan Love for tracking down the issue. Very much appreciated! Cheers, Patrick PhD Student at Department of Geography - GIScience group Friedrich-Schiller-University Jena, Germany Tel.: +49-3641-9-48973 Web: https://pat-s.github.io On 29. Apr 2017, 15:34 +0200, Patrick Sc

Re: [R-pkg-devel] Library not loaded ‘libgdal.dylib’ when building package on travis (osx)

2017-04-29 Thread Patrick Schratz
gt; On 29/4/17 21:29, Patrick Schratz wrote: > > Nope, still an open issue. I also do not have any ideas left what I could > > try next. > > > > Tried the export hints (e.g. bash profile) given in 'brew info gdal2' and > > checked with my local configurat

Re: [R-pkg-devel] Library not loaded ‘libgdal.dylib’ when building package on travis (osx)

2017-04-29 Thread Patrick Schratz
Alexandre Courtiol , wrote: > Did you already sort out your issue? > > On 28 April 2017 at 17:19, Patrick Schratz (mailto:patrick.schr...@gmail.com)> wrote: > > Hi everyone, > > > > the following error gives me headaches. When building my package on Travis > &

[R-pkg-devel] Library not loaded ‘libgdal.dylib’ when building package on travis (osx)

2017-04-28 Thread Patrick Schratz
Hi everyone, the following error gives me headaches. When building my package on Travis CI (OS X build), I get the following error: Building with: R CMD build 4.64s$ R CMD build  . * checking for file ‘./DESCRIPTION’ ... OK * preparing ‘RQGIS’: * checking DESCRIPTION meta-information ... OK * in

Re: [R-pkg-devel] .bib file in vignette not found during R CMD check

2017-02-28 Thread Patrick Schratz
entries in Rbuildignore... 2017-02-28 18:57 GMT+01:00 Duncan Murdoch : > On 28/02/2017 10:44 AM, Patrick Schratz wrote: > >> When building the vignette using R CMD Build or >> `devtools::build_vignette()` everything works fine. >> >> However, during R

[R-pkg-devel] .bib file in vignette not found during R CMD check

2017-02-28 Thread Patrick Schratz
When building the vignette using R CMD Build or `devtools::build_vignette()` everything works fine. However, during R CMD check I get the following ** checking running R code from vignettes ...* * ‘sperrorest-vignette.Rmd’ using ‘UTF-8’ ... OK* * NONE* ** checking re-building of vignette output

Re: [R-pkg-devel] R CMD Check: Tests running infinite

2017-02-07 Thread Patrick Schratz
>> /Henrik >> >> > >> > Gabor >> > >> > On Mon, Feb 6, 2017 at 2:17 AM, Henrik Bengtsson >> > wrote: >> >> >> >> In case someone else bumps into this later and finds this thread; can >> >> you co

Re: [R-pkg-devel] R CMD Check: Tests running infinite

2017-02-07 Thread Patrick Schratz
s > myself and I run lots and lots of package tests in future that > utilizes the parallel package. In doFuture I do similar tests, which > is on top of the foreach package. I don't use testthat and I also > don't use doParallel in my testing. > > /Henrik > > >

Re: [R-pkg-devel] R CMD Check: Tests running infinite

2017-02-05 Thread Patrick Schratz
@gaborcsardi solved it :) See here: https://github.com/hadley/testthat/issues/567#issuecomment-277536577 2017-02-05 16:07 GMT+01:00 Patrick Schratz : > Thanks for the hint, Hendrik! > However, this change did not make a difference :/ > > I tried to use all cluster closing func

Re: [R-pkg-devel] R CMD Check: Tests running infinite

2017-02-05 Thread Patrick Schratz
7;cores'! (If you do that, I suspect you create yet another > cluster (a multicore one) which is used but never closed) > > registerDoParallel() should ideally give an error in your case. Author > BCC:ed. > > Henrik > > On Feb 5, 2017 03:56, "Patrick Schratz"

Re: [R-pkg-devel] R CMD Check: Tests running infinite

2017-02-05 Thread Patrick Schratz
n and the check process waits for them to complete? > > Best, > Uwe Ligges > > > > On 31.01.2017 13:45, Patrick Schratz wrote: > >> Hello, >> >> when running R CMD check / devtools::check, section "running tests..." is >> not finishing (40 min+)

[R-pkg-devel] R CMD Check: Tests running infinite

2017-02-01 Thread Patrick Schratz
Hello, when running R CMD check / devtools::check, section "running tests..." is not finishing (40 min+). *Checking tests only works:* *==> Sourcing R files in 'tests' directory* *testthat results * *OK: 7 SKIPPED: 0 FAILED: 0* *T