Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2024 09:19:34 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d00de7d461aa - main - misc/R-cran-optimx: New port: Expanded Replacement and Extension of the 'optim' Function
Message-ID:  <202403290919.42T9JYEp068490@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d00de7d461aaab638759b2126f1b8dd8bde1dcf2

commit d00de7d461aaab638759b2126f1b8dd8bde1dcf2
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-29 09:13:26 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-29 09:19:12 +0000

    misc/R-cran-optimx: New port: Expanded Replacement and Extension of the 'optim' Function
    
    Provides a replacement and extension of the optim() function to call to
    several function minimization codes in R in a single statement. These
    methods handle smooth, possibly box constrained functions of several or
    many parameters.
    
    WWW: https://cran.r-project.org/web/packages/optimx/
---
 misc/Makefile                |  1 +
 misc/R-cran-optimx/Makefile  | 20 ++++++++++++++++++++
 misc/R-cran-optimx/distinfo  |  3 +++
 misc/R-cran-optimx/pkg-descr |  4 ++++
 4 files changed, 28 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index b28d7c4302c7..e23b87985a75 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -1,6 +1,7 @@
     COMMENT = Miscellaneous utilities
 
     SUBDIR += R-cran-mime
+    SUBDIR += R-cran-optimx
     SUBDIR += R-cran-xfun
     SUBDIR += aclgen
     SUBDIR += actiona
diff --git a/misc/R-cran-optimx/Makefile b/misc/R-cran-optimx/Makefile
new file mode 100644
index 000000000000..503c1ec43743
--- /dev/null
+++ b/misc/R-cran-optimx/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	optimx
+DISTVERSION=	2023-10.21
+CATEGORIES=	misc
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	eduardo@FreeBSD.org
+COMMENT=	Expanded Replacement and Extension of the 'optim' Function
+WWW=		https://cran.r-project.org/web/packages/optimx/
+
+LICENSE=	GPLv2
+
+CRAN_DEPENDS=	R-cran-nloptr>0:math/R-cran-nloptr \
+		R-cran-numDeriv>0:math/R-cran-numDeriv \
+		R-cran-pracma>0:math/R-cran-pracma
+BUILD_DEPENDS=	${CRAN_DEPENDS}
+RUN_DEPENDS=	${CRAN_DEPENDS}
+
+USES=		cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/misc/R-cran-optimx/distinfo b/misc/R-cran-optimx/distinfo
new file mode 100644
index 000000000000..5880d1000d3d
--- /dev/null
+++ b/misc/R-cran-optimx/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1711701172
+SHA256 (optimx_2023-10.21.tar.gz) = 0d732d5604c26af59cfb95b80ed4e226c9c10422e2d82a6cc06b92f9ba6a44b5
+SIZE (optimx_2023-10.21.tar.gz) = 3735842
diff --git a/misc/R-cran-optimx/pkg-descr b/misc/R-cran-optimx/pkg-descr
new file mode 100644
index 000000000000..af6ab20aecf5
--- /dev/null
+++ b/misc/R-cran-optimx/pkg-descr
@@ -0,0 +1,4 @@
+Provides a replacement and extension of the optim() function to call to
+several function minimization codes in R in a single statement. These
+methods handle smooth, possibly box constrained functions of several or
+many parameters.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403290919.42T9JYEp068490>