karthik / testdat

A package to run unit tests on tabular data
142 stars 20 forks source link

Install fails #29

Closed ghuiber closed 10 years ago

ghuiber commented 10 years ago

Install fails for me, on a recently refreshed R.

Here's what I have:

> sessionInfo()
R version 3.1.0 (2014-04-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                           LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] devtools_1.5

loaded via a namespace (and not attached):
[1] digest_0.6.4   evaluate_0.5.5 httr_0.3       memoise_0.2.1  parallel_3.1.0 RCurl_1.95-4.1 stringr_0.6.2 
[8] tools_3.1.0    whisker_0.3-2 

And here's the response to trying to get testdat:

> install_github("ropensci/testdat")
Installing github repo testdat/master from ropensci
Downloading master.zip from https://github.com/ropensci/testdat/archive/master.zip
Installing package from C:\Users\ghuiber\AppData\Local\Temp\RtmpqORVZk/master.zip
Installing testdat
"C:/PROGRA~1/R/bin/x64/R" --vanilla CMD INSTALL  \
  "C:\Users\ghuiber\AppData\Local\Temp\RtmpqORVZk\devtools1ae446984506\testdat-master" --library="C:/Program  \
  Files/R/library" --install-tests 

* installing *source* package 'testdat' ...
** R
** inst
** tests
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
Error in namespaceExport(ns, exports) : undefined exports: test_dupname
Error: loading failed
Execution halted
*** arch - x64
Error in namespaceExport(ns, exports) : undefined exports: test_dupname
Error: loading failed
Execution halted
ERROR: loading failed for 'i386', 'x64'
* removing 'C:/Program Files/R/library/testdat'
Error: Command failed (1)
karthik commented 10 years ago

Thanks for the bug report @ghuiber Try again and you should be fine. There are a couple of functions (for testing utf8 characters that aren't fully implemented). I removed those tests and updated some documentation issues. Should work now if you try:

devtools::install_github("ropensci/testdat")
ghuiber commented 10 years ago

That worked. Thank you!