randyzwitch / RSiteCatalyst

R package to access Adobe Analytics Reporting API v1.4
https://randyzwitch.com/rsitecatalyst
Other
127 stars 39 forks source link

Very strange curl errors #194

Closed smach closed 7 years ago

smach commented 7 years ago

Hi Randy. I use this package every week and LOVE it, so I'm trying to share it with a couple of other people at my company. But whenever they try to use it, they always get

Error in curl::curl_fethc_memory(url, handle = handle) : Couldn't resolve host name

I'm running this on 3 different machines without problem, yet we've tried on 3 other machines at work and all get the same error message, even when running on the same network. I tried to install same versions as on my machine, checked DNS and proxy settings (the same), no change. Finally I started experimenting with the checkpoint package so I could install versions of all packages from the same date. When I ran a checkpoint for yesterday on my machine, where RSiteCatalyst has been working fine, I got the same error. So it's package versions, not the machines themselves.

Any suggestions as to what versions of RSiteCatalyst and various dependencies we should use to try to get this working? Thanks!!

This throws the error on my machine where normally everything works fine:

library(checkpoint)
checkpoint("2016-12-12", checkpointLocation = getwd())
library(RSiteCatalyst)
library(devtools)

# After authentication:

x <- QueueOvertime(reportsuite.id = "myreportsuiteid", date.from = "2016-09-01", date.to = "2016-09-30", metrics = c("visits", "pageviews"))

Without the checkpoint(), whatever it is that's older and installed on my machine works fine.

randyzwitch commented 7 years ago

Hey @smach, glad you are spreading the gospel of RSiteCatalyst!

These types of errors are by far the hardest for me to troubleshoot, because they are so specific. This is part of the reason why I added AppVeyor testing to RSiteCatalyst v1.4.10. That package passes on Windows, so unfortunately, the only thing I can provide is the build log, which lists the exact package versions the tests pass with:

Build started
$ErrorActionPreference = "Stop"
Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
Import-Module '..\appveyor-tool.ps1'
git clone -q --branch=master https://github.com/randyzwitch/RSiteCatalyst.git C:\projects\rsitecatalyst
git checkout -qf 44a0e435e72bbd323bbf6af8c43c8f27d2c0b16c
Running Install scripts
Bootstrap
== 12/08/2016 16:40:22: Bootstrap: Start
== 12/08/2016 16:40:22: Adding GnuWin32 tools to PATH
== 12/08/2016 16:40:22: Setting time zone
UTC
GMT Standard Time
== 12/08/2016 16:40:22: Version: patched
== 12/08/2016 16:40:23: URL path: 
== 12/08/2016 16:40:23: Downloading R from: https://cloud.r-project.org/bin/windows/base/R-3.3.2patched-win.exe
== 12/08/2016 16:40:45: Running R installer
R is now available on drive C:
== 12/08/2016 16:40:57: Setting PATH
== 12/08/2016 16:40:57: Testing R installation
R version 3.3.2 Patched (2016-12-06 r71739)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows Server 2012 R2 x64 (build 9600)
locale:
[1] LC_COLLATE=English_United States.1252 
[2] LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    
attached base packages:
[1] stats     graphics  grDevices utils     datasets  base     
== 12/08/2016 16:40:58: Skipping download of Rtools because src/ directory is missing.
== 12/08/2016 16:40:58: Downloading and installing travis-tool.sh
@bash.exe ../travis-tool.sh %*
^.*\.Rproj$
^\.Rproj\.user$
.travis.yml
README.md
travis-tool.sh
docs
.nojekyll
^appveyor\.yml$
^travis-tool\.sh\.cmd$
C:\R\bin\i386
C:\MinGW\msys\1.0\bin
C:\Program Files (x86)\Git\bin
C:\Perl\site\bin
C:\Perl\bin
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Program Files\7-Zip
C:\Program Files\Microsoft\Web Platform Installer\
C:\Tools\GitVersion
C:\Tools\PsTools
C:\Program Files\Git LFS
C:\Program Files\Mercurial\
C:\Program Files (x86)\Subversion\bin
C:\Program Files\Microsoft SQL Server\120\Tools\Binn\
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\
C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\
C:\Program Files\Microsoft SQL Server\120\DTS\Binn\
C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\
C:\Program Files\Microsoft Windows Performance Toolkit\
C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\
C:\Tools\WebDriver
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.4\
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PrivateAssemblies\
C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\wbin
C:\Ruby193\bin
C:\Tools\NUnit\bin
C:\Tools\xUnit
C:\Tools\MSpec
C:\Tools\Coverity\bin
C:\Program Files (x86)\CMake\bin
C:\go\bin
C:\Program Files\Java\jdk1.8.0\bin
C:\Python27
C:\Program Files\erl7.3\bin
C:\Program Files\nodejs
C:\Program Files (x86)\iojs
C:\Program Files\iojs
C:\Users\appveyor\AppData\Roaming\npm
C:\Program Files\Microsoft SQL Server\130\Tools\Binn\
C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\
C:\Program Files (x86)\MSBuild\14.0\Bin
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\SQLDB\DAC\120
C:\Tools\NuGet
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow
C:\Program Files\Amazon\AWSCLI\
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Modules\TShell\TShell\
C:\Program Files\Microsoft DNX\Dnvm
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\
C:\Program Files\Git\cmd
C:\Program Files\Git\usr\bin
C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\
C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\
C:\Program Files\Microsoft SQL Server\130\DTS\Binn\
C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\
C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\
C:\Program Files (x86)\Apache\Maven\bin
C:\Program Files\LLVM\bin
C:\ProgramData\chocolatey\bin
C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code
C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager
C:\Python27\Scripts
C:\Program Files (x86)\Yarn\bin
C:\Tools\NUnit3
C:\Program Files\dotnet\
C:\Program Files (x86)\nodejs\
C:\Users\appveyor\.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc1-update2\bin
C:\Users\appveyor\AppData\Local\Yarn\.bin
C:\Users\appveyor\AppData\Roaming\npm
C:\Program Files\AppVeyor\BuildAgent\
== 12/08/2016 16:40:58: Setting R_LIBS_USER
    Directory: C:\
Mode                LastWriteTime         Length Name                                                                                                                                                                                
----                -------------         ------ ----                                                                                                                                                                                
d-----        12/8/2016   4:40 PM                RLibrary                                                                                                                                                                            
== 12/08/2016 16:40:58: Bootstrap: Done
travis-tool.sh install_deps
+ CRAN=https://cran.rstudio.com
+ BIOC=http://bioconductor.org/biocLite.R
+ BIOC_USE_DEVEL=TRUE
++ uname -s
+ OS=MINGW32_NT-6.2
+ PANDOC_VERSION=1.13.1
+ PANDOC_DIR=/opt/pandoc
+ PANDOC_URL=https://s3.amazonaws.com/rstudio-buildtools/pandoc-1.13.1.zip
+ PATH='/c/R/bin/i386:/usr/bin:/c/Program Files (x86)/Git/bin:/c/Perl/site/bin:/c/Perl/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/c/Program Files/7-Zip:/c/Program Files/Microsoft/Web Platform Installer/:/c/Tools/GitVersion:/c/Tools/PsTools:/c/Program Files/Git LFS:/c/Program Files/Mercurial/:/c/Program Files (x86)/Subversion/bin:/c/Program Files/Microsoft SQL Server/120/Tools/Binn/:/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/110/Tools/Binn/:/c/Program Files (x86)/Microsoft SQL Server/120/Tools/Binn/:/c/Program Files/Microsoft SQL Server/120/DTS/Binn/:/c/Program Files (x86)/Microsoft SQL Server/120/Tools/Binn/ManagementStudio/:/c/Program Files/Microsoft Windows Performance Toolkit/:/c/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit/:/c/Tools/WebDriver:/c/Program Files (x86)/Microsoft SDKs/TypeScript/1.4/:/c/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/IDE/PrivateAssemblies/:/c/Program Files (x86)/Microsoft SDKs/Azure/CLI/wbin:/c/Ruby193/bin:/c/Tools/NUnit/bin:/c/Tools/xUnit:/c/Tools/MSpec:/c/Tools/Coverity/bin:/c/Program Files (x86)/CMake/bin:/c/go/bin:/c/Program Files/Java/jdk1.8.0/bin:/c/Python27:/c/Program Files/erl7.3/bin:/c/Program Files/nodejs:/c/Program Files (x86)/iojs:/c/Program Files/iojs:/c/Users/appveyor/AppData/Roaming/npm:/c/Program Files/Microsoft SQL Server/130/Tools/Binn/:/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit/:/c/Program Files (x86)/MSBuild/14.0/Bin:/c/Program Files (x86)/Microsoft Visual Studio 14.0/Common7/IDE/Extensions/Microsoft/SQLDB/DAC/120:/c/Tools/NuGet:/c/Program Files (x86)/Microsoft Visual Studio 14.0/Common7/IDE/CommonExtensions/Microsoft/TestWindow:/c/Program Files/Amazon/AWSCLI/:/c/Windows/SysWOW64/WindowsPowerShell/v1.0/Modules/TShell/TShell/:/c/Program Files/Microsoft DNX/Dnvm:/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/130/Tools/Binn/:/c/Program Files/Git/cmd:/c/Program Files/Git/usr/bin:/c/Program Files (x86)/Microsoft SQL Server/130/Tools/Binn/:/c/Program Files (x86)/Microsoft SQL Server/130/DTS/Binn/:/c/Program Files/Microsoft SQL Server/130/DTS/Binn/:/c/Program Files (x86)/Microsoft SQL Server/110/DTS/Binn/:/c/Program Files (x86)/Microsoft SQL Server/120/DTS/Binn/:/c/Program Files (x86)/Apache/Maven/bin:/c/Program Files/LLVM/bin:/c/ProgramData/chocolatey/bin:/c/Program Files/Microsoft Service Fabric/bin/Fabric/Fabric.Code:/c/Program Files/Microsoft SDKs/Service Fabric/Tools/ServiceFabricLocalClusterManager:/c/Python27/Scripts:/c/Program Files (x86)/Yarn/bin:/c/Tools/NUnit3:/c/Program Files/dotnet/:/c/Program Files (x86)/nodejs/:/c/Users/appveyor/.dnx/runtimes/dnx-clr-win-x86.1.0.0-rc1-update2/bin:/c/Users/appveyor/AppData/Local/Yarn/.bin:/c/Users/appveyor/AppData/Roaming/npm:/c/Program Files/AppVeyor/BuildAgent/:/usr/texbin'
+ R_BUILD_ARGS=--no-manual
+ R_CHECK_ARGS='--no-manual --as-cran'
+ R_USE_BIOC_CMDS='source('\''http://bioconductor.org/biocLite.R'\''); tryCatch(useDevel(TRUE), error=function(e) {if (!grepl('\''already in use'\'', e)) {e}}); options(repos=biocinstallRepos());'
+ COMMAND=install_deps
+ echo 'Running command: install_deps'
Running command: install_deps
+ shift
+ case $COMMAND in
+ InstallDeps
+ EnsureDevtools
+ Rscript -e 'if (!("devtools" %in% rownames(installed.packages()))) q(status=1)'
+ RBinaryInstall devtools testthat
+ [[ -z 2 ]]
+ [[ Linux != \M\I\N\G\W\3\2\_\N\T\-\6\.\2 ]]
+ echo 'Fallback: Installing from source'
Fallback: Installing from source
+ RInstall devtools testthat
+ [[ '' == \d\e\v\t\o\o\l\s\ \t\e\s\t\t\h\a\t ]]
+ echo 'Installing R package(s): devtools' testthat
Installing R package(s): devtools testthat
+ Rscript -e 'install.packages(commandArgs(TRUE), repos="https://cran.rstudio.com", INSTALL_opts="--no-multiarch")' devtools testthat
Installing packages into 'c:/RLibrary'
(as 'lib' is unspecified)
also installing the dependencies 'mime', 'curl', 'openssl', 'httr', 'memoise', 'whisker', 'digest', 'rstudioapi', 'jsonlite', 'git2r', 'withr', 'crayon', 'praise', 'magrittr', 'R6'
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/mime_0.5.zip'
Content type 'application/zip' length 37483 bytes (36 KB)
==================================================
downloaded 36 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/curl_2.3.zip'
Content type 'application/zip' length 3054284 bytes (2.9 MB)
==================================================
downloaded 2.9 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/openssl_0.9.5.zip'
Content type 'application/zip' length 3041654 bytes (2.9 MB)
==================================================
downloaded 2.9 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/httr_1.2.1.zip'
Content type 'application/zip' length 280138 bytes (273 KB)
==================================================
downloaded 273 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/memoise_1.0.0.zip'
Content type 'application/zip' length 23319 bytes (22 KB)
==================================================
downloaded 22 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/whisker_0.3-2.zip'
Content type 'application/zip' length 64641 bytes (63 KB)
==================================================
downloaded 63 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/digest_0.6.10.zip'
Content type 'application/zip' length 169693 bytes (165 KB)
==================================================
downloaded 165 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/rstudioapi_0.6.zip'
Content type 'application/zip' length 50768 bytes (49 KB)
==================================================
downloaded 49 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/jsonlite_1.1.zip'
Content type 'application/zip' length 1149844 bytes (1.1 MB)
==================================================
downloaded 1.1 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/git2r_0.16.0.zip'
Content type 'application/zip' length 3033174 bytes (2.9 MB)
==================================================
downloaded 2.9 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/withr_1.0.2.zip'
Content type 'application/zip' length 41910 bytes (40 KB)
==================================================
downloaded 40 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/crayon_1.3.2.zip'
Content type 'application/zip' length 703844 bytes (687 KB)
==================================================
downloaded 687 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/praise_1.0.0.zip'
Content type 'application/zip' length 17665 bytes (17 KB)
==================================================
downloaded 17 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/magrittr_1.5.zip'
Content type 'application/zip' length 151132 bytes (147 KB)
==================================================
downloaded 147 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/R6_2.2.0.zip'
Content type 'application/zip' length 197105 bytes (192 KB)
==================================================
downloaded 192 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/devtools_1.12.0.zip'
Content type 'application/zip' length 432105 bytes (421 KB)
==================================================
downloaded 421 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/testthat_1.0.2.zip'
Content type 'application/zip' length 1030582 bytes (1006 KB)
==================================================
downloaded 1006 KB
package 'mime' successfully unpacked and MD5 sums checked
package 'curl' successfully unpacked and MD5 sums checked
package 'openssl' successfully unpacked and MD5 sums checked
package 'httr' successfully unpacked and MD5 sums checked
package 'memoise' successfully unpacked and MD5 sums checked
package 'whisker' successfully unpacked and MD5 sums checked
package 'digest' successfully unpacked and MD5 sums checked
package 'rstudioapi' successfully unpacked and MD5 sums checked
package 'jsonlite' successfully unpacked and MD5 sums checked
package 'git2r' successfully unpacked and MD5 sums checked
package 'withr' successfully unpacked and MD5 sums checked
package 'crayon' successfully unpacked and MD5 sums checked
package 'praise' successfully unpacked and MD5 sums checked
package 'magrittr' successfully unpacked and MD5 sums checked
package 'R6' successfully unpacked and MD5 sums checked
package 'devtools' successfully unpacked and MD5 sums checked
package 'testthat' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
    C:\Users\appveyor\AppData\Local\Temp\1\RtmpemvThv\downloaded_packages
+ return
+ Rscript -e 'install.packages('\''https://github.com/krlmlr/devtools/raw/develop/bin/devtools_1.12.0.9001.zip'\'', repos = NULL)'
Installing package into 'c:/RLibrary'
(as 'lib' is unspecified)
trying URL 'https://github.com/krlmlr/devtools/raw/develop/bin/devtools_1.12.0.9001.zip'
Content type 'application/zip' length 420994 bytes (411 KB)
==================================================
downloaded 411 KB
package 'devtools' successfully unpacked and MD5 sums checked
+ Rscript -e 'library(devtools); library(methods); options(repos=c(CRAN="https://cran.rstudio.com")); install_deps(dependencies = c("Depends", "Imports", "LinkingTo", "Suggests"))'
Installing 1 package: base64enc
Installing package into 'c:/RLibrary'
(as 'lib' is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/base64enc_0.1-3.zip'
Content type 'application/zip' length 38394 bytes (37 KB)
==================================================
downloaded 37 KB
package 'base64enc' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
    C:\Users\appveyor\AppData\Local\Temp\1\Rtmps16XqA\downloaded_packages
Installing 1 package: plyr
Installing package into 'c:/RLibrary'
(as 'lib' is unspecified)
also installing the dependency 'Rcpp'
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/Rcpp_0.12.8.zip'
Content type 'application/zip' length 3281270 bytes (3.1 MB)
==================================================
downloaded 3.1 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/plyr_1.8.4.zip'
Content type 'application/zip' length 1184199 bytes (1.1 MB)
==================================================
downloaded 1.1 MB
package 'Rcpp' successfully unpacked and MD5 sums checked
package 'plyr' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
    C:\Users\appveyor\AppData\Local\Temp\1\Rtmps16XqA\downloaded_packages
Installing 1 package: stringr
Installing package into 'c:/RLibrary'
(as 'lib' is unspecified)
also installing the dependency 'stringi'
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/stringi_1.1.2.zip'
Content type 'application/zip' length 14264524 bytes (13.6 MB)
==================================================
downloaded 13.6 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/stringr_1.1.0.zip'
Content type 'application/zip' length 119762 bytes (116 KB)
==================================================
downloaded 116 KB
package 'stringi' successfully unpacked and MD5 sums checked
package 'stringr' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
    C:\Users\appveyor\AppData\Local\Temp\1\Rtmps16XqA\downloaded_packages
travis-tool.sh run_tests
+ CRAN=https://cran.rstudio.com
+ BIOC=http://bioconductor.org/biocLite.R
+ BIOC_USE_DEVEL=TRUE
++ uname -s
+ OS=MINGW32_NT-6.2
+ PANDOC_VERSION=1.13.1
+ PANDOC_DIR=/opt/pandoc
+ PANDOC_URL=https://s3.amazonaws.com/rstudio-buildtools/pandoc-1.13.1.zip
+ PATH='/c/R/bin/i386:/usr/bin:/c/Program Files (x86)/Git/bin:/c/Perl/site/bin:/c/Perl/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/c/Program Files/7-Zip:/c/Program Files/Microsoft/Web Platform Installer/:/c/Tools/GitVersion:/c/Tools/PsTools:/c/Program Files/Git LFS:/c/Program Files/Mercurial/:/c/Program Files (x86)/Subversion/bin:/c/Program Files/Microsoft SQL Server/120/Tools/Binn/:/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/110/Tools/Binn/:/c/Program Files (x86)/Microsoft SQL Server/120/Tools/Binn/:/c/Program Files/Microsoft SQL Server/120/DTS/Binn/:/c/Program Files (x86)/Microsoft SQL Server/120/Tools/Binn/ManagementStudio/:/c/Program Files/Microsoft Windows Performance Toolkit/:/c/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit/:/c/Tools/WebDriver:/c/Program Files (x86)/Microsoft SDKs/TypeScript/1.4/:/c/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/IDE/PrivateAssemblies/:/c/Program Files (x86)/Microsoft SDKs/Azure/CLI/wbin:/c/Ruby193/bin:/c/Tools/NUnit/bin:/c/Tools/xUnit:/c/Tools/MSpec:/c/Tools/Coverity/bin:/c/Program Files (x86)/CMake/bin:/c/go/bin:/c/Program Files/Java/jdk1.8.0/bin:/c/Python27:/c/Program Files/erl7.3/bin:/c/Program Files/nodejs:/c/Program Files (x86)/iojs:/c/Program Files/iojs:/c/Users/appveyor/AppData/Roaming/npm:/c/Program Files/Microsoft SQL Server/130/Tools/Binn/:/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit/:/c/Program Files (x86)/MSBuild/14.0/Bin:/c/Program Files (x86)/Microsoft Visual Studio 14.0/Common7/IDE/Extensions/Microsoft/SQLDB/DAC/120:/c/Tools/NuGet:/c/Program Files (x86)/Microsoft Visual Studio 14.0/Common7/IDE/CommonExtensions/Microsoft/TestWindow:/c/Program Files/Amazon/AWSCLI/:/c/Windows/SysWOW64/WindowsPowerShell/v1.0/Modules/TShell/TShell/:/c/Program Files/Microsoft DNX/Dnvm:/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/130/Tools/Binn/:/c/Program Files/Git/cmd:/c/Program Files/Git/usr/bin:/c/Program Files (x86)/Microsoft SQL Server/130/Tools/Binn/:/c/Program Files (x86)/Microsoft SQL Server/130/DTS/Binn/:/c/Program Files/Microsoft SQL Server/130/DTS/Binn/:/c/Program Files (x86)/Microsoft SQL Server/110/DTS/Binn/:/c/Program Files (x86)/Microsoft SQL Server/120/DTS/Binn/:/c/Program Files (x86)/Apache/Maven/bin:/c/Program Files/LLVM/bin:/c/ProgramData/chocolatey/bin:/c/Program Files/Microsoft Service Fabric/bin/Fabric/Fabric.Code:/c/Program Files/Microsoft SDKs/Service Fabric/Tools/ServiceFabricLocalClusterManager:/c/Python27/Scripts:/c/Program Files (x86)/Yarn/bin:/c/Tools/NUnit3:/c/Program Files/dotnet/:/c/Program Files (x86)/nodejs/:/c/Users/appveyor/.dnx/runtimes/dnx-clr-win-x86.1.0.0-rc1-update2/bin:/c/Users/appveyor/AppData/Local/Yarn/.bin:/c/Users/appveyor/AppData/Roaming/npm:/c/Program Files/AppVeyor/BuildAgent/:/usr/texbin'
+ R_BUILD_ARGS=--no-manual
+ R_CHECK_ARGS='--no-manual --as-cran'
+ R_USE_BIOC_CMDS='source('\''http://bioconductor.org/biocLite.R'\''); tryCatch(useDevel(TRUE), error=function(e) {if (!grepl('\''already in use'\'', e)) {e}}); options(repos=biocinstallRepos());'
+ COMMAND=run_tests
+ echo 'Running command: run_tests'
Running command: run_tests
+ shift
+ case $COMMAND in
+ RunTests
+ echo 'Building with: R CMD build --no-manual'
Building with: R CMD build --no-manual
+ [[ MINGW == \M\I\N\G\W ]]
+ [[ -d vignettes ]]
+ R CMD build --no-manual .
* checking for file './DESCRIPTION' ... OK
* preparing 'RSiteCatalyst':
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building 'RSiteCatalyst_1.4.10.tar.gz'
++ ls -1t RSiteCatalyst_1.4.10.tar.gz
++ head -n 1
+ FILE=RSiteCatalyst_1.4.10.tar.gz
+ [[ MINGW == \M\I\N\G\W ]]
+ R_CHECK_INSTALL_ARGS='--install-args=--build --no-multiarch'
+ echo 'Testing with: R CMD check "RSiteCatalyst_1.4.10.tar.gz" --no-manual --as-cran --install-args=--build --no-multiarch'
Testing with: R CMD check "RSiteCatalyst_1.4.10.tar.gz" --no-manual --as-cran --install-args=--build --no-multiarch
+ _R_CHECK_CRAN_INCOMING_=FALSE
+ [[ FALSE == \F\A\L\S\E ]]
+ echo '(CRAN incoming checks are off)'
(CRAN incoming checks are off)
+ _R_CHECK_CRAN_INCOMING_=FALSE
+ R_QPDF=true
+ R CMD check RSiteCatalyst_1.4.10.tar.gz --no-manual --as-cran --install-args=--build --no-multiarch
* using log directory 'C:/projects/rsitecatalyst/RSiteCatalyst.Rcheck'
* using R version 3.3.2 Patched (2016-12-06 r71739)
* using platform: i386-w64-mingw32 (32-bit)
* using session charset: ISO8859-1
* using options '--no-manual --as-cran'
* checking for file 'RSiteCatalyst/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'RSiteCatalyst' version '1.4.10'
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package 'RSiteCatalyst' can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking loading without being on the library search path ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd line widths ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking examples ... OK
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
  Running 'testthat-build.R'
  Running 'testthat-get.R' [305s]
  Running 'testthat-queuedatawarehouse.R' [49s]
  Running 'testthat-queuefallout.R' [47s]
  Running 'testthat-queueovertime.R' [155s]
  Running 'testthat-queuepathing.R' [50s]
  Running 'testthat-queueranked.R' [147s]
  Running 'testthat-queuesummary.R' [79s]
  Running 'testthat-queuetrended.R' [254s]
  Running 'testthat-save.R' [49s]
  Running 'testthat-view.R'
 OK
* DONE
Status: OK
+ [[ -n '' ]]
+ [[ -n '' ]]
Collecting artifacts...
Found artifact 'RSiteCatalyst.Rcheck\00check.log' matching '*.Rcheck\**\*.log' path
Found artifact 'RSiteCatalyst.Rcheck\00install.out' matching '*.Rcheck\**\*.out' path
Found artifact 'RSiteCatalyst.Rcheck\RSiteCatalyst-Ex.Rout' matching '*.Rcheck\**\*.Rout' path
Found artifact 'RSiteCatalyst.Rcheck\tests\testthat-build.Rout' matching '*.Rcheck\**\*.Rout' path
Found artifact 'RSiteCatalyst.Rcheck\tests\testthat-get.Rout' matching '*.Rcheck\**\*.Rout' path
Found artifact 'RSiteCatalyst.Rcheck\tests\testthat-queuedatawarehouse.Rout' matching '*.Rcheck\**\*.Rout' path
Found artifact 'RSiteCatalyst.Rcheck\tests\testthat-queuefallout.Rout' matching '*.Rcheck\**\*.Rout' path
Found artifact 'RSiteCatalyst.Rcheck\tests\testthat-queueovertime.Rout' matching '*.Rcheck\**\*.Rout' path
Found artifact 'RSiteCatalyst.Rcheck\tests\testthat-queuepathing.Rout' matching '*.Rcheck\**\*.Rout' path
Found artifact 'RSiteCatalyst.Rcheck\tests\testthat-queueranked.Rout' matching '*.Rcheck\**\*.Rout' path
Found artifact 'RSiteCatalyst.Rcheck\tests\testthat-queuesummary.Rout' matching '*.Rcheck\**\*.Rout' path
Found artifact 'RSiteCatalyst.Rcheck\tests\testthat-queuetrended.Rout' matching '*.Rcheck\**\*.Rout' path
Found artifact 'RSiteCatalyst.Rcheck\tests\testthat-save.Rout' matching '*.Rcheck\**\*.Rout' path
Found artifact 'RSiteCatalyst.Rcheck\tests\testthat-view.Rout' matching '*.Rcheck\**\*.Rout' path
Found artifact 'RSiteCatalyst_1.4.10.tar.gz' matching '*_*.tar.gz' path
Found artifact 'RSiteCatalyst_1.4.10.zip' matching '*_*.zip' path
No artifacts found matching '*.Rcheck\**\*.fail' path
Uploading artifacts...
[1/16] RSiteCatalyst.Rcheck\00check.log (2,714 bytes)...100%
[2/16] RSiteCatalyst.Rcheck\00install.out (316 bytes)...100%
[3/16] RSiteCatalyst.Rcheck\RSiteCatalyst-Ex.Rout (65,472 bytes)...100%
[4/16] RSiteCatalyst.Rcheck\tests\testthat-build.Rout (1,069 bytes)...100%
[5/16] RSiteCatalyst.Rcheck\tests\testthat-get.Rout (4,537 bytes)...100%
[6/16] RSiteCatalyst.Rcheck\tests\testthat-queuedatawarehouse.Rout (1,219 bytes)...100%
[7/16] RSiteCatalyst.Rcheck\tests\testthat-queuefallout.Rout (1,251 bytes)...100%
[8/16] RSiteCatalyst.Rcheck\tests\testthat-queueovertime.Rout (1,916 bytes)...100%
[9/16] RSiteCatalyst.Rcheck\tests\testthat-queuepathing.Rout (1,251 bytes)...100%
[10/16] RSiteCatalyst.Rcheck\tests\testthat-queueranked.Rout (1,890 bytes)...100%
[11/16] RSiteCatalyst.Rcheck\tests\testthat-queuesummary.Rout (1,546 bytes)...100%
[12/16] RSiteCatalyst.Rcheck\tests\testthat-queuetrended.Rout (2,491 bytes)...100%
[13/16] RSiteCatalyst.Rcheck\tests\testthat-save.Rout (1,493 bytes)...100%
[14/16] RSiteCatalyst.Rcheck\tests\testthat-view.Rout (1,015 bytes)...100%
[15/16] RSiteCatalyst_1.4.10.tar.gz (56,425 bytes)...100%
[16/16] RSiteCatalyst_1.4.10.zip (207,668 bytes)...100%
Build success
smach commented 7 years ago

Thanks, I'll give another try. It is very strange, I'm running it successfully on OS X and Windows, but we got the error on an older Windows machine so even got a loaner Mac from IT and still have the problem. I'll try to see if I can install those versions.

randyzwitch commented 7 years ago

@smach, #197 shows the same/similar error, and the "fix" for them was downgrading R to 3.2.2. Don't know why that might work, but perhaps try that?

I'll leave this open for a few more days just in case you find a solution, but unfortunately, I'm not sure how to help here.

randyzwitch commented 7 years ago

Going to close this up, not sure there is anything I can do about this. Sorry @smach

smach commented 7 years ago

FYI we were never able to figure out the problem with 3 different machines here at work, although I've got two machines here in the same office where it works fine. However, it works just fine using the rocker project in a Docker container (as long as I launch the container so it has root access). More info here https://github.com/rocker-org/rocker/wiki/Using-the-RStudio-image

I'm just posting this in case anyone else is having a similar problem in trying to get this very useful package up and running. Docker may be the way to go.