svn commit: r319607 - in head/finance/R-cran-RFinanceYJ: . files
TAKATSU Tomonari
tota at FreeBSD.org
Sat Jun 1 21:47:53 UTC 2013
Author: tota
Date: Sat Jun 1 21:47:52 2013
New Revision: 319607
URL: http://svnweb.freebsd.org/changeset/ports/319607
Log:
- Add a patch to fix the result of xmlRoot because of changing
the layout in table.yahoo.co.jp
- Replace tab with a space after WWW: in pkg-descr
Added:
head/finance/R-cran-RFinanceYJ/files/
head/finance/R-cran-RFinanceYJ/files/patch-R-quoteStockTsData.R (contents, props changed)
Modified:
head/finance/R-cran-RFinanceYJ/Makefile
head/finance/R-cran-RFinanceYJ/pkg-descr
Modified: head/finance/R-cran-RFinanceYJ/Makefile
==============================================================================
--- head/finance/R-cran-RFinanceYJ/Makefile Sat Jun 1 21:40:21 2013 (r319606)
+++ head/finance/R-cran-RFinanceYJ/Makefile Sat Jun 1 21:47:52 2013 (r319607)
@@ -3,7 +3,7 @@
PORTNAME= RFinanceYJ
PORTVERSION= 0.1.6
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= finance
DISTNAME= ${PORTNAME}_${PORTVERSION}
Added: head/finance/R-cran-RFinanceYJ/files/patch-R-quoteStockTsData.R
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/finance/R-cran-RFinanceYJ/files/patch-R-quoteStockTsData.R Sat Jun 1 21:47:52 2013 (r319607)
@@ -0,0 +1,11 @@
+--- R/quoteStockTsData.R.orig 2011-03-24 23:34:43.000000000 +0900
++++ R/quoteStockTsData.R 2013-06-02 04:03:12.000000000 +0900
+@@ -56,7 +56,7 @@
+ try( r <- xmlRoot(htmlTreeParse(quote.url,error=xmlErrorCumulator(immediate=F))), TRUE)
+ if( is.null(r) ) stop(paste("Can not access :", quote.url))
+
+- try( quote.table <- r[[2]][[1]][[1]][[16]][[1]][[1]][[1]][[4]][[1]][[1]][[1]], TRUE )
++ try( quote.table <- r[[2]][[1]][[1]][[13]][[1]][[1]][[1]][[4]][[1]][[1]][[1]], TRUE )
+ #
+ if( is.null(quote.table) ){
+ if( is.null(financial.data) ){
Modified: head/finance/R-cran-RFinanceYJ/pkg-descr
==============================================================================
--- head/finance/R-cran-RFinanceYJ/pkg-descr Sat Jun 1 21:40:21 2013 (r319606)
+++ head/finance/R-cran-RFinanceYJ/pkg-descr Sat Jun 1 21:47:52 2013 (r319607)
@@ -1,3 +1,3 @@
Japanese stock market from Yahoo!-finance-Japan
-WWW: http://cran.r-project.org/web/packages/RFinanceYJ/
+WWW: http://cran.r-project.org/web/packages/RFinanceYJ/
More information about the svn-ports-all
mailing list