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

fixed preprocessing scripts #712 #97

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

thibaud-porphyre
Copy link
Contributor

Some of the preprocessing script were not working due to various bugs. this pull request is solving some of the issues in #712.

@kzscisoft
Copy link
Contributor

kzscisoft commented Sep 17, 2020

@thibaud-porphyre this still does not work for me I get the exact same error! Also do we need .Rhistory in the branch?

$ Rscript eeraModel_data_preprocessing.r

Error: Assigned data `values` must be compatible with existing data.
ℹ Error occurred for column `Ayrshire and Arran`.
✖ Can't convert <double> to <character>.
Backtrace:

  1. ├─global::extend_epi_records(...)
  2. │ └─`%>%`(...)
  3. │   ├─base::withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
  4. │   └─base::eval(quote(`_fseq`(`_lhs`)), env, env)
  5. │     └─base::eval(quote(`_fseq`(`_lhs`)), env, env)
  6. │       └─`_fseq`(`_lhs`)
  7. │         └─magrittr::freduce(value, `_function_list`)
  8. │           ├─base::withVisible(function_list[[k]](value))
  9. │           └─function_list[[k]](value)
 10. │             └─base::replace(., is.na(.), -999)
 11. │               ├─base::`[<-`(`*tmp*`, list, value = -999)
 12. │               └─tibble:::`[<
Execution halted

@kzscisoft kzscisoft self-requested a review September 17, 2020 10:04
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

Successfully merging this pull request may close these issues.

2 participants