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
6 changes: 3 additions & 3 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 1.0.0
Date: 2023-08-08 19:54:15 UTC
SHA: 679de6193027b5834b975dc7f3e5be111356333a
Version: 1.0.1
Date: 2026-02-01 21:20:18 UTC
SHA: 6a291b2f02d41dd3ed2b92e06c65ad761c8f8621
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: randomizr
Title: Easy-to-Use Tools for Common Forms of Random Assignment and Sampling
Version: 1.0.0
Version: 1.0.1
Authors@R: c(person("Alexander", "Coppock", email = "acoppock@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-5733-2386")),
person("Jasper", "Cooper", email = "jaspercooper@gmail.com", role = c("ctb"), comment = c(ORCID = "0000-0002-8639-3188")),
person("Neal", "Fultz", email = "nfultz@gmail.com", role = c("ctb"), comment = "C version of restricted partitions"),
Expand All @@ -20,4 +20,4 @@ Suggests:
testthat,
rmarkdown
VignetteBuilder: knitr
RoxygenNote: 7.2.3
RoxygenNote: 7.3.3
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# randomizr 1.0.1

* CRAN compliance

# randomizr 1.0.0

* Documentation fix
Expand Down
4 changes: 2 additions & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Submission
## Submission Version: 1.0.1

Small patch
Small patch: SETLENGTH -> lengthgets to come into CRAN compliance

## Test environments
* local OS X install (release)
Expand Down
21 changes: 21 additions & 0 deletions man/randomizr.Rd

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

4 changes: 1 addition & 3 deletions src/restrictedparts.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ SEXP randomizr_restrictedparts(SEXP n, SEXP m) {
REPROTECT(succ = successor(succ), ipx_succ);
}

//no reason to reallocate here
//out = lengthgets(out, jj);
SETLENGTH(out, jj);
out = lengthgets(out, jj);

UNPROTECT(2);

Expand Down
Loading