ohdsi-studies / PioneerWatchfulWaiting

This study is part of the joint PIONEER - EHDEN - OHDSI studyathon in March 2021, and aims to advance understanding of clinical management and outcomes of watchful waiting in prostate cancer.
Apache License 2.0
7 stars 18 forks source link

Error in km_raw %>% dplyr::mutate(timeToEvent = as.integer(as.Date(eventDate) - : could not find function "%>%" #13

Closed scossin closed 3 years ago

scossin commented 3 years ago

The error happens when running the "runStudy" function. Adding library(dplyr) beforing running the function solved the issue for us.

keesvanbochove commented 3 years ago

By adding dplyr and magrittr to the package dependencies, this should be fixed now.