Skip to content

atime_pkg gains tests.R.path arg#41

Merged
tdhock merged 5 commits intomainfrom
config-test-file
Apr 12, 2024
Merged

atime_pkg gains tests.R.path arg#41
tdhock merged 5 commits intomainfrom
config-test-file

Conversation

@tdhock
Copy link
Owner

@tdhock tdhock commented Apr 12, 2024

requested so that data.table can put tests R code file under .ci dir, Rdatatable/data.table#6078

R/versions.R Outdated
}

atime_pkg <- function(pkg.path="."){
atime_pkg <- function(pkg.path=".", tests.R.path=file.path("inst", "atime", "tests.R"))){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

even tests.dir would be enough, it could be nice to require ${dir}/atime/tests.R for consistency.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok I updated, is that what you meant?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, looks great.

@tdhock tdhock merged commit 200f184 into main Apr 12, 2024
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

Successfully merging this pull request may close these issues.

2 participants