Error: function 'gdtools_RcppExport_validate' not provided by package 'gdtools'

51 views
Skip to first unread message

inizio

unread,
Sep 5, 2017, 7:16:40 AM9/5/17
to ReporteRs
I've been producing a pptx report every week via:

 ~$ R CMD BATCH script/compile.R

But now it stopped working. My compile.Rout halts at the first addPlot() call with:

Error in PPTX_(file, bg, width, height, offx = offx, offy = offy, pointsize = pointsize,  :
 
function 'gdtools_RcppExport_validate' not provided by package 'gdtools'
Calls: addPlot ... addPlot.pptx -> vector.pptx.graphic -> dml_pptx -> PPTX_ -> .Call


I've updated my packages:

 R> update.packages(as=FALSE, checkBuilt=TRUE)

and also: 

 ~$ R CMD javareconf

And my sessionInfo():

R version 3.3.3 (2017-03-06)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 9 (stretch)


locale
:
 
[1] LC_CTYPE=en_US.UTF-8          LC_NUMERIC=C                
 
[3] LC_TIME=en_US.UTF-8           LC_COLLATE=en_US.UTF-8      
 
[5] LC_MONETARY=sv_SE.UTF-8       LC_MESSAGES=en_US.UTF-8      
 
[7] LC_PAPER=sv_SE.UTF-8          LC_NAME=sv_SE.UTF-8          
 
[9] LC_ADDRESS=sv_SE.UTF-8        LC_TELEPHONE=sv_SE.UTF-8    
[11] LC_MEASUREMENT=sv_SE.UTF-8    LC_IDENTIFICATION=sv_SE.UTF-8


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


other attached packages
:
[1] gmailr_0.7.1        extrafont_0.17      ReporteRs_0.8.8    
[4] ReporteRsjars_0.0.2 DBI_0.7             RMariaDB_0.11-6    
[7] rjson_0.2.15      


loaded via a
namespace (and not attached):
 
[1] zip_1.0.0         Rcpp_0.12.12      plyr_1.8.4        bindr_0.1        
 
[5] R.methodsS3_1.7.1 R.utils_2.5.0     base64enc_0.1-3   tools_3.3.3      
 
[9] digest_0.6.12     uuid_0.1-2        tibble_1.3.4      gtable_0.2.0    
[13] pkgconfig_2.0.1   png_0.1-7         rlang_0.1.2       shiny_1.0.5.9000
[17] bindrcpp_0.2      Rttf2pt1_1.3.4    rJava_0.9-8       httr_1.3.1      
[21] officer_0.1.6     dplyr_0.7.2       xml2_1.1.1        knitr_1.17      
[25] gdtools_0.1.6     grid_3.3.3        glue_1.1.1        R6_2.2.2        
[29] rvg_0.1.4         extrafontdb_1.0   ggplot2_2.2.1     purrr_0.2.3      
[33] magrittr_1.5      scales_0.5.0      htmltools_0.3.6   assertthat_0.2.0
[37] xtable_1.8-2      mime_0.5          colorspace_1.3-2  httpuv_1.3.5    
[41] lazyeval_0.2.0    munsell_0.4.3     R.oo_1.21.0      



David Gohel

unread,
Sep 5, 2017, 7:21:52 AM9/5/17
to ReporteRs
Can you update again? You need to have rvg >= 0.1.5.
a new version of rvg has just been released on CRAN

inizio

unread,
Sep 5, 2017, 9:07:28 AM9/5/17
to ReporteRs
Update gives nothing (Swedish mirror). A fresh installation gives 0.1.4:

> install.packages('rvg',dep=TRUE)
Installing package into ‘/usr/local/lib/R/site-library
(as lib is unspecified)
trying URL
'https://ftp.acc.umu.se/mirror/CRAN/src/contrib/rvg_0.1.4.tar.gz'
Content type 'application/x-gzip' length 61575 bytes (60 KB)
==================================================
downloaded
60 KB


Is my R version outdated??? (R version 3.3.3)

David Gohel

unread,
Sep 5, 2017, 9:13:25 AM9/5/17
to inizio, ReporteRs
No, either you wait for your mirror to be refreshed, either you install from github.

--
You received this message because you are subscribed to the Google Groups "ReporteRs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reporters-package+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

inizio

unread,
Sep 6, 2017, 2:49:53 AM9/6/17
to ReporteRs, ste...@inizio.se
Installed "rvg" from github:

devtools::install_github("davidgohel/rvg")

Works lika a charm!

Thanx
To unsubscribe from this group and stop receiving emails from it, send an email to reporters-pack...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages