Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As dev, I can transform an existing project into a mariobox #12

Open
1 task
statnmap opened this issue Jan 17, 2023 · 0 comments
Open
1 task

As dev, I can transform an existing project into a mariobox #12

statnmap opened this issue Jan 17, 2023 · 0 comments

Comments

@statnmap
Copy link
Member

statnmap commented Jan 17, 2023

Validation

  • Transforming an existing empty project detects the name of the project and use it as the name of the package instead of . as specified in mariobox::create_mariobox(path = ".")

Problem

  • Create a new RStudio project with the interface

  • Run mariobox::create_mariobox(path = ".")

  • devtools::check() and run_dev.R fail because

    • "DESCRIPTION" writes Package: .,
    • and "testthat.R" contains library(.), and test_check(".")
    • and there is generate_api <- function(... system.file(..., package = "."))
  • Maybe look at what happens if the project is not empty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant