Skip to content
New issue

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

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

Already on GitHub? # to your account

frontiers_article gone? #209

Closed
muschellij2 opened this issue Mar 13, 2019 · 5 comments
Closed

frontiers_article gone? #209

muschellij2 opened this issue Mar 13, 2019 · 5 comments
Milestone

Comments

@muschellij2
Copy link
Contributor

It looks like frontiers_article was removed from the package. It has a commit: 1d56a5b. Is there any docs/NEWS on why this was deleted?

Removing rticles package

remove.packages("rticles")
Removing package from ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library’
(as ‘lib’ is unspecified)

Installing old rticles package

remotes::install_github("rstudio/rticles", ref = "1d56a5b685641ff677a8d680eb39d3430a82979b", dependencies = FALSE)
Downloading GitHub repo rstudio/rticles@1d56a5b685641ff677a8d680eb39d3430a82979b
✔  checking for file ‘/private/var/folders/1s/wrtqcpxn685_zk570bnx9_rr0000gr/T/Rtmpm2iNHj/remotes10b934abe15f5/rstudio-rticles-1d56a5b/DESCRIPTION’ (463ms)
─  preparing ‘rticles’:
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘rticles_1.0.tar.gz’

   
Loading required package: colorout
* installing *source* package ‘rticles’ ...
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Loading required package: colorout
* DONE (rticles)

The template exists

system.file("rmarkdown", "templates", "frontiers_article", package = "rticles")
[1] "/Library/Frameworks/R.framework/Versions/3.5/Resources/library/rticles/rmarkdown/templates/frontiers_article"
sessioninfo::session_info("rticles")
─ Session info ────────────────────────────────────────────────────────
 setting  value                       
 version  R version 3.5.2 (2018-12-20)
 os       macOS Sierra 10.12.6        
 system   x86_64, darwin15.6.0        
 ui       RStudio                     
 language (EN)                        
 collate  en_US.UTF-8                 
 ctype    en_US.UTF-8                 
 tz       America/New_York            
 date     2019-03-13                  

─ Packages ────────────────────────────────────────────────────────────
 package   * version date       lib source                          
 base64enc   0.1-3   2015-07-28 [1] CRAN (R 3.5.0)                  
 digest      0.6.18  2018-10-10 [1] CRAN (R 3.5.0)                  
 evaluate    0.13    2019-02-12 [1] CRAN (R 3.5.2)                  
 glue        1.3.1   2019-03-12 [1] CRAN (R 3.5.2)                  
 highr       0.7     2018-06-09 [1] CRAN (R 3.5.0)                  
 htmltools   0.3.6   2017-04-28 [1] CRAN (R 3.5.0)                  
 jsonlite    1.6     2018-12-07 [1] CRAN (R 3.5.0)                  
 knitr       1.22    2019-03-08 [1] CRAN (R 3.5.2)                  
 magrittr    1.5     2014-11-22 [1] CRAN (R 3.5.0)                  
 markdown    0.9     2018-12-07 [1] CRAN (R 3.5.0)                  
 mime        0.6     2018-10-05 [1] CRAN (R 3.5.0)                  
 Rcpp        1.0.0   2018-11-07 [1] CRAN (R 3.5.0)                  
 rmarkdown   1.11    2018-12-08 [1] CRAN (R 3.5.0)                  
 rticles     1.0     2019-03-13 [1] Github (rstudio/rticles@1d56a5b)
 stringi     1.3.1   2019-02-13 [1] CRAN (R 3.5.2)                  
 stringr     1.4.0   2019-02-10 [1] CRAN (R 3.5.2)                  
 tinytex     0.10    2019-01-10 [1] CRAN (R 3.5.2)                  
 xfun        0.5     2019-02-20 [1] CRAN (R 3.5.2)                  
 yaml        2.2.0   2018-07-25 [1] CRAN (R 3.5.0)                  

[1] /Library/Frameworks/R.framework/Versions/3.5/Resources/library

Installing current rticles

remotes::install_github("rstudio/rticles", dependencies = FALSE)
Downloading GitHub repo rstudio/rticles@master
✔  checking for file ‘/private/var/folders/1s/wrtqcpxn685_zk570bnx9_rr0000gr/T/Rtmpm2iNHj/remotes10b935fda2ed2/rstudio-rticles-a6e8210/DESCRIPTION’ ...
─  preparing ‘rticles’:
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘rticles_0.6.1.tar.gz’
   
Loading required package: colorout
* installing *source* package ‘rticles’ ...
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Loading required package: colorout
* DONE (rticles)
Adding ‘rticles_0.6.1.tgz’ to the cache
system.file("rmarkdown", "templates", "frontiers_article", package = "rticles")
[1] ""
sessioninfo::session_info("rticles")
─ Session info ────────────────────────────────────────────────────────
 setting  value                       
 version  R version 3.5.2 (2018-12-20)
 os       macOS Sierra 10.12.6        
 system   x86_64, darwin15.6.0        
 ui       RStudio                     
 language (EN)                        
 collate  en_US.UTF-8                 
 ctype    en_US.UTF-8                 
 tz       America/New_York            
 date     2019-03-13                  

─ Packages ────────────────────────────────────────────────────────────
 package   * version date       lib source                          
 base64enc   0.1-3   2015-07-28 [1] CRAN (R 3.5.0)                  
 digest      0.6.18  2018-10-10 [1] CRAN (R 3.5.0)                  
 evaluate    0.13    2019-02-12 [1] CRAN (R 3.5.2)                  
 glue        1.3.1   2019-03-12 [1] CRAN (R 3.5.2)                  
 highr       0.7     2018-06-09 [1] CRAN (R 3.5.0)                  
 htmltools   0.3.6   2017-04-28 [1] CRAN (R 3.5.0)                  
 jsonlite    1.6     2018-12-07 [1] CRAN (R 3.5.0)                  
 knitr       1.22    2019-03-08 [1] CRAN (R 3.5.2)                  
 magrittr    1.5     2014-11-22 [1] CRAN (R 3.5.0)                  
 markdown    0.9     2018-12-07 [1] CRAN (R 3.5.0)                  
 mime        0.6     2018-10-05 [1] CRAN (R 3.5.0)                  
 Rcpp        1.0.0   2018-11-07 [1] CRAN (R 3.5.0)                  
 rmarkdown   1.11    2018-12-08 [1] CRAN (R 3.5.0)                  
 rticles     0.6.1   2019-03-13 [1] Github (rstudio/rticles@a6e8210)
 stringi     1.3.1   2019-02-13 [1] CRAN (R 3.5.2)                  
 stringr     1.4.0   2019-02-10 [1] CRAN (R 3.5.2)                  
 tinytex     0.10    2019-01-10 [1] CRAN (R 3.5.2)                  
 xfun        0.5     2019-02-20 [1] CRAN (R 3.5.2)                  
 yaml        2.2.0   2018-07-25 [1] CRAN (R 3.5.0)                  

[1] /Library/Frameworks/R.framework/Versions/3.5/Resources/library
@muschellij2
Copy link
Contributor Author

It looks like this was addressed in 34212a0#comments. Any chance of fixing for Windows @zkamvar?

@zkamvar
Copy link
Contributor

zkamvar commented Mar 14, 2019

It's been a while since it was removed. If I recall, it was removed because of missing LaTeX packages on Windows (this was before @yihui had blessed us with tinytex).

I don't have reliable access to Windows or very much time for re-implementing it, but if you want to give it a shot, you can fork this repo, create a new branch and resurrect the files with this incantation:

git checkout 6ecbe466cb6a098eca5edd2a5603515eb00da4d6 R/frontiers_article.R inst/rmarkdown/templates/frontiers_article/*

@yihui
Copy link
Member

yihui commented Mar 14, 2019

Thanks @zkamvar! And @muschellij2 please feel free to submit a PR by reverting 34212a0 if it still works (note that it was from three years ago, so it may need some inspection).

@yihui
Copy link
Member

yihui commented Mar 16, 2019

Done through ##211.

@yihui yihui closed this as completed Mar 16, 2019
@yihui yihui added this to the v0.7 milestone Mar 16, 2019
@github-actions
Copy link

github-actions bot commented Nov 2, 2020

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 2, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants