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

Update unit tests to expect dense current domain #768

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/deps/data-deps.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script src="deps/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<script src="deps/jquery-3.6.1/jquery-3.6.1.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<link href="deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet" />
<script src="deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script>
Expand Down
8 changes: 0 additions & 8 deletions docs/pkgdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,3 @@ async function searchFuse(query, callback) {
});
});
})(window.jQuery || window.$)

document.addEventListener('keydown', function(event) {
Copy link
Member

Choose a reason for hiding this comment

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

Was this intended to be removed or leftover local changes?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sorry, just saw this post-merge

I ran devtools::document(); this was fully automated.

// Check if the pressed key is '/'
if (event.key === '/') {
event.preventDefault(); // Prevent any default action associated with the '/' key
document.getElementById('search-input').focus(); // Set focus to the search input
}
});
6 changes: 3 additions & 3 deletions docs/pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
pandoc: 3.1.12.3
pkgdown: 2.1.1
pandoc: '0'
pkgdown: 2.1.0
pkgdown_sha: ~
articles:
data-ingestion-from-sql: data-ingestion-from-sql.html
documentation: documentation.html
installation-options: installation-options.html
introduction: introduction.html
tiledb-mariadb-examples: tiledb-mariadb-examples.html
last_built: 2024-10-02T22:48Z
last_built: 2024-10-03T15:05Z
urls:
reference: https://tiledb-inc.github.io/TileDB-R/reference
article: https://tiledb-inc.github.io/TileDB-R/articles
7 changes: 5 additions & 2 deletions inst/tinytest/test_arrayschema.R
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,10 @@ expect_true(allows_dups(sch))
if (tiledb_version(TRUE) < "2.26.0") exit_file("Needs TileDB 2.26.* or later")
expect_error(tiledb_array_schema_get_current_domain(dom)) # wrong object
expect_silent(cd <- tiledb_array_schema_get_current_domain(sch))
expect_silent(tiledb_array_schema_set_current_domain(sch, cd))

dsch <- tiledb_array_schema(dom, attrs = attr, sparse = FALSE)
expect_error(tiledb_array_schema_set_current_domain(dsch, cd)) # not for dense
if (tiledb_version(TRUE) < "2.27.0") {
expect_error(tiledb_array_schema_set_current_domain(dsch, cd))
} else {
expect_no_condition(tiledb_array_schema_set_current_domain(dsch, cd))
}
Loading