Skip to content

Commit 4dc269a

Browse files
authored
Merge pull request #129 from symengine/fix/cran-issue-2025-03
fix: cran issue 2025 03
2 parents 40bab49 + 6c22371 commit 4dc269a

13 files changed

Lines changed: 176 additions & 479 deletions

File tree

DESCRIPTION

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: symengine
22
Title: Interface to the 'SymEngine' Library
3-
Version: 0.2.6
3+
Version: 0.2.10
44
Authors@R: c(person("Jialin", "Ma", email="marlin@inventati.org", role = c("cre", "aut")),
55
person("Isuru", "Fernando", email="isuruf@gmail.com", role = c("aut")),
66
person("Xin", "Chen", email="xinchen.tju@gmail.com", role = c("aut")))
@@ -17,7 +17,6 @@ Imports:
1717
Suggests:
1818
crayon,
1919
pracma,
20-
odeintr,
2120
testthat (>= 2.1.0),
2221
knitr,
2322
rmarkdown
@@ -35,20 +34,18 @@ Encoding: UTF-8
3534
LazyData: true
3635
URL: https://github.com/symengine/symengine.R
3736
BugReports: https://github.com/symengine/symengine.R/issues
38-
Additional_repositories: https://Marlin-Na.github.io/drat
3937
License: GPL (>= 2)
4038
Copyright: The R package bundles the 'SymEngine' library source and its subcomponents
4139
under 'src/upstream' directory. See file COPYRIGHTS for retained copyright notices
4240
as a relicensing and redistribution requirement.
43-
RoxygenNote: 7.2.3
41+
RoxygenNote: 7.3.2
4442
Collate:
4543
'RcppExports.R'
4644
'basic-getinfo.R'
4745
'classes.R'
4846
'basic.R'
4947
'codegen.R'
5048
'double_visitor.R'
51-
'dxdt.R'
5249
'function_symbol.R'
5350
'knitr.R'
5451
'lambdify.R'

NAMESPACE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# Generated by roxygen2: do not edit by hand
22

3+
S3method("[",symArray)
4+
S3method(as.data.frame,symArray)
35
S3method(as.function,BasicOrVecBasic)
46
S3method(as.matrix,DenseMatrix)
57
S3method(cbind,SymEngineDataType)
8+
S3method(print,symArray)
69
S3method(rbind,SymEngineDataType)
710
S3method(rep,Basic)
811
S3method(rep,VecBasic)
@@ -15,7 +18,6 @@ export(FunctionSymbol)
1518
export(GCD)
1619
export(LCM)
1720
export(Matrix)
18-
export(ODESystem)
1921
export(Real)
2022
export(S)
2123
export(Symbol)
@@ -24,7 +26,6 @@ export(Vector)
2426
export(as.language)
2527
export(codegen)
2628
export(dirichlet_eta)
27-
export(dxdt)
2829
export(erf)
2930
export(erfc)
3031
export(evalf)
@@ -57,7 +58,6 @@ exportMethods(choose)
5758
exportMethods(det)
5859
exportMethods(digamma)
5960
exportMethods(factorial)
60-
exportMethods(predict)
6161
exportMethods(psigamma)
6262
exportMethods(solve)
6363
exportMethods(t)

R/dxdt.R

Lines changed: 0 additions & 216 deletions
This file was deleted.

R/symbolic_array.R

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ symArray <- function(...) {
1010
ans
1111
}
1212

13+
#' @export
1314
print.symArray <- function(x, ...) {
1415
## TODO: to improve this...
1516
## maybe we need to define method for format instead?
@@ -21,6 +22,7 @@ print.symArray <- function(x, ...) {
2122

2223
## Preserve class attributes for these functions
2324

25+
#' @export
2426
`[.symArray` <- function(x,...) {
2527
ans <- NextMethod("[")
2628
class(ans) <- class(x)
@@ -29,5 +31,8 @@ print.symArray <- function(x, ...) {
2931

3032

3133
## So that it can be used in data frame
32-
as.data.frame.symArray <- as.data.frame.vector
34+
#' @export
35+
as.data.frame.symArray <- function(...) {
36+
as.data.frame.vector(...)
37+
}
3338

R/symengine.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,9 @@
6969
#' - `lambertw`, `zeta`, `dirichlet_eta`, `erf`, `erfc`
7070
#' - `atan2`, `kronecker_delta`, `lowergamma`, `uppergamma`, `psigamma`, `beta`
7171
#'
72-
#' @docType package
7372
#' @name symengine
7473
#' @md
75-
NULL
74+
"_PACKAGE"
7675

7776
#' @import methods
7877
#' @importFrom Rcpp cppFunction

0 commit comments

Comments
 (0)