knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
Este pacote armazena as tarefas de alguns cursos da Curso-R.
Para instalar o pacote, execute o código abaixo:
# install.packages("remotes") remotes::install_github("curso-r/CursoRTarefas")
Após a instalação, é possível acessar as tarefas através do painel Tutorial
na IDE RStudio, escolhendo o tutorial e clicando em Start Tutorial
(o tutorial será aberto no RStudio):
knitr::include_graphics("man/figures/README-printscreen.png")
Outra forma de acessar as tarefas é utilizando a seguinte função (o tutorial será aberto no navegador):
learnr::run_tutorial("intro-programacao_1-introducao", # id do tutorial package = "CursoRTarefas")
library(magrittr, include.only = "%>%") list.files(path = "inst/tutorials/") %>% tibble::as_tibble() %>% tidyr::separate(value, into = c("curso", "tarefa"), "_", remove = FALSE) %>% dplyr::rename("id_tutorial" = value) %>% knitr::kable()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.