Skip to content

Commit

Permalink
Merge pull request #68 from FvD/T66
Browse files Browse the repository at this point in the history
Cambios para preparar publicacion en CRAN
  • Loading branch information
andreavargasmon authored Mar 3, 2021
2 parents cecbc9c + bf4fce8 commit e27f396
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 7 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: ixpantia.introR
Type: Package
Title: Aprenda R con ejercicios interactivos del curso introducción a R de ixpantia
Version: 0.0.2
Version: 0.0.3
Authors@R: c(
person(given = "ixpantia,
family = SRL",
Expand Down Expand Up @@ -41,6 +41,7 @@ Imports:
rsconnect,
ggplot2,
dplyr,
tibble,
tidyr,
mosaicData,
visdat,
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Generated by roxygen2: do not edit by hand

import(dplyr)
importFrom(utils,install.packages)
15 changes: 15 additions & 0 deletions R/ixpantia.introR.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#' \code{ixpantia.introR} package
#'
#' Aprenda R con ejercicios interactivos del curso introducción a R de ixpantia
#'
#' La documentación es parte de este paquete, por favor usar el eslabón `index`
#' que aparece aqui abajo.
#'
#' @docType package
#' @name ixpantia.introR
#' @importFrom utils install.packages
NULL

## Resuelve los avisos en R CMD Check sobre variables usadas en llamados NSE
utils::globalVariables(c(".", "available_tutorials", "install.packages",
"tutorial_package_dependencies", "name"))
7 changes: 3 additions & 4 deletions R/lista_tutoriales.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ NULL
#'}
practicar <- function(nombre_tutorial) {
tutoriales <- available_tutorials("ixpantia.introR") %>%
as_tibble()
tibble::as_tibble()

nombres <- tutoriales %>%
select(name) %>%
Expand All @@ -27,7 +27,7 @@ practicar <- function(nombre_tutorial) {
nombres <- tutoriales %>%
select(name) %>%
pull()
print("Nombre no válido. Elegir alguno de los siguientes:")
print("Nombre no v\xc3\xa1clido. Elegir alguno de los siguientes:")
nombres
}

Expand Down Expand Up @@ -77,8 +77,7 @@ listar_tutoriales <- function(tipo) {
#' uso de los tutoriales. Si en algún caso no sabemos cuál paquete nos falta,
#' esta función nos dará la lista de dependencias.
#'
#' @param tipo Es el tipo del tutorial que queremos listar. Puede ser `tarea` o
#' `pizarra`
#' @param instalar Indicar si quieres instalar las dependencias al revisar
#'
#' @examples
#'\dontrun{
Expand Down
1 change: 1 addition & 0 deletions ixpantia.introR.Rproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ StripTrailingWhitespace: Yes
BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageCheckArgs: --as-cran
13 changes: 13 additions & 0 deletions man/ixpantia.introR.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions man/revisar_dependencias.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e27f396

Please sign in to comment.