data-edu / dataedu Goto Github PK
View Code? Open in Web Editor NEWAn R package associated with the Data Science in Education Using R book
Home Page: https://data-edu.github.io/dataedu/
License: Creative Commons Attribution 4.0 International
An R package associated with the Data Science in Education Using R book
Home Page: https://data-edu.github.io/dataedu/
License: Creative Commons Attribution 4.0 International
Related: r-lib/pkgdown#1206 (comment)
Used devtools::install_github("data-edu/dataedu")
and got this error:
Error in select(s12_course_data, ) : could not find function "select"
Error: unable to load R code in package ‘dataedu’
Execution halted
I'm guessing library(tidyverse)
needs to appear in a script somewhere, but not sure where.
Walkthrough 2: There's no folder gradebooks
in 'data' nor anywhere else. Hence, there are not files with grades.
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.
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
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)
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?
Starting from the latest Travis build #35, there are several remaining items to address in R CMD check
:
\end{description}
, possibly because @description
is meant to be the second paragraph of each documentation block. Lines:
\hbox
'. Lines:
wt05_aggdat_merged_dat
on L8386tt_tweets
on L8394Code 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.
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.
I want to test that the font for the ggplot theme font loaded properly. Would appreciate any suggestions :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.