Skip to content

Commit 28f0239

Browse files
committed
Version bump
1 parent 1e46773 commit 28f0239

6 files changed

Lines changed: 13 additions & 14 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: pnd
22
Type: Package
33
Title: Parallel Numerical Derivatives, Gradients, Jacobians, and Hessians of Arbitrary Accuracy Order
4-
Version: 0.1.0
4+
Version: 0.1.1
55
Authors@R: person(given = c("Andreï", "Victorovitch"), family = "Kostyrka",
66
role = c("aut", "cre"), email="andrei.kostyrka@gmail.com")
77
Maintainer: Andreï Victorovitch Kostyrka <andrei.kostyrka@gmail.com>

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- DEV: Check the compatibility between the function and its documentation
1919
- DEV: Check the release with `todor::todor_package()`, `lintr::lint_package()`, `R CMD check --as-cran`, and `goodpractice::gp(checks = all_checks()[!grepl("^lintr", all_checks())])`
2020

21-
# pnd 0.1.1 (2025-07-XX)
21+
# pnd 0.1.1 (2025-09-04)
2222
- Fix: added a simpler and more reliable fall-back option for `step.M`
2323
- Feature: added plotting methods for `step...` functions
2424
- Feature: added arbitrary derivation and accuracy order to Curtis--Reid method

R/gradient.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ checkDimensions <- function(FUN, x, f0 = NULL, func = NULL,
102102
l <- length(f0)
103103

104104
# The element-wise mapping by definition is having equal lengths of input and output
105-
# TODO: This is NOT guaranteed, however, to guess correctly:
105+
# This is NOT guaranteed, however, to guess correctly:
106106
# f(x) := c(sum(x), prod(x), sd(x)) evaluated at x = 1:3 would SEEM vectorised; more checks needed
107107

108108
# 5 valid cases remain after ruling out such things as parallelised + multivalued
@@ -529,7 +529,6 @@ GenD <- function(FUN, x, elementwise = NA, vectorised = NA, multivalued = NA,
529529
attr(jac, "step.size") <- h
530530
if (autostep) {
531531
attr(jac, "step.size.method") <- hmethod
532-
# TODO: use in printing
533532
attr(jac, "step.search") <- h.auto
534533
} else if (all(h == h.default)) {
535534
attr(jac, "step.size.method") <- "default"

R/methods.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#' # Printing whilst preserving names
99
#' x <- structure(1:3, names = c("Andy", "Bradley", "Ca"))
1010
#' print(Grad(function(x) prod(sin(x)), 1)) # 1D derivative
11-
#' print(Grad(function(x) prod(sin(x)), x))
11+
#' print(Grad(function(x) prod(sin(x)), x, h = "CR"))
1212
#' print(Jacobian(function(x) c(prod(sin(x)), sum(exp(x))), x))
1313
print.GenD <- function(x, digits = 4, shave.spaces = TRUE,
1414
begin = "", sep = " ", end = "", ...) {

R/zzz.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#' @importFrom Rdpack reprompt
22

33
.onAttach <- function(libname, pkgname) {
4-
packageStartupMessage("Parallel numerical derivatives v.0.1.0 (2025-05-20).")
4+
packageStartupMessage("Parallel numerical derivatives v.0.1.1 (2025-05-20).")
55

66
# The number of cores is auto-detected based on the OS
77
os <- Sys.info()[["sysname"]]

inst/CITATION

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ bibentry(
55
title = "pnd: Parallel Numerical Derivatives, Gradients, {J}acobians, and {H}essians of Arbitrary Accuracy Order",
66
author = person(given=c("Andreï", "Victorovitch"), family="Kostyrka", role = c("aut", "cre"), email = "andrei.kostyrka@gmail.com"),
77
year = "2025",
8-
note = "R package version 0.1.0",
8+
note = "R package version 0.1.1",
99
organization = "University of Luxembourg",
10-
textVersion = "Kostyrka, Andreï V. (2025). pnd: Parallel Numerical Derivatives, Gradients, Jacobians, and Hessians of Arbitrary Accuracy Order. R package version 0.1.0. https://CRAN.R-project.org/package=pnd",
10+
textVersion = "Kostyrka, Andreï V. (2025). pnd: Parallel Numerical Derivatives, Gradients, Jacobians, and Hessians of Arbitrary Accuracy Order. R package version 0.1.1. https://CRAN.R-project.org/package=pnd",
1111
url = "https://CRAN.R-project.org/package=pnd"
1212
)
1313

@@ -17,8 +17,8 @@ bibentry(
1717
author = person(given=c("Andreï", "Victorovitch"), family="Kostyrka", role = c("aut", "cre"), email = "andrei.kostyrka@gmail.com"),
1818
year = "2025",
1919
organization = "University of Luxembourg",
20-
note = "Vignette for the R package pnd 0.1.0.",
21-
textVersion = "Kostyrka, Andreï V. (2025). Fast and accurate parallel numerical derivatives in R. Vignette for the R package pnd 0.1.0.",
20+
note = "Vignette for the R package pnd 0.1.1.",
21+
textVersion = "Kostyrka, Andreï V. (2025). Fast and accurate parallel numerical derivatives in R. Vignette for the R package pnd 0.1.1.",
2222
url = "https://github.com/Fifis/pnd/tree/main/vignettes"
2323
)
2424

@@ -28,8 +28,8 @@ bibentry(
2828
author = person(given=c("Andreï", "Victorovitch"), family="Kostyrka", role = c("aut", "cre"), email = "andrei.kostyrka@gmail.com"),
2929
year = "2025",
3030
organization = "University of Luxembourg",
31-
note = "Vignette for the R package pnd 0.1.0.",
32-
textVersion = "Kostyrka, Andreï V. (2025). Step-size-selection algorithm benchmark. Vignette for the R package pnd 0.1.0.",
31+
note = "Vignette for the R package pnd 0.1.1.",
32+
textVersion = "Kostyrka, Andreï V. (2025). Step-size-selection algorithm benchmark. Vignette for the R package pnd 0.1.1.",
3333
url = "https://github.com/Fifis/pnd/tree/main/vignettes"
3434
)
3535

@@ -39,7 +39,7 @@ bibentry(
3939
author = person(given=c("Andreï", "Victorovitch"), family="Kostyrka", role = c("aut", "cre"), email = "andrei.kostyrka@gmail.com"),
4040
year = "2025",
4141
organization = "University of Luxembourg",
42-
note = "Vignette for the R package pnd 0.1.0.",
43-
textVersion = "Kostyrka, Andreï V. (2025). Compatilibility of pnd with the syntax of numDeriv. Vignette for the R package pnd 0.1.0.",
42+
note = "Vignette for the R package pnd 0.1.1.",
43+
textVersion = "Kostyrka, Andreï V. (2025). Compatilibility of pnd with the syntax of numDeriv. Vignette for the R package pnd 0.1.1.",
4444
url = "https://github.com/Fifis/pnd/tree/main/vignettes"
4545
)

0 commit comments

Comments
 (0)