ficonsulting / ficonsulting/RInno

Please update get_R.R code to work with R versions 4 and above

Aberta
#151 0 comentários 10 reações 0 responsáveis Ver no GitHub
Linguagem predominante
HTML
Estrelas
313
Forks
66
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

The following two lines in get_R.R code should be updated to prevent errors while creating apps of versions >=4:

latest_R_version <- readLines("https://cran.rstudio.com/bin/windows/base/", warn = F) %>%
stringr::str_extract("[1-3]\\.[0-9]+\\.[0-9]+") %>% stats::na.omit() %>% unique()

old_R_versions <- readLines("https://cran.rstudio.com/bin/windows/base/old/", warn = F) %>%
stringr::str_extract("[1-3]\\.[0-9]+\\.[0-9]+") %>% stats::na.omit()

Lines 2 and 4 should be replaced with [1-4] to apply for versions 4 and above that will be released in the future. Else, the Create_app function will throw an error

Check the code below for example:

![image](https://user-images.githubusercontent.com/13266121/80420078-35fedd80-88a8-11ea-9c5b-154ba617a892.png)

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.