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

Export zoo method for model_parameters generic #804

Merged
merged 5 commits into from
Oct 18, 2022
Merged

Export zoo method for model_parameters generic #804

merged 5 commits into from
Oct 18, 2022

Conversation

jimrothstein
Copy link
Contributor

@jimrothstein jimrothstein commented Oct 17, 2022

Part of #746

Copy link
Member

@IndrajeetPatil IndrajeetPatil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jimrothstein Thanks!

This looks good, overall. Can you rebase with the main branch and see why there are changes to .Rd files? That is not expected.

Feel free to make these changes here, or open a new PR.

@jimrothstein
Copy link
Contributor Author

jimrothstein commented Oct 18, 2022

Got the latest version (git pull upstream main) and then added TWO LINES:
`#' @export

model_parameters.zoo <- model_parameters.default`

Look any better?

@IndrajeetPatil
Copy link
Member

Yes, but there is still the issue of changes to the .Rd files. Can you re-document and see what happens?

@jimrothstein
Copy link
Contributor Author

On my local machine, I get 28 warnings when I document(). Need to install all the easystats packages, I think. And model_parameters.zoo does NOT get documented.

Sorry, not as easy as I first thought.

@IndrajeetPatil
Copy link
Member

Sorry for the troubles.

Try running:

install.packages("easystats")
easystats::install_latest()

Refresh your R session and then try again to re-document.

@jimrothstein
Copy link
Contributor Author

jimrothstein commented Oct 18, 2022

Doing it now ...

16 warnings .... looks like need to manually install more packages.

more dependencies ... could take some time. I am US west coast time (Oregon) and getting late. Will finish later.

also needs some Ubuntu packages ... I'll get there.

@jimrothstein
Copy link
Contributor Author

jimrothstein commented Oct 18, 2022

Have all packages .... document() .... no warnings. Also ?model_parameters.zoo has no help. Not sure about *.Rd files

More tomorrow.

@IndrajeetPatil IndrajeetPatil changed the title TEST ... added @export to method for model_parameters.zoo #746 Export zoo method for model_parameters generic Oct 18, 2022
@IndrajeetPatil IndrajeetPatil marked this pull request as ready for review October 18, 2022 09:17
@IndrajeetPatil
Copy link
Member

Looks good now. I will merge this once the builds pass.

Copy link
Member

@IndrajeetPatil IndrajeetPatil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @jimrothstein! :)

Feel free to work more extensively on #746 in a new PR. You know the deal now. ;)

@IndrajeetPatil IndrajeetPatil merged commit 3f83989 into easystats:main Oct 18, 2022
@jimrothstein
Copy link
Contributor Author

Will do ! Later today.

@jimrothstein jimrothstein deleted the jim branch October 19, 2022 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants