Skip to content

MDPI option cannot find final pdf output in R v3.5.0 #176

@brentthorne

Description

@brentthorne

Hello,

I have been using rticles to put together a manuscript for the journal Remote Sensing published through MDPI. I recently updated my desktop to R v3.5.0 and now I get this error when knit:

Output created: Untitled.pdf
Error in tools::file_path_as_absolute(output_file) : 
  file 'Untitled.pdf' does not exist
Calls: <Anonymous> -> <Anonymous>
Execution halted

This error occurs straight from the template default as well when using the New R Markdown which is why the output file is name "Untitled.pdf".

My laptop is still using R v3.4.4 and does not have this issue. Both computers are using the github version of rticles v0.4.2.9000. When I use other journal formats such as Elsiver I do not have this issue on either machine.

I would prefer to have the latest version of R in use while I continue to work on my manuscript and would appreciate if anyone had some advice for me.

Here is the session info for both machines:

Desktop R v3.5.0:

devtools::session_info("rticles")
Session info ------------------------------------------------------------------------------------
 setting  value                       
 version  R version 3.5.0 (2018-04-23)
 system   x86_64, mingw32             
 ui       RStudio (1.1.453)           
 language (EN)                        
 collate  English_United States.1252  
 tz       America/New_York            
 date     2018-06-22                  

Packages ----------------------------------------------------------------------------------------
 package   * version    date       source                            
 backports   1.1.2      2017-12-13 CRAN (R 3.5.0)                    
 base64enc   0.1-3      2015-07-28 CRAN (R 3.5.0)                    
 digest      0.6.15     2018-01-28 CRAN (R 3.5.0)                    
 evaluate    0.10.1     2017-06-24 CRAN (R 3.5.0)                    
 glue        1.2.0      2017-10-29 CRAN (R 3.5.0)                    
 graphics  * 3.5.0      2018-04-23 local                             
 grDevices * 3.5.0      2018-04-23 local                             
 highr       0.6        2016-05-09 CRAN (R 3.5.0)                    
 htmltools   0.3.6      2017-04-28 CRAN (R 3.5.0)                    
 jsonlite    1.5        2017-06-01 CRAN (R 3.5.0)                    
 knitr       1.20       2018-02-20 CRAN (R 3.5.0)                    
 magrittr    1.5        2014-11-22 CRAN (R 3.5.0)                    
 markdown    0.8        2017-04-20 CRAN (R 3.5.0)                    
 methods   * 3.5.0      2018-04-23 local                             
 mime        0.5        2016-07-07 CRAN (R 3.5.0)                    
 Rcpp        0.12.16    2018-03-13 CRAN (R 3.5.0)                    
 rmarkdown   1.10.2     2018-06-22 Github (rstudio/rmarkdown@1f5b299)
 rprojroot   1.3-2      2018-01-03 CRAN (R 3.5.0)                    
 rticles     0.4.2.9000 2018-06-19 Github (rstudio/rticles@371fee0)  
 stats     * 3.5.0      2018-04-23 local                             
 stringi     1.2.2      2018-05-02 CRAN (R 3.5.0)                    
 stringr     1.3.1      2018-05-10 CRAN (R 3.5.0)                    
 tinytex     0.5.7      2018-06-22 Github (yihui/tinytex@4fb21ee)    
 tools       3.5.0      2018-04-23 local                             
 utils     * 3.5.0      2018-04-23 local                             
 xfun        0.2.4      2018-06-22 Github (yihui/xfun@6eb610d)       
 yaml        2.1.19     2018-05-01 CRAN (R 3.5.0) 

Laptop R v3.4.4:

devtools::session_info("rticles")
Session info ---------------------------------------------------------------------------
setting  value                       
 version  R version 3.4.4 (2018-03-15)
system   x86_64, mingw32             
 ui       RStudio (1.1.442)           
 language (EN)                        
 collate  English_Canada.1252         
 tz       America/New_York            
 date     2018-06-22                  

Packages -------------------------------------------------------------------------------
package   * version    date       source                          
 backports   1.1.2      2017-12-13 CRAN (R 3.4.3)                  
 base64enc   0.1-3      2015-07-28 CRAN (R 3.4.1)                  
 digest      0.6.15     2018-01-28 CRAN (R 3.4.3)                  
 evaluate    0.10.1     2017-06-24 CRAN (R 3.4.4)                  
 glue        1.2.0      2017-10-29 CRAN (R 3.4.4)                  
 graphics  * 3.4.4      2018-03-15 local                           
 grDevices * 3.4.4      2018-03-15 local                           
 highr       0.6        2016-05-09 CRAN (R 3.4.4)                  
 htmltools   0.3.6      2017-04-28 CRAN (R 3.4.4)                  
 jsonlite    1.5        2017-06-01 CRAN (R 3.4.4)                  
 knitr       1.20       2018-02-20 CRAN (R 3.4.4)                  
 magrittr    1.5        2014-11-22 CRAN (R 3.4.4)                  
 markdown    0.8        2017-04-20 CRAN (R 3.4.4)                  
 methods   * 3.4.4      2018-03-15 local                           
 mime        0.5        2016-07-07 CRAN (R 3.4.1)                  
 Rcpp        0.12.16    2018-03-13 CRAN (R 3.4.4)                  
 rmarkdown   1.9        2018-03-01 CRAN (R 3.4.4)                  
 rprojroot   1.3-2      2018-01-03 CRAN (R 3.4.4)                  
 rticles     0.4.2.9000 2018-06-04 Github (rstudio/rticles@371fee0)
stats     * 3.4.4      2018-03-15 local                           
 stringi     1.1.7      2018-03-12 CRAN (R 3.4.4)                  
 stringr     1.3.0      2018-02-19 CRAN (R 3.4.4)                  
 tools       3.4.4      2018-03-15 local                           
 utils     * 3.4.4      2018-03-15 local                           
 yaml        2.1.19     2018-05-01 CRAN (R 3.4.4)

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions