Skip to content

[Bug]: Development module sometimes doesn't update on Mac due to renv caching: Use renv::clean(), renv::init() #4095

@AlexanderLyNL

Description

@AlexanderLyNL

JASP Version

0.95.4

Commit ID

2c26ea3e0136a8a0f91d13e410dc8cd1ed044aec

JASP Module

Other

What analysis are you seeing the problem on?

development module

What OS are you seeing the problem on?

macOS Silicon

Bug Description

The development module doesn't update sometimes. Work around:

  • renv::clean()
  • renv::init()

Problem is that it then requires us to reinstall certain packages (e.g. jaspTools and jaspModuleTools). Alternatively, renv::settings$use.cache(FALSE) but this might be too extreme. renv::purge doesn't avoid this problem.

Expected Behaviour

I know how to get around the problem, but a script/function in, say, jaspModuleTools can help smoothen the development process. Perhaps Rens already fixed this, but I missed it.

Steps to Reproduce

  1. Use a mac
  2. Mess around with the development module
  3. Eventually get stuck

Log (if any)

No response

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

Labels

Bug: LowBugs that has little impact on the main functionality, and their fix can be easily postponed.DeveloperOS: macOS Silicon

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions