Skip to content
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
5 changes: 4 additions & 1 deletion Development/Create_the_Stringendo_Package.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ for (scriptX in ls.scripts.full.path) {
# Automated Codebase linting to tidyverse style ------------------------------------------------

PackageTools::document_and_create_package(repository.dir, config_file = 'config.R')
namespace.lines <- readLines(file.path(repository.dir, "NAMESPACE"))
stopifnot("NAMESPACE regeneration produced no exports (roxygen2::document() likely failed silently) - fix before committing" = any(grepl("^export", namespace.lines)))
'git add commit push to remote'


Expand Down Expand Up @@ -108,6 +110,7 @@ file.edit(paste0(repository.dir, "README.md"))


PackageTools::document_and_create_package(repository.dir, config_file = 'config.R')

namespace.lines <- readLines(file.path(repository.dir, "NAMESPACE"))
stopifnot("NAMESPACE regeneration produced no exports (roxygen2::document() likely failed silently) - fix before committing" = any(grepl("^export", namespace.lines)))


82 changes: 82 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,2 +1,84 @@
# Generated by roxygen2: do not edit by hand

export("%!in%")

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Repair generation before restoring NAMESPACE

Problem: This commit restores only the generated NAMESPACE; it does not fix the generation path that erased every export in b164f79. Trigger: The next run of PackageTools::document_and_create_package() in Development/Create_the_Stringendo_Package.R can overwrite these entries again, leaving all public Stringendo functions unavailable to dependent packages. Fix: Correct the upstream generation step, then regenerate and commit NAMESPACE from the roxygen annotations.

AGENTS.md reference: AGENTS.md:L34-L38

Useful? React with 👍 / 👎.

export(AddTrailingDotIfMissing)
export(AddTrailingSlashIfMissing)
export(FixPath)
export(FixPlotName)
export(FixUnderscores)
export(FormatAsExcelLink)
export(HasNames)
export(ParseDirPath)
export(ParseFullFilePath)
export(PasteDirNameFromFlags)
export(PasteOutdirFromFlags)
export(RemoveFinalDot)
export(RemoveFinalSlash)
export(RemoveFinalUnderscores)
export(RemoveInitialDot)
export(RemoveTrailingDots)
export(RemoveWhitespaces)
export(ReplaceRepeatedDots)
export(ReplaceRepeatedSlashes)
export(ReplaceRepeatedUnderscores)
export(ReplaceRepeatedWhitespaces)
export(ReplaceSpecialCharacters)
export(countDotOrUnderscoreSeparated)
export(eval_parse_kollapse)
export(extPDF)
export(extPNG)
export(fix_special_characters_bash)
export(flag.name_value)
export(flag.nameiftrue)
export(flag.names_list)
export(format_number_h)
export(idate)
export(ifExistsAndTrue)
export(ifExistsElse)
export(imessage)
export(iprint)
export(is.character.or.NULL)
export(is.numeric.or.logical)
export(kollapse)
export(kpipe)
export(kpnl)
export(kpp)
export(kppc)
export(kppd)
export(kpps)
export(kppu)
export(kppws)
export(kpwNames)
export(message2)
export(pad.na)
export(parFlags)
export(parFlags2)
export(param.list.2.fname)
export(param.list.flag)
export(parseParamStringWNames)
export(parsepvalue)
export(percentage_formatter)
export(percentile2value)
export(ppc)
export(ppcol)
export(ppd)
export(ppipe)
export(ppnl)
export(ppp)
export(pps)
export(ppu)
export(sppp)
export(spps)
export(sppu)
export(stopif)
export(substitute_deparse)
export(substrRight)
export(toCamelCase)
export(toDotSeparated)
export(toSentence)
export(toUnderscoreSeparated)
export(warnif)
export(warnifnot)
export(ww.break.lines)
importFrom(clipr,write_clip)
importFrom(dplyr,case_when)