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

Couple of bug fixes and minor improvements #183

Merged
merged 12 commits into from
Nov 28, 2023
Merged

Conversation

arni-magnusson
Copy link
Contributor

@arni-magnusson arni-magnusson commented Nov 19, 2023

Hi! I've been using SPiCT for the last couple of days and made a few small changes to it along the way. In chronological order:

  • 96b589b - Reading the get.par help page, I noticed the 'Value' section looked like it was missing columns 2), 3), and 4). It turned out to be percent signs that needed to be escaped. Fixed the same in a few other help pages.

  • 1de4e59 - Then I started reading the vignettes and found that the spict_handbook.Rmd wouldn't compile. This also prevented a plain 'R CMD check' to complete. The error was related to a bug in make.man.inp that is now fixed.

  • ccfca90 - While waiting for 'R CMD check' to finish, I made a small improvement in the fit.spict help page, using \enumerate to format the numbered list. Likewise, one could use \describe instead of \itemize for the description lists, but that's a layout decision that I wasn't ready to make :)

  • d089780 - The next error in the spict_handbook.Rmd was related to a bug in add.manlines that is now fixed. R 4.2 introduced a strict rule that if-conditions must be of length one. The vignette errors were affecting all user analyses that resemble those in the vignette, so I've documented the fixes in the NEWS file.

  • a9e8560 - Now that 'R CMD check' was working, I resolved a low-hanging warning about an unused require(pscl) call inside plot.priors.

  • 626058a - An error when running the package examples was related to man.select which is now fixed.

  • 7e136fb - Resolved a warning about a missing \description field in the package help page.

  • 058f130 - Fixed a warning about undocumented function arguments.

  • 9341eff - Finally, fixed a few minor typos.

This pull request brings 'R CMD check' from 3 errors + 6 warnings down to 0 errors + 3 warnings. The remaining ones do not seem very important.

@alko989
Copy link
Member

alko989 commented Nov 28, 2023

Hey @arni-magnusson,

really appreciate all these bug fixes and improvements.

We have been working on the dev branch that has some extra features. I will change the PR to point to the dev branch. I hope it will not have too many conflicts, or easy to deal with.

@alko989 alko989 changed the base branch from master to dev November 28, 2023 11:52
@alko989 alko989 merged commit 9eb1e75 into DTUAqua:dev Nov 28, 2023
alko989 added a commit that referenced this pull request Dec 8, 2023

---------

Co-authored-by: Tobias Mildenberger <t.k.mildenberger@gmail.com>
Co-authored-by: Alexandros Kokkalis <alko@aqua.dtu.dk>
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.

3 participants