Skip to content

Commit

Permalink
add cran badge
Browse files Browse the repository at this point in the history
  • Loading branch information
joshyam-k committed Feb 13, 2024
1 parent cb47d25 commit b9a1f85
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 13 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ sandbox
^\.github$
^figs$
^cran-comments\.md$
^CRAN-SUBMISSION$
1 change: 1 addition & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ knitr::opts_chunk$set(

<!-- badges: start -->
[![R-CMD-check](https://github.com/harvard-ufds/saeczi/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/harvard-ufds/saeczi/actions/workflows/R-CMD-check.yaml)
[![CRAN status](https://www.r-pkg.org/badges/version/saeczi)](https://CRAN.R-project.org/package=saeczi)
<!-- badges: end -->

## Overview
Expand Down
21 changes: 8 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

<!-- badges: start -->
[![R-CMD-check](https://github.com/harvard-ufds/saeczi/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/harvard-ufds/saeczi/actions/workflows/R-CMD-check.yaml)
[![CRAN
status](https://www.r-pkg.org/badges/version/saeczi)](https://CRAN.R-project.org/package=saeczi)
<!-- badges: end -->

## Overview
Expand Down Expand Up @@ -70,13 +72,6 @@ result <- saeczi(samp_dat = samp,
mse_est = TRUE,
B = 500,
parallel = FALSE)
#> ================================================================================
#> • Fitting Models...
#> • Beginning Bootstrap...
#> - Fitting to Bootstrap samples ✓
#> - Estimating MSE ✓
#> • Compiling Results...
#> ================================================================================
```

The function returns the original call, a data frame containing the
Expand All @@ -96,12 +91,12 @@ few rows of the results:
``` r
result$res |> head()
#> domain mse est
#> 1 41001 173.58940 14.85495
#> 2 41003 42.43279 97.74967
#> 3 41005 581.01815 86.02207
#> 4 41007 35.98329 76.24752
#> 5 41009 222.58951 70.28624
#> 6 41011 213.38928 87.65072
#> 1 41001 327.73882 14.85495
#> 2 41003 107.30485 97.74967
#> 3 41005 268.87257 86.02207
#> 4 41007 146.77866 76.24752
#> 5 41009 19.43486 70.28624
#> 6 41011 90.38764 87.65072
```

This output format allows for easy results plotting
Expand Down
26 changes: 26 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
## Resubmission:

This fills out the description with references and more info and adds full documentation for the main exported function as requested.

The package has once again been tested on the following systems

* macos-latest (release)
* windows-latest (devel)
* ubuntu-latest (devel)
* ububtu-latest (release)
* ubuntu-latest (oldrel-1)

and received

0 errors | 0 warnings | 0 notes

The package was also tested on

* windows-latest (release)

and received

0 errors | 0 warnings | 1 note

where the note had to do with a possibly invalid DOI although I have checked the DOI multiple times and it is valid and does correspond to the paper I am citing.

## R CMD check results

The package has been tested on the following systems
Expand Down

0 comments on commit b9a1f85

Please sign in to comment.