Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Result 1 is not a length 1 atomic vector #19

Open
Btibert3 opened this issue Nov 26, 2018 · 8 comments
Open

Result 1 is not a length 1 atomic vector #19

Btibert3 opened this issue Nov 26, 2018 · 8 comments

Comments

@Btibert3
Copy link

I am starting to get into building slide decks in RMD, and came across this package in the wiki for xaringan.

Below is the error that I am seeing:

Error in convert_pptx(path = "test-ppt-slidex2.pptx", author = "Brock Tibert") : 
  Result 1 is not a length 1 atomic vector

I see #16, and this is the original build process I started with (built in Google Slides -> PPT), but the file above, was opened in PPT locally and saved with a different name. I was hoping that would fix it.

My system info:

> sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: OS X El Capitan 10.11.6

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages:
[1] slidex_0.0.0.9000

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.0       tidyr_0.8.2      crayon_1.3.4     dplyr_0.7.8      assertthat_0.2.0 R6_2.3.0         magrittr_1.5    
 [8] pillar_1.3.0     rlang_0.3.0.1    rstudioapi_0.8   bindrcpp_0.2.2   xml2_1.2.0       tools_3.5.1      glue_1.3.0      
[15] purrr_0.2.5      yaml_2.2.0       compiler_3.5.1   pkgconfig_2.0.2  tidyselect_0.2.5 bindr_0.1.1      tibble_1.4.2   
@datalorax
Copy link
Owner

Thanks! My guess is you’ll need to use the dev branch but it is rather unstable for other reasons. I have had no time to develop this in recent months, unfortunately. But I will try to look into this soon.

@Btibert3
Copy link
Author

Thanks, I will take a look. This is a fantastic idea for a package.

@PatriLoto
Copy link

I tried to convert PowerPoint slides to xaringan slides but I got the same error as Btibert3:
"Result 1 is not a length 1 atomic vector " :/.

@datalorax
Copy link
Owner

Thanks! Can you attach the powerpoint you were having issues with? I have not had time to work on this package for quite some time but hoping to resume at least support-level development soon. I might be able to have time to address this if you can share the slides that are causing the issue.

@PatriLoto
Copy link

This is one of the powerpoint file that I've tried to convert: TalkaboutR.pptx. Also I tried with others pptx but it didn't work neither. Thank you so much for your time!

@datalorax
Copy link
Owner

datalorax commented Jan 29, 2019

So I'm not closing this issue because it still needs some work but it should basically work if you install from the newbullets branch:

remotes::install_github("datalorax/slidex@newbullets")

(but please let me know if it still doesn't render)

@PatriLoto
Copy link

Yesss, it work . I've just convert my pptx file but only one thing didn't work, the Powerpoint images are not coming across into the img folder. Anyway, I read the issue #15 and I'm resolving to copy the images from powerpoint file to the img sub-folder. Thank you very much again :)

@datalorax
Copy link
Owner

Great! Glad at least that part was resolved. Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants