Skip to content

[Bug]: Error when exporting RSM Design to csv. #3028

@Val-w-96

Description

@Val-w-96

JASP Version

0.19.1

Commit ID

No response

JASP Module

Quality Control

What analysis are you seeing the problem on?

Response Surface Model

What OS are you seeing the problem on?

Windows 11

Bug Description

When trying to export the csv. data from the experimental design it shows the following Report and does'nt export, hope you can fix it.

Error in NextMethod('['): 'NextMethod' called from an anonymous function

Stack trace
utils::write.csv(x = out_design, file = options[['exportDesignFile']], row.names = FALSE, quote = FALSE)

eval.parent(Call)

eval(expr, p)

eval(expr, p)

utils::write.table(x = out_design, file = options[['exportDesignFile']], row.names = FALSE, quote = FALSE, col.names = TRUE, sep = ',', dec = '.', qmethod = 'double')

lapply(x[needconv], as.character)

x[needconv]

[.coded.data(x, needconv)

get('[.data.frame')(x, ...)

NextMethod('[')

Expected Behaviour

I hoped for an experimented design plan with alle the data that is shown in the results window exported as an csv. that has every value its own cell

Steps to Reproduce

1.create any response surface design plan
2.select the folder and name of the file
3.click export design
...

Log (if any)

Error in NextMethod('['): 'NextMethod' called from an anonymous function

Stack trace
utils::write.csv(x = out_design, file = options[['exportDesignFile']], row.names = FALSE, quote = FALSE)

eval.parent(Call)

eval(expr, p)

eval(expr, p)

utils::write.table(x = out_design, file = options[['exportDesignFile']], row.names = FALSE, quote = FALSE, col.names = TRUE, sep = ',', dec = '.', qmethod = 'double')

lapply(x[needconv], as.character)

x[needconv]

[.coded.data(x, needconv)

get('[.data.frame')(x, ...)

NextMethod('[')

image

More Debug Information

No response

Final Checklist

  • I have included a screenshot showcasing the issue, if possible.
  • I have included a JASP file (zipped) or data file that causes the crash/bug, if applicable.
  • I have accurately described the bug, and steps to reproduce it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions