statist7 / LMSgrowth2

MIT License
2 stars 2 forks source link

statistics for multiple measurements from upload #20

Closed tamuri closed 5 years ago

statist7 commented 5 years ago

Hi Asif,

Sorry for the slow response – I’ve been away.

Now I find I don’t know how to install it to test it. Sorry for my ignorance, but please can you advise?

Thanks, Tim

tamuri commented 5 years ago

I believe you've already set up the project and had it running in RStudio (following the README instructions).

After opening the project in RStudio, use the Git tab in the top-right panel to switch to the multimeasure branch. It should pull the updates from Github (otherwise you can do the same by clicking the Pull button).

Type packrat::restore() to update the package dependencies (if any).

Then you can use the Build tab in the top-right panel to "Install and Restart" the Rsession with the LMSgrowth2 package. You should see some output in the console:

Restarting R session...

> library(LMSgrowth2)
> 

Now you can run the app on the branch by typing launchApp() in the console.

statist7 commented 5 years ago

Thanks Asif.

I’ve downloaded it again, just to be sure. And running packrat demonstrated a gfortran headers problem which I’ve fixed. So I can run the master branch of LMSgrowth2.

But I’ve lost the Git tab in Rstudio, which is odd. Do you have any idea how I can get it back? If I try to set version control to Git it wants to create a new repo, which clearly isn’t helpful.

Best wishes, Tim

tamuri commented 5 years ago

I think the Git tab should automatically show if you're pointing the project to the cloned Git repo. Not sure why it should disappear.

I'm going to merge this PR. If you're still having problems, you could try setting up the dev environment again following instructions in the README.

statist7 commented 5 years ago

Right – I’ve finally worked out how to clone the repo. But testthat fails:

test-functions.R:5: failure: get_height_sds ok lms_stats$z not equal to 0. Attributes: < Modes: list, NULL > Attributes: < Lengths: 1, 0 > Attributes: < names for target but not for current > Attributes: < current is not list-like >

Not sure how to report this via Git…

Best wishes, Tim

tamuri commented 5 years ago

Thanks, I will fix that. The Shiny app should still run.