diff --git a/misc/Makefile b/misc/Makefile index b28d7c4302c7c..e23b87985a757 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 0000000000000..503c1ec43743f --- /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 diff --git a/misc/R-cran-optimx/distinfo b/misc/R-cran-optimx/distinfo new file mode 100644 index 0000000000000..5880d1000d3dc --- /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 0000000000000..af6ab20aecf5b --- /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.