Skip to content

[Bug]: Cannot amend config to use maxIndexCount #1521

@Slartibartfass2

Description

@Slartibartfass2

What happened?

When one tries to amend the current config by passing an object for pointerTracking to set the maxIndexCount an exception is thrown because deepMergeObject can't handle union types.

} else if(typeof base !== 'object' || typeof addon !== 'object') {

This happens because the default config has pointerTracking set to true, and now deepMergeObject can't merge a boolean with an object.

What version of R do you have installed?

No response

What version of flowR did you use?

v2.2.12 (Mar 17, 2025)

Related input code

Relevant log output

Meta Information

  • The Issue is Urgent
  • I Used the Dockerized Version of flowr

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions