tomwenseleers / export

R package for streamlined export of graphs and data tables.
192 stars 35 forks source link

error: 'ph_with_vg_at' is defunct... when I tried to export a ggplot object to .pptx #23

Closed liaojiahui-r closed 4 years ago

liaojiahui-r commented 4 years ago

Hi!

error: 'ph_with_vg_at' is defunct. Use 'officer::ph_with' instead. See help("Defunct")

how to solve this problem? thx

liaojiahui-r commented 4 years ago

and... R version 3.6.2

dockerytong commented 4 years ago

this problem also happen to me when update to R 3.6.2 🤣

llengcn commented 4 years ago

Yes, dear export developer, I also met this problem after I installed some other packages (ggtree). Since I use export every day, I tried to install export in another computer. The R version in that computer is 3.6.2 and I still met this problem. Could you please solve this problem? Thank you very much!

Reewturge commented 4 years ago

Hello!

To avoid this error you need to install rvg package with old 2.1 version using CRAN.

llengcn commented 4 years ago

Hello!

To avoid this error you need to install rvg package with old 2.1 version using CRAN.

Thank you very much!

realreal2020 commented 4 years ago

Hello! To avoid this error you need to install rvg package with old 2.1 version using CRAN.

Thank you very much!

sorry, install old rvg did not work. Any methods? Thanks!

Yuxin-Cui commented 4 years ago

I have also tried to install an old rvg, but found it can not be installed in R 3.6.3. Can anyone provide a practical guide?

liaojiahui-r commented 4 years ago

I have also tried to install an old rvg, but found it can not be installed in R 3.6.3. Can anyone provide a practical guide?

Hello, I've installed rvg (2.1) successfully under R version 3.6.3 and now export works well

R version 3.6.3 (2020-02-29) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: macOS Catalina 10.15.3

I used these codes

packageurl <- "https://cran.r-project.org/src/contrib/Archive/rvg/rvg_0.2.1.tar.gz" install.packages(packageurl, repos = NULL, type = "source")

截屏2020-03-2507 57 51
Yuxin-Cui commented 4 years ago

Thanks for your suggestion. I have tried it, but got an error message as follows: R inst ** byte-compile and prepare package for lazy loading Error: package 'Rcpp' does not have a namespace Execution halted ERROR: lazy loading failed for package 'rvg'

realreal2020 commented 4 years ago

I have also tried to install an old rvg, but found it can not be installed in R 3.6.3. Can anyone provide a practical guide?

Hello, I've installed rvg (2.1) successfully under R version 3.6.3 and now export works well

R version 3.6.3 (2020-02-29) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: macOS Catalina 10.15.3

I used these codes

packageurl <- "https://cran.r-project.org/src/contrib/Archive/rvg/rvg_0.2.1.tar.gz" install.packages(packageurl, repos = NULL, type = "source")

截屏2020-03-2507 57 51

thx! BUT! warning again! installation of package ‘/tmp/RtmpMuHqzS/downloaded_packages/CRAN’ had non-zero exit status

jukicivan commented 4 years ago

I have the same issue.

cvanderaa commented 4 years ago

Hello, Thank you for your comments and sorry for the late response... This issue should be fixed by now! Please re-install the latest version of export using:

devtools::install_github("tomwenseleers/export")

Let me know if you still have issues.