Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neiss download path in basic-case-study.Rmd broken #605

Open
blechturm opened this issue Feb 13, 2023 · 2 comments
Open

neiss download path in basic-case-study.Rmd broken #605

blechturm opened this issue Feb 13, 2023 · 2 comments

Comments

@blechturm
Copy link

Hi,

the download path to the neiss data is broken. This hack works:

download <- function(name) { url <- "https://raw.githubusercontent.com/hadley/mastering-shiny/5d398fd655775cbcf278dadf46bfc78af2a0cb11/neiss/" download.file(paste0(url, name), paste0("./neiss/", name), quiet = TRUE) }

Best
Max

@albertme0308
Copy link

Simplier:
download <- function(name) {
url <- "https://raw.githubusercontent.com/hadley/mastering-shiny/main/neiss/"
download.file(paste0(url, name), paste0("neiss/", name), quiet = TRUE)
}

@PedroMassaro
Copy link

I was having trouble with this thread, but with your code, everything is correct now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants