Skip to content

Commit

Permalink
updating using other packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghozayel committed Oct 2, 2022
1 parent ebad9a2 commit db9ceda
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Depends:
tidyverse
VignetteBuilder: knitr
Imports:
dplyr,
here,
readr,
tibble
Config/testthat/edition: 3
3 changes: 1 addition & 2 deletions data-raw/DATASET.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
## code to prepare `DATASET` dataset goes here
library(tidyverse)

lextaledata <- read.csv(here::here('data-raw', 'lextaledata.csv')) # Read in csv file
lextaledata <- readr::read_csv(here::here('data-raw', 'lextaledata.csv')) # Read in csv file
lextaledata$answer <- sample(c(0,1), replace = TRUE, 2400) #generate new variable of binary random answers
is.numeric(lextaledata$answer)
usethis::use_data(lextaledata, overwrite = TRUE)
Binary file modified data/lextaledata.rda
Binary file not shown.

0 comments on commit db9ceda

Please sign in to comment.