Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
^\.travis\.yml$
^docs$
^_pkgdown\.yml$
^README\.md$
^LICENSE.md
^\.appveyor\.yml$
^vignettes/releases$
^LICENSE\.md$
^\.github$
^vignettes/releases$
^ui$
^CITATION\.cff$
^data-raw$
^cran-comments\.md$
^\.lycheeignore$
^man/figures/favicon\.png$
45 changes: 0 additions & 45 deletions .appveyor.yml

This file was deleted.

39 changes: 8 additions & 31 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,60 +6,37 @@ on:

name: R-CMD-check

permissions: read-all

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}

- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- name: Install Homebrew
if: runner.os == 'macOS'
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

- name: Install XQUARTZ dependencies on MacOS
if: runner.os == 'macOS'
run: |
brew install --cask xquartz

- uses: actions/checkout@v3

- uses: actions/checkout@v7
- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

# Cache R packages to speed up builds
- name: Cache R packages
uses: actions/cache@v3
with:
path: ~/.cache/R
key: ${{ runner.os }}-r-${{ matrix.config.r }}-${{ hashFiles('**/DESCRIPTION') }}
restore-keys: ${{ runner.os }}-r-${{ matrix.config.r }}

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
upload-snapshots: true
build_args: 'c("--no-manual", "--compact-vignettes=gs+qpdf")'
66 changes: 66 additions & 0 deletions .github/workflows/quarto-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Publish site

on:
push:
branches: [master]
paths:
- "ui/www/**"
- "man/**"
- "vignettes/**"
- "NEWS.md"
- "DESCRIPTION"
- ".github/workflows/quarto-publish.yml"
pull_request:
paths:
- "ui/www/**"
- "man/**"
- "vignettes/**"
- "NEWS.md"
workflow_dispatch:

permissions:
contents: read

concurrency:
group: pages
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: quarto-dev/quarto-actions/setup@v2
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::yaml, any::knitr, any::rmarkdown, local::.
needs: website
- name: Check _quarto.yml
run: Rscript ui/www/tools/check-quarto-yml.R
- name: Render
run: quarto render ui/www
- name: Link check (internal)
uses: lycheeverse/lychee-action@v2
with:
args: --offline --no-progress --root-dir ${{ github.workspace }}/ui/www/_site 'ui/www/_site/**/*.html'
fail: true
- uses: actions/upload-pages-artifact@v5
with:
path: ui/www/_site

deploy:
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v5
17 changes: 17 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
type: software
title: "SGPdata: Exemplar Data Sets for Student Growth Percentiles (SGP) Analyses"
version: 29.0-0.0
date-released: 2026-10-31
license: GPL-3.0-only
url: "https://centerforassessment.github.io/SGPdata/"
repository-code: "https://github.com/CenterForAssessment/SGPdata"
authors:
- family-names: "Betebenner"
given-names: "Damian W."
orcid: "https://orcid.org/0000-0003-0476-5599"
- family-names: "Van Iwaarden"
given-names: "Adam R."
- family-names: "Domingue"
given-names: "Ben"
29 changes: 16 additions & 13 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
Package: SGPdata
Type: Package
Title: Exemplar Data Sets for Student Growth Percentiles (SGP) Analyses
Version: 28.9-3.0
Date: 2025-5-6
Authors@R: c(person(given=c("Damian", "W."), family="Betebenner", email="dbetebenner@nciea.org", role=c("aut", "cre")),
person(given=c("Adam", "R."), family="Van Iwaarden", email="avaniwaarden@nciea.com", role="aut"),
person(given="Ben", family="Domingue", email="ben.domingue@gmail.com", role="aut"))
Maintainer: Damian W. Betebenner <dbetebenner@nciea.org>
Depends: R (>= 4.0)
Suggests: SGP (>= 1.9-0.0), knitr, rmarkdown
Imports: crayon, data.table (>= 1.14.0), pkgsearch, toOrdinal
Description: Data sets utilized by the 'SGP' package as exemplars for users to conduct their own student growth percentiles (SGP) analyses.
Version: 29.0-0.0
Date: 2026-10-31
Authors@R: c(
person("Damian W.", "Betebenner", email = "dbetebenner@nciea.org", role = c("aut", "cre")),
person("Adam R.", "Van Iwaarden", email = "avaniwaarden@nciea.com", role = "aut"),
person("Ben", "Domingue", email = "ben.domingue@gmail.com", role = "aut"),
person("Center for Assessment", role = "cph"))
Depends: R (>= 4.1)
Imports: cli, data.table (>= 1.14.0), toOrdinal (>= 1.4-0.0), utils
Suggests: knitr, rmarkdown, testthat (>= 3.0.0), withr
Description: Data sets used by the 'SGP' package as exemplars for users to conduct their own student growth percentiles (SGP) analyses: wide and long format data sets for fixed-time and time-dependent analyses, a data set with the 2020 COVID-19 interruption, and an instructor-student lookup table for teacher level summaries.
URL: https://CenterForAssessment.github.io/SGPdata/, https://github.com/CenterForAssessment/SGPdata/, https://cran.r-project.org/package=SGPdata
BugReports: https://github.com/CenterForAssessment/SGPdata/issues/
VignetteBuilder: knitr
LazyLoad: Yes
LazyData: Yes
Encoding: UTF-8
Config/testthat/edition: 3
Roxygen: list(markdown = TRUE)
LazyData: true
LazyDataCompression: xz
License: GPL-3
Config/roxygen2/version: 8.1.0
5 changes: 2 additions & 3 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
importFrom(crayon,bold,cyan,green,magenta,red,yellow)
importFrom(utils,packageVersion)
importFrom(toOrdinal,toOrdinal)
# Generated by roxygen2: do not edit by hand

import(data.table)
10 changes: 10 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# SGPdata 29.0-0.0

* Updated the data sets to 2024_2025: `sgpData` (`GRADE_2021`-`GRADE_2025`, `SS_2021`-`SS_2025`), `sgpData_LONG` and `sgpData_INSTRUCTOR_NUMBER` (`YEAR` 2020_2021 to 2024_2025).
* Extended `sgptData_LONG` to nine year/window periods, 2022_2023.1 to 2024_2025.3.
* Added tests that pin every data set: its shape, its column names and classes, a per-column checksum and the agreement between the data and its documentation. `data-raw/fingerprint.R` refreshes the golden values after a deliberate data change.
* Documentation is generated with roxygen2 and now covers `sgpData_LONG_COVID` in the reference listing. A `sgptData_LONG` description that said "five years and two content areas" now describes its three years and several content areas.
* The startup banner appears only in interactive sessions, waits at most two seconds for each web request and can be switched off with `options(SGPdata.startup_message = FALSE)` or `SGPDATA_QUIET=true`. It no longer needs **pkgsearch**, and **cli** replaces **crayon**.
* A new website built with Quarto at <https://centerforassessment.github.io/SGPdata/>.
* Requires R 4.1 or later.

# SGPdata 28.0-0.0

* Updating YEAR to 2023_2024
Expand Down
7 changes: 7 additions & 0 deletions R/SGPdata-package.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#' @keywords internal
"_PACKAGE"

## usethis namespace: start
#' @import data.table
## usethis namespace: end
NULL
Loading
Loading