Skip to content

Commit

Permalink
0.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
AzuleneG committed Sep 18, 2024
1 parent 725e886 commit dbf5d27
Show file tree
Hide file tree
Showing 30 changed files with 107 additions and 24 deletions.
3 changes: 3 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
^README\.Rmd$
^\.github$
^codecov\.yml$
^cran-comments\.md$
^revdep$
^CRAN-SUBMISSION$
3 changes: 3 additions & 0 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Version: 0.3.4
Date: 2024-07-28 00:17:35 UTC
SHA: fe7b689d67185647ced81f0ffe43174c58b9867f
7 changes: 4 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
Package: SCFMonitor
Title: Clear monitor and graphing software processing Gaussian .log file
Version: 0.3.3.1000
Title: Clear Monitor and Graphing Software Processing Gaussian .log File
Version: 0.3.5
Authors@R:
person("Pengjun", "Guo", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0009-0007-2717-0519"))
Description: SCFMonitor enables Gaussian the quantum chemistry calculation software users to easily read the Gaussian .log files and monitor the SCF convergence and geometry optimization process with little effort and clear, beautiful and clean outputs. It can generate graphs using tidyverse to let users check SCF convergence and geometry optimization process real time. The software supports processing .log files remotely using with rbase::url(). This software is a suitcase for saving time and energy for the researchers, supporting multiple versions of Gaussian.
Description: Self-Consistent Field(SCF) calculation method is one of the most important steps in the calculation methods of quantum chemistry. Ehrenreich, H., & Cohen, M. H. (1959). <doi:10.1103/PhysRev.115.786> However, the most prevailing software in this area, 'Gaussian''s SCF convergence process is hard to monitor, especially while the job is still running, causing researchers difficulty in knowing whether the oscillation has started or not, wasting time and energy on useless configurations or abandoning the jobs that can actually work. M.J. Frisch, G.W. Trucks, H.B. Schlegel et al. (2016). <https://gaussian.com> 'SCFMonitor' enables 'Gaussian' quantum chemistry calculation software users to easily read the 'Gaussian' .log files and monitor the SCF convergence and geometry optimization process with little effort and clear, beautiful, and clean outputs. It can generate graphs using 'tidyverse' to let users check SCF convergence and geometry optimization processes in real-time. The software supports processing .log files remotely using with rbase::url(). This software is a suitcase for saving time and energy for the researchers, supporting multiple versions of 'Gaussian'.
Maintainer: Pengjun Guo <[email protected]>
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
Expand Down
8 changes: 6 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SCFMonitor (development version)
# SCFMonitor 0.3.5

* Initial CRAN submission.
This is a resubmission. In this version I have:

* Changed the documentation of the functions in which return value is not in presence.

* Add citation in the DESCRIPTION.
2 changes: 1 addition & 1 deletion R/DirectingOptiRounds.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#' This function is a internal function that directs the optimization round of a SCF convergence round. This helps SCFMonitor devide the SCF rounds to different sections that each refers to an optimization cycle.
#' @param Pending A integer refering to the row of the directed SCF convergence cycle is in.
#' @param index A tibble including all the row number
#' @return A integer directing the Optimization round of that SCF convergence round is in.
#' @returns A integer directing the Optimization round of that SCF convergence round is in.
#' @export
#' @examples
#' library(tibble)
Expand Down
2 changes: 1 addition & 1 deletion R/FormOptiSCFConvergenceRoundTibble.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#'
#' This function outputs a tibble showing each the number of SCF rounds applied in each optimization cycle and outputs it as a tibble.
#' @param directory A string vector describing the directory of the Gaussian log file.
#' @return A tibble countain two columns, describing each optimization rounds and the number of SCF rounds it undergoes until convergence.
#' @returns A tibble countain two columns, describing each optimization rounds and the number of SCF rounds it undergoes until convergence.
#' @importFrom readr read_file
#' @importFrom stringr str_split str_detect str_trim
#' @importFrom tidyselect starts_with
Expand Down
1 change: 1 addition & 0 deletions R/MultipleRoundOptiSCFIntegratedMonitor.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#' This function reads a log file automatically and shows the SCF convergence process of it by generating line plots
#' @param directory A string vector describing the directory of the Gaussian log file.
#' @param top_rounds A numeric vector deciding which SCF convergence process will be shown in the diagram. etc. input 5 for the newest 5 rounds of optimization. Enter -1 for showing all the processes.
#' @returns No return value, called for side effects
#' @export
#' @examples
#'
Expand Down
1 change: 1 addition & 0 deletions R/MultipleRoundOptiSCFplotting.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#' @param SCFconver A numeric vector showing the SCF convergence requirement read from the gaussian .log file.
#' @param BOT A numeric vector describing the starting optimization round for plotting
#' @param TOP A numeric vector describing the ending optimization round for plotting
#' @returns No return value, called for side effects
#' @importFrom tidyr pivot_longer
#' @importFrom dplyr mutate filter
#' @importFrom stringr str_replace
Expand Down
1 change: 1 addition & 0 deletions R/OptiConvergenceMonitor.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#'
#' This function reads a log file automatically and shows the optimization convergence process of it by generating line plots
#' @param directory A string vector describing the directory of the Gaussian log file.
#' @returns No return value, called for side effects
#' @importFrom readr read_file
#' @importFrom stringr str_split str_detect str_trim str_replace str_sub
#' @importFrom tidyselect starts_with
Expand Down
1 change: 1 addition & 0 deletions R/OptiSCFConvergenceRoundMonitor.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#'
#' This function reads a log file automatically and generate a plot showing the steps it takes to reach SCF convergence for each optimization process.
#' @param directory A string vector describing the directory of the Gaussian log file.
#' @returns No return value, called for side effects
#' @importFrom ggplot2 ggplot aes geom_line geom_smooth theme_minimal
#' @export
#' @examples
Expand Down
2 changes: 1 addition & 1 deletion R/OptiSCFMonitorAsList.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#'
#' This function reads a Gaussian .log file and outputs a list of tibbles, each of which is the SCF Data of a optimization step.
#' @param directory A string vector describing the directory of the Gaussian log file.
#' @return A list of lists. First lists is a list of tibble, each element in the list refers to a tibble recording the SCF Data of a optimization step. The second list only have one element that is a numeric vector refering to the SCF convergence requirement read from log file.
#' @returns A list of lists. First lists is a list of tibble, each element in the list refers to a tibble recording the SCF Data of a optimization step. The second list only have one element that is a numeric vector refering to the SCF convergence requirement read from log file.
#' @importFrom readr read_file
#' @importFrom stringr str_split str_detect str_trim str_replace str_extract
#' @importFrom tidyselect starts_with
Expand Down
2 changes: 1 addition & 1 deletion R/OptiSCFMonitorAsWholeTibble.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#'
#' This function outputs a tibble containing the data of each rounds of SCF calculation labeled with the optimization round it's in (if it's a optimization job, otherwise it will be only 1)
#' @param directory A string vector describing the directory of the Gaussian log file.
#' @return A list containing two elements. The first one is a tibble containing the SCF data of every rounds labeled with the optimization steps they are in. The second element is a numeric vector that refers to the SCF convergence standard.
#' @returns A list containing two elements. The first one is a tibble containing the SCF data of every rounds labeled with the optimization steps they are in. The second element is a numeric vector that refers to the SCF convergence standard.
#' @importFrom readr read_file
#' @importFrom stringr str_split str_detect str_extract str_replace str_trim
#' @importFrom utils head
Expand Down
2 changes: 1 addition & 1 deletion R/SCFMonitorExample.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' Acquire Path to SCFMonitor Example data
#'
#' Makes the TestData.log, a log file generated by Gaussian 16 for testing the package, easy to access.
#' @return A string vector showing the path to
#' @returns A string vector showing the path to
#' @export
#' @examples
#' FormOptiSCFConvergenceRoundTibble(SCFMonitorExample())
Expand Down
1 change: 1 addition & 0 deletions R/SingleRoundOptiSCFIntegratedMonitor.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#' This function reads a log file automatically and shows the SCF convergence process of a single round of optimization by generating line plots
#' @param directory A string vector describing the directory of the Gaussian log file.
#' @param optiround A numeric vector deciding which SCF convergence process will be shown in the diagram. etc. input 5 for the 5th round of optimization. If it's not an optimization job than enter 1 for acquiring the only one.
#' @returns No return value, called for side effects
#' @export
#' @examples
#'
Expand Down
1 change: 1 addition & 0 deletions R/SingleSCFplotting.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#' An internal function plots the generated single-round SCF convergence tibble
#' @param SCFData The tibble generated by SingleRoundOptiSCFIntegratedMonitor() describing the SCF convergence process for single round of optimization(or other Gaussian job types).
#' @param SCFconver A numeric vector showing the SCF convergence requirement read from the gaussian .log file.
#' @returns No return value, called for side effects
#' @importFrom tidyr pivot_longer
#' @importFrom dplyr mutate
#' @importFrom stringr str_replace
Expand Down
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ SCF monitor works for the `.log` files of the jobs that is still under calculati
You can install the development version of SCFMonitor from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("AzuleneG/SCFMonitor")
install.packages("SCFMonitor")
library(SCFMonitor)
```

## Function and Example
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ You can install the development version of SCFMonitor from
[GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("AzuleneG/SCFMonitor")
install.packages("SCFMonitor")
library(SCFMonitor)
```

## Function and Example
Expand Down
5 changes: 5 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## R CMD check results

0 errors | 0 warnings | 0 note

* This is a new release.
4 changes: 2 additions & 2 deletions man/DirectingOptiRounds.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions man/MultipleRoundOptiSCFIntegratedMonitor.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions man/MultipleRoundOptiSCFplotting.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/OptiConvergenceMonitor.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/OptiSCFConvergenceRoundMonitor.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion man/SingleRoundOptiSCFIntegratedMonitor.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion man/SingleSCFplotting.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions revdep/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
checks
library
checks.noindex
library.noindex
cloud.noindex
data.sqlite
*.html
25 changes: 25 additions & 0 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Platform

|field |value |
|:--------|:----------------------------------------|
|version |R version 4.4.1 (2024-06-14) |
|os |macOS Sonoma 14.2.1 |
|system |aarch64, darwin20 |
|ui |RStudio |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |America/Los_Angeles |
|date |2024-07-27 |
|rstudio |2024.04.2+764 Chocolate Cosmos (desktop) |
|pandoc |NA |

# Dependencies

|package |old |new |Δ |
|:----------|:---|:----------|:--|
|SCFMonitor |NA |0.3.3.1000 |* |
|colorspace |NA |2.1-1 |* |

# Revdeps

7 changes: 7 additions & 0 deletions revdep/cran.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## revdepcheck results

We checked 0 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages

1 change: 1 addition & 0 deletions revdep/failures.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*Wow, no problems at all. :)*
1 change: 1 addition & 0 deletions revdep/problems.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*Wow, no problems at all. :)*

0 comments on commit dbf5d27

Please sign in to comment.