Skip to content

Commit

Permalink
whole example as dontrun
Browse files Browse the repository at this point in the history
  • Loading branch information
Enchufa2 committed Jan 15, 2024
1 parent 6249f30 commit 45ca38d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/constraints.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#' # Check that class of the constrained nn is "nn2poly"
#' class(nn_constrained)[1]
#' }
#' }
#'
#' if (requireNamespace("luz", quietly=TRUE)) {
#' # ---- Example with a luz/torch network ----
Expand All @@ -61,6 +60,7 @@
#' # Check that class of the constrained nn is "nn2poly"
#' class(nn)[1]
#' }
#' }
#'
#' @export
add_constraints <- function(object, type = c("l1_norm", "l2_norm"), ...) {
Expand Down
2 changes: 1 addition & 1 deletion man/add_constraints.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 45ca38d

Please sign in to comment.