Giter Club home page Giter Club logo

dataedu's Issues

Add the textdata package?

Should we add textdata package to the list of packages install with the mass installation function? It is used in chapter 11 of the DSIEUR book.

Installation throws an error if you don't have `simstudy` already installed

When I used devtools::install_github("data-edu/dataedu") I got this error:

Error in library(simstudy) : there is no package called ‘simstudy’
Error: unable to load R code in package ‘dataedu’
Execution halted

I installed simstudy and that seemed to fix the problem. Is there a way we can require simstudy when installing the package?

errors on sample codes

Code on page 50 for roster does not execute and sample codes on page 57 either. Error suggest group_by is not applicable to character var District Name. Frustrating when learning R. I thought you people have tested the sample codes. The whole idea of the book seems very practical.

error in instalation using ... devtools::install_github("data-edu/dataedu")

Please briefly describe your problem and what output you expect. If you have a question, please don't use this form. Instead, ask on https://stackoverflow.com/ or https://community.rstudio.com/.

Please include a minimal reproducible example (AKA a reprex). If you've never heard of a reprex before, start by reading https://www.tidyverse.org/help/#reprex.

Brief description of the problem

> devtools::install_github("data-edu/dataedu")
Downloading GitHub repo data-edu/dataedu@master
sh: 1: /bin/gtar: not found
sh: 1: /bin/gtar: not found
Error: Failed to install 'dataedu' from GitHub:
  error in running command
In addition: Warning messages:
1: In system(cmd) : error in running command
2: In utils::untar(tarfile, ...) :/bin/gtar -xf '/tmp/RtmpCrd0sR/file33f81e7ec26a.tar.gz' -C '/tmp/RtmpCrd0sR/remotes33f8291625ea'returned error code 127

please solve this

Gill Sans not loading on Macs

Referencing post: data-edu/data-science-in-education#519

Gill Sans MT is a font that is bundled only on some Macs, and {extrafont} doesn't necessarily load it unless it's already on the user's computer. To be able to use theme_dataedu(), some Mac users have to download Gill Sans MT, use extrafont::font_import(), then loadfonts(). Not sure if this is also the case with Windows users.

Need to decide how to fix this in the package, either by directing users to download the font, throwing an informative warning if the font is not installed on their computers and letting users render the plot with the default font, or changing Gill Sans to a font that doesn't have these issues.

folder with grades missing

Walkthrough 2: There's no folder gradebooks in 'data' nor anywhere else. Hence, there are not files with grades.

R CMD check issues

Starting from the latest Travis build #35, there are several remaining items to address in R CMD check:

  • Warning: Several LaTeX errors with .Rd files ending in \end{description}, possibly because @description is meant to be the second paragraph of each documentation block. Lines:
  • Warning: Several LaTeX errors for 'Overfull \hbox'. Lines:
  • Error: Error in texi2dvi, unable to run ‘pdflatex’ on ‘Rd2.tex’
    • L7319 says ‘Error in running tools::texi2pdf(). Since L699 doesn’t list {tools} as an attached base package and it’s not listed on L825 as one of the 94 installed packages, we might need to add {tools} to .travis.yml.
  • Warning: Non-standard license specification, CCBY-4.0
  • Note: No visible global function definitions for several functions from L8360 to L8375
  • Note: Undefined global functions or variables from L8376 to L8378
  • Warning: Missing documentation entry for wt05_aggdat_merged_dat on L8386
  • Warning: Code/documentation mismatch for tt_tweets on L8394
  • Warning: ‘processed’ and ‘raw’ folders in the ‘data’ directory
    • Travis suggests moving these to ‘inst/extdata’

minor - add date to DESCRIPTION?

just noticed this warning when generating citaitons for the packages used in the book:

knitr::write_bib(c("bookdown", "tidyverse", "dplyr", "tidyr", 
                 "ggplot2", "sjPlot", "lme4", "ggraph", "tidygraph", 
                 "caret", "readxl", "here", "lubridate", "dummies",
                 "janitor", "dataedu", "tidyverse", dataedu:::all_packages), "packages.bib")
#> Warning in citation(pkg, auto = if (pkg == "base") NULL else TRUE): no date
#> field in DESCRIPTION file of package 'dataedu'

Created on 2020-03-01 by the reprex package (v0.3.0)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.