-
Notifications
You must be signed in to change notification settings - Fork 5
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
Midterm project #13
Comments
Hi @chipmanj and @gvegayon , |
@hyejung0, what CRAN doesn't allow is to run |
I have something funky going on with mclapply function. Please refer to "create_lmer_fits.Rms" vignette file. Starting at line 70, When I apply boots.lmer function to just one bootstrap data set (the 100th bootstrap data out of 5000), I don't get any error. But when I apply boots.lmer to the first 100 bootstrap samples, I get error. The error says: 'Warning in parallel::mclapply(boots.samples.list, function(boots.dat) { : all scheduled cores encountered errors in user code'. Could you please look into it? Thank you! "UofUEpiBio/PHS7045-advanced-programming#13"
Hi all, Here is a tip for better debugging. If you ever find yourself not knowing what's going on, for example, within a thread in a call to
If res <- tryCatch({
...code that probably breaks...
}, error = function(e) e)
# Checking if the code failed
if (inherits(res, "error"))
stop("OK, there's an error in ...") Hope it helps! |
@Daniel-K-Addo, of those files, you only want to share |
@gvegayon Thank you. I have another question. How could the tar.gz file be made available on GitHub since it is not included it in the main project folder? Looking for suggestions or best practice recommendations. |
…n using data("DATASET", package = "Modana"). Is there anything I am missing? UofUEpiBio/PHS7045-advanced-programming#13 @gvegayon @chipmanj
If you want to distribute a built version of your R package, the best way is through releases. Each release generates a tag (labeled snapshot) of your project, and you can include whatever files you want, for example, binaries for windows and osx. |
UofUEpiBio/PHS7045-advanced-programming#13 An updated version of the package can be found here https://github.com/KPDuBose/partyGames
The version I presented in the class today. UofUEpiBio/PHS7045-advanced-programming#13
Hey @UofUEpiBio/phs7045-2023, I've started a few pull requests [PR] to comment on your R packages. Take a look at the Pull requests tab in your repo. If you don't see any PR, be patient, I'll try to get there today. |
@gvegayon |
Did you pull the changes? Before pushing, you should always pull changes.
George G. Vega Yon, Ph.D.
+1 (626) 381 8171
https://ggvy.cl
Pronouns
<https://www.aclunc.org/article/frequently-asked-questions-whats-pronoun>:
he/him/él
…On Wed, Mar 29, 2023 at 11:22 AM Hyejung Lee ***@***.***> wrote:
@gvegayon <https://github.com/gvegayon>
I can't even push my stuff to Github anymore. I think it has to do with
some pull request you sent that I merged before. That was the error
message. I have question about my code because now I'm getting some error
messages with regards to number of cores for running parallel. Can I
possibly meet up with you in person to discuss about these two matters?
—
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG2FMYIZ46G26T5R4Z2K5LW6RVVRANCNFSM6AAAAAAVKYI4DE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
…y to run the example code that's provided for boots.lmer funciton, especially this line below: lmer.out<-boots.lmer(y="Y", X=c("X1","X2","X3"), dat=example.dat, boots.samples.list = output) I get the following error: Warning message: In parallel::mclapply(boots.samples.list, function(boots.dat) { : all scheduled cores encountered errors in user code But if you check my boots.lmer function, I set the number of cores to 2 so that it can pass CRAN check and all that so I'm not sure why I'm getting this error. Any suggestions? UofUEpiBio/PHS7045-advanced-programming#13
The midterm continues in issue #15 instead. |
@UofUEpiBio/phs7045-2023
The midterm project is online and can be found here.
More details are on the posted assignment, but in general your task is to: Develop an R package that solves a problem. This could be from your own research or you may get approval to do a related but modified example from (posted projects).
Today we'll talk through the midterm requirements, and this week through next Tuesday you'll have time in class to work on the project. It will be due next Thursday (March 9th).
Please think ahead of class today of what problem your R package will solve. This way you can use your time productively to start working on the package.
The text was updated successfully, but these errors were encountered: