Skip to content
Merged
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
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Package: SGPdata
Type: Package
Title: Exemplar Data Sets for Student Growth Percentiles (SGP) Analyses
Version: 28.0-0.0
Date: 2024-7-14
Version: 28.5-0.0
Date: 2024-12-3
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)
Imports: crayon, data.table (>= 1.14.0), toOrdinal
Description: Data sets utilized by the 'SGP' package as exemplars for users to conduct their own student growth percentiles (SGP) analyses.
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/
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
importFrom(crayon,bold,green,magenta,red,yellow)
importFrom(utils,packageVersion)
importFrom(toOrdinal,toOrdinal)
import(data.table)
22 changes: 16 additions & 6 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,20 @@
function(libname, pkgname) {
}

`.onAttach` <- function(libname, pkgname) {
if (interactive()) {
# Extract version information
version <- utils::packageVersion("SGPdata")

`.onAttach` <-
function(libname, pkgname) {
if (interactive()) {
packageStartupMessage(magenta$bold('SGPdata',paste(paste0(unlist(strsplit(as.character(packageVersion("SGPdata")), "[.]")), c(".", "-", ".", "")), collapse=""),' (7-14-2024). For help: >help("SGPdata") or visit https://centerforassessment.github.io/SGPdata'))
}
}
# Define a friendly startup message
message_text <- paste0(
magenta(bold("\uD83C\uDF89 SGPdata v", version)), " - ", toOrdinal::toOrdinalDate("2024-12-3"), "\n",
"\U1F4A1 Tip: ", magenta(bold("> help(\"SGPdata\")")), "\n",
"\U1F310 Docs: ", magenta(bold("https://centerforassessment.github.io/SGPdata")), "\n",
"\u2728 Happy SGPing!"
)

# Display the startup message
packageStartupMessage(message_text)
}
}
4 changes: 2 additions & 2 deletions inst/CITATION
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ bibentry(
person(given = c("Benjamin"), family = "Domingue")
),
year = "2024",
note = "R package version 28.0-0.0",
note = "R package version 28.5-0.0",
url = "https://centerforassessment.github.io/SGPdata/",
textVersion = paste(
"Damian W. Betebenner, Adam R. Van Iwaarden and Ben Domingue (2024).",
"SGPdata: Exemplar Data Sets for Student Growth Percentile (SGP) Analyses.",
"(R package version 28.0-0.0.",
"(R package version 28.5-0.0.",
"URL: https://centerforassessment.github.io/SGPdata/"
)
)
4 changes: 2 additions & 2 deletions man/SGPdata-package.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
\tabular{ll}{
Package: \tab SGPdata\cr
Type: \tab Package\cr
Version: \tab 28.0-0.0\cr
Date: \tab 2024-7-14\cr
Version: \tab 28.5-0.0\cr
Date: \tab 2024-12-3\cr
License: \tab GPL-3\cr
LazyLoad: \tab Yes\cr
LazyData: \tab Yes\cr
Expand Down
Loading